|
| SerialPort (const Object *parent, std::string name) |
| Constructor. More...
|
|
| ~SerialPort () |
| Destructor. More...
|
|
virtual void | SetBaudrate (int baudrate)=0 |
| Set baudrate. More...
|
|
virtual void | SetRxTimeout (Time timeout_ns)=0 |
| Set RX timeout. More...
|
|
virtual ssize_t | Write (const void *buf, size_t nbyte)=0 |
| Write datas. More...
|
|
virtual ssize_t | Read (void *buf, size_t nbyte)=0 |
| Read datas. More...
|
|
virtual void | FlushInput (void)=0 |
| Flush input datas. More...
|
|
| Object (const Object *parent=NULL, std::string name="", std::string type="") |
| Constructor. More...
|
|
virtual | ~Object () |
| Destructor. More...
|
|
std::string | ObjectName (void) const |
| Name. More...
|
|
std::string | ObjectType (void) const |
| Type. More...
|
|
const Object * | Parent (void) const |
| Parent. More...
|
|
std::vector< const Object * > * | TypeChilds (void) const |
| Childs of the same type. More...
|
|
std::vector< const Object * > * | Childs (void) const |
| Childs. More...
|
|
void | Information (const char *function, int line, const char *format,...) const |
| Formatted information. More...
|
|
void | Warning (const char *function, const char *format,...) const |
| Formatted warning. More...
|
|
void | Error (const char *function, const char *format,...) const |
| Formatted error. More...
|
|
bool | ErrorOccured (bool recursive=true) const |
| Has an errror occured? More...
|
|
Base class for serial port.