#include <MQSerializationProtocol.hpp>

Public Member Functions | |
| virtual std::pair< void const *, int > | fillBlob (base::DataSourceBase::shared_ptr source, void *blob, int size, void *cookie) const |
| virtual unsigned int | getSampleSize (base::DataSourceBase::shared_ptr sample, void *cookie) const |
| MQSerializationProtocol () | |
| virtual bool | updateFromBlob (const void *blob, int size, base::DataSourceBase::shared_ptr target, void *cookie) const |
Definition at line 61 of file MQSerializationProtocol.hpp.
| RTT::mqueue::MQSerializationProtocol< T >::MQSerializationProtocol | ( | ) | [inline] |
Definition at line 65 of file MQSerializationProtocol.hpp.
| virtual std::pair<void const*,int> RTT::mqueue::MQSerializationProtocol< T >::fillBlob | ( | 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 Implements RTT::types::TypeMarshaller.
Definition at line 68 of file MQSerializationProtocol.hpp.
| virtual unsigned int RTT::mqueue::MQSerializationProtocol< T >::getSampleSize | ( | base::DataSourceBase::shared_ptr | sample, |
| void * | cookie | ||
| ) | const [inline, virtual] |
Returns the size in bytes of a marshalled data element.
Implements RTT::types::TypeMarshaller.
Definition at line 98 of file MQSerializationProtocol.hpp.
| virtual bool RTT::mqueue::MQSerializationProtocol< T >::updateFromBlob | ( | const void * | blob, |
| int | size, | ||
| base::DataSourceBase::shared_ptr | target, | ||
| void * | cookie | ||
| ) | const [inline, virtual] |
Update target with the contents of blob which is an object of a protocol.
Implements RTT::types::TypeMarshaller.
Definition at line 86 of file MQSerializationProtocol.hpp.