|
| void | getData (std::vector< MemoryObject > &data) |
| |
| void | getData (std::vector< MemoryObject > &data, typename MemoryObjectMetaInfo::PointerType &info) |
| | Retrieve the data provided by the IceSharedMemoryProvider.
|
| |
| const std::string & | getMemoryName () const |
| |
| MemoryObjectMetaInfo::PointerType | getMetaInfo () const |
| |
| int | getSize () const |
| | Retrieve size of the data.
|
| |
| TransferMode | getTransferMode () |
| | Retrieve transfer mode.
|
| |
| | IceSharedMemoryConsumer (ManagedIceObject *object, std::string providerName, std::string nameSuffix="") |
| | Creates an ice shared memory consumer which transparentely communicates using shared memory on local machines and using Ice on remote machines.
|
| |
| void | setTransferMode (TransferMode mode) |
| | Change the transfer mode.
|
| |
| void | start () |
| | Starts the memory consumer.
|
| |
template<class MemoryObject, class MemoryObjectMetaInfo = MetaInfoSizeBase>
class armarx::IceSharedMemoryConsumer< MemoryObject, MemoryObjectMetaInfo >
The IceSharedMemoryConsumer reads data via Ice or shared memory.
Whether Ice or shared memory is used for data transfer is determined based on the hardware id of the machine. The consumer should be constructed in the onInit method and started in the onStart method. The correct initialization of the provider is guaranteed by the component dependency mechanism. If shared memory consumers are constructed elsewhere, the user has to assure, that the remote component is already running.