![]() |
DUNE: Uniform Navigational Environment
2.3.2
|
Public Member Functions | |
virtual | ~Interface (void) |
void | open (bool query=true) |
bool | poll (double timeout) |
void | write (const uint8_t *data, unsigned data_size) |
unsigned | read (uint8_t *data, unsigned data_size) |
void | flush (void) |
FirmwareInfo | getFirmwareInfo (void) |
void | resetDevice (void) |
bool | sendFrame (Frame &frame, double timeout=1.0) |
void | setBootStop (bool value) |
Frame * | pop (void) |
unsigned | consume (void) |
Protected Member Functions | |
virtual void | doOpen (void)=0 |
virtual bool | doPoll (double timeout)=0 |
virtual void | doWrite (const uint8_t *data, unsigned data_size)=0 |
virtual unsigned | doRead (uint8_t *data, unsigned data_size)=0 |
virtual void | doFlush (void)=0 |
|
virtual |
|
inline |
References DUNE::Hardware::UCTK::Parser::parse(), and read().
|
protectedpure virtual |
Referenced by flush().
|
protectedpure virtual |
Referenced by open().
|
protectedpure virtual |
Referenced by poll().
|
protectedpure virtual |
Referenced by read().
|
protectedpure virtual |
Referenced by write().
|
inline |
References doFlush().
FirmwareInfo DUNE::Hardware::UCTK::Interface::getFirmwareInfo | ( | void | ) |
void DUNE::Hardware::UCTK::Interface::open | ( | bool | query = true | ) |
References doOpen(), and getFirmwareInfo().
|
inline |
References doPoll().
|
inline |
|
inline |
void DUNE::Hardware::UCTK::Interface::resetDevice | ( | void | ) |
bool DUNE::Hardware::UCTK::Interface::sendFrame | ( | Frame & | frame, |
double | timeout = 1.0 |
||
) |
void DUNE::Hardware::UCTK::Interface::setBootStop | ( | bool | value | ) |
|
inline |
References doWrite().
Referenced by sendFrame().