#include <MQTypelibMarshaller.hpp>
Public Member Functions | |
void * | createCookie () const |
void | deleteCookie (void *cookie) const |
std::pair< void const *, int > | fillBlob (RTT::base::DataSourceBase::shared_ptr source, void *blob, int size, void *cookie) const |
unsigned int | getSampleSize (RTT::base::DataSourceBase::shared_ptr sample, void *cookie) const |
MQTypelibMarshaller (orogen_transports::TypelibMarshallerBase *marshaller) | |
bool | updateFromBlob (const void *blob, int size, RTT::base::DataSourceBase::shared_ptr target, void *cookie) const |
Definition at line 24 of file MQTypelibMarshaller.hpp.
orogen_transports::MQTypelibMarshaller< T >::MQTypelibMarshaller | ( | orogen_transports::TypelibMarshallerBase * | marshaller | ) | [inline] |
Definition at line 26 of file MQTypelibMarshaller.hpp.
void* orogen_transports::MQTypelibMarshaller< T >::createCookie | ( | ) | const [inline] |
Reimplemented from orogen_transports::MQTypelibMarshallerBase.
Definition at line 29 of file MQTypelibMarshaller.hpp.
void orogen_transports::MQTypelibMarshaller< T >::deleteCookie | ( | void * | cookie | ) | const [inline] |
Reimplemented from orogen_transports::MQTypelibMarshallerBase.
Definition at line 31 of file MQTypelibMarshaller.hpp.
std::pair<void const*,int> orogen_transports::MQTypelibMarshaller< T >::fillBlob | ( | RTT::base::DataSourceBase::shared_ptr | source, | |
void * | blob, | |||
int | size, | |||
void * | cookie | |||
) | const [inline, virtual] |
Create an transportable object for a protocol which contains the value of source. This must be a real-time function which does not allocate memory
source | The data to be read | |
blob | Suggested target memory area to write to. In case the type marshaller does not need this, it will return an alternative as a first element in the returned std::pair. | |
size | The size of the memory area pointed by blob |
size
Reimplemented from RTT::mqueue::MQTemplateProtocol< T >.
Definition at line 33 of file MQTypelibMarshaller.hpp.
unsigned int orogen_transports::MQTypelibMarshaller< T >::getSampleSize | ( | RTT::base::DataSourceBase::shared_ptr | sample, | |
void * | cookie | |||
) | const [inline, virtual] |
Returns the size in bytes of a marshalled data element.
Reimplemented from RTT::mqueue::MQTemplateProtocol< T >.
Definition at line 37 of file MQTypelibMarshaller.hpp.
bool orogen_transports::MQTypelibMarshaller< T >::updateFromBlob | ( | const void * | blob, | |
int | size, | |||
RTT::base::DataSourceBase::shared_ptr | target, | |||
void * | cookie | |||
) | const [inline, virtual] |
Update target with the contents of blob which is an object of a protocol. The given data source is guaranteed to be an AssignableDataSource
Reimplemented from RTT::mqueue::MQTemplateProtocol< T >.
Definition at line 35 of file MQTypelibMarshaller.hpp.