INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
logreaderport.h 11 * This work is a product of the National Institute of Advanced Industrial Science and Technology,
16 * flexiport is free software: you can redistribute it and/or modify it under the terms of the GNU
void Drain() Drain the port's input and output buffers. Definition: logreaderport.cpp:250 FlexiPort data communications library. void SetCanWrite(bool canWrite) Set the write permissions of the port. Definition: logreaderport.cpp:284 void Flush() Flush the port's input and output buffers, discarding all data. Definition: logreaderport.cpp:242 Exception thrown by the Port class and its derivatives. Definition: flexiport.h:55 void SetCanRead(bool canRead) Set the read permissions of the port. Definition: logreaderport.cpp:279 ssize_t BytesAvailable() Get the number of bytes waiting to be read at the port. Returns immediatly. Definition: logreaderport.cpp:169 ssize_t ReadFull(void *const buffer, size_t count) Read the requested quantity of data from the port. Definition: logreaderport.cpp:117 ssize_t Read(void *const buffer, size_t count) Read from the port. Definition: logreaderport.cpp:99 void SetTimeout(Timeout timeout) Set the timeout value in milliseconds. Definition: logreaderport.cpp:274 ssize_t Write(const void *const buffer, size_t count) Write data to the port. Definition: logreaderport.cpp:198 bool IsOpen() const Check if the port is open. Definition: logreaderport.cpp:289 std::string GetStatus() const Get the status of the port (type, device, etc). Definition: logreaderport.cpp:261 ssize_t BytesAvailableWait() Get the number of bytes waiting after blocking for the timeout. Definition: logreaderport.cpp:182 |