Public Member Functions | |
Buffer (const size_t sz) | |
void | clean () |
bool | read (uint8_t *b, const size_t len) |
void | read (const canopen::ObjectDict::Entry &entry, String &data) |
void | write (const uint8_t *b, const size_t len) |
void | write (const canopen::ObjectDict::Entry &, const String &data) |
Public Attributes | |
const size_t | size |
Private Attributes | |
std::vector< char > | buffer |
bool | dirty |
bool | empty |
boost::mutex | mutex |
canopen::PDOMapper::Buffer::Buffer | ( | const size_t | sz | ) | [inline] |
void canopen::PDOMapper::Buffer::clean | ( | ) | [inline] |
bool PDOMapper::Buffer::read | ( | uint8_t * | b, |
const size_t | len | ||
) |
void PDOMapper::Buffer::read | ( | const canopen::ObjectDict::Entry & | entry, |
String & | data | ||
) |
void PDOMapper::Buffer::write | ( | const uint8_t * | b, |
const size_t | len | ||
) |
void PDOMapper::Buffer::write | ( | const canopen::ObjectDict::Entry & | entry, |
const String & | data | ||
) |
std::vector<char> canopen::PDOMapper::Buffer::buffer [private] |
bool canopen::PDOMapper::Buffer::dirty [private] |
bool canopen::PDOMapper::Buffer::empty [private] |
boost::mutex canopen::PDOMapper::Buffer::mutex [private] |
const size_t canopen::PDOMapper::Buffer::size |