OpenRTM-aist 2.0.2
|
#include <ByteData.h>
Public Member Functions | |
ByteData () | |
Constructor. | |
~ByteData () | |
Destructor. | |
ByteData (const ByteData &rhs) | |
Copy Constructor. | |
ByteData (const ByteDataStreamBase &rhs) | |
Copy Constructor. | |
ByteData & | operator= (const ByteData &rhs) |
ByteData & | operator= (const ByteDataStreamBase &rhs) |
void | readData (unsigned char *data, unsigned long length) const |
void | writeData (const unsigned char *data, unsigned long length) |
unsigned char * | getBuffer () const |
unsigned long | getDataLength () const |
void | isLittleEndian (bool little_endian) |
void | setDataLength (unsigned long length) |
bool | getEndian () |
RTC::ByteData::ByteData | ( | ) |
Constructor.
RTC::ByteData::~ByteData | ( | ) |
Destructor.
RTC::ByteData::ByteData | ( | const ByteData & | rhs | ) |
Copy Constructor.
rhs |
RTC::ByteData::ByteData | ( | const ByteDataStreamBase & | rhs | ) |
Copy Constructor.
rhs |
unsigned char * RTC::ByteData::getBuffer | ( | ) | const |
Referenced by RTC::ConnectorDataListenerHolderT< DataType >::notify(), and RTC::ConnectorDataListenerT< DataType >::operator()().
unsigned long RTC::ByteData::getDataLength | ( | ) | const |
Referenced by RTC::ConnectorDataListenerHolderT< DataType >::notify(), and RTC::ConnectorDataListenerT< DataType >::operator()().
bool RTC::ByteData::getEndian | ( | ) |
void RTC::ByteData::isLittleEndian | ( | bool | little_endian | ) |
little_endian |
ByteData & RTC::ByteData::operator= | ( | const ByteDataStreamBase & | rhs | ) |
rhs |
void RTC::ByteData::readData | ( | unsigned char * | data, |
unsigned long | length ) const |
data | |
length |
void RTC::ByteData::setDataLength | ( | unsigned long | length | ) |
length |
Referenced by RTC::ConnectorDataListenerHolderT< DataType >::notify(), and RTC::ConnectorDataListenerT< DataType >::operator()().
void RTC::ByteData::writeData | ( | const unsigned char * | data, |
unsigned long | length ) |
data | |
length |