Public Member Functions | Public Attributes | Private Attributes | List of all members
canopen::PDOMapper::Buffer Class Reference

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
 

Detailed Description

Definition at line 69 of file canopen.h.

Constructor & Destructor Documentation

canopen::PDOMapper::Buffer::Buffer ( const size_t  sz)
inline

Definition at line 77 of file canopen.h.

Member Function Documentation

void canopen::PDOMapper::Buffer::clean ( )
inline

Definition at line 75 of file canopen.h.

bool PDOMapper::Buffer::read ( uint8_t *  b,
const size_t  len 
)

Definition at line 334 of file pdo.cpp.

void PDOMapper::Buffer::read ( const canopen::ObjectDict::Entry entry,
String data 
)

Definition at line 355 of file pdo.cpp.

void PDOMapper::Buffer::write ( const uint8_t *  b,
const size_t  len 
)

Definition at line 346 of file pdo.cpp.

void PDOMapper::Buffer::write ( const canopen::ObjectDict::Entry entry,
const String data 
)

Definition at line 369 of file pdo.cpp.

Member Data Documentation

std::vector<char> canopen::PDOMapper::Buffer::buffer
private

Definition at line 83 of file canopen.h.

bool canopen::PDOMapper::Buffer::dirty
private

Definition at line 81 of file canopen.h.

bool canopen::PDOMapper::Buffer::empty
private

Definition at line 82 of file canopen.h.

boost::mutex canopen::PDOMapper::Buffer::mutex
private

Definition at line 80 of file canopen.h.

const size_t canopen::PDOMapper::Buffer::size

Definition at line 76 of file canopen.h.


The documentation for this class was generated from the following files:


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Fri May 14 2021 02:59:41