|
OpenRTM-aist 2.1.0
|
InPortSHMConsumer class. More...
#include <InPortSHMConsumer.h>


Public Member Functions | |
| InPortSHMConsumer () | |
| Constructor. More... | |
| ~InPortSHMConsumer () override | |
| Destructor. More... | |
| void | init (coil::Properties &prop) override |
| Initializing configuration. More... | |
| DataPortStatus | put (ByteData &data) override |
| Send data to the destination port. More... | |
| bool | setObject (CORBA::Object_ptr obj) override |
| void | publishInterfaceProfile (SDOPackage::NVList &properties) override |
| Publish InterfaceProfile information. More... | |
| bool | subscribeInterface (const SDOPackage::NVList &properties) override |
| Subscribe the data send notification. More... | |
| void | unsubscribeInterface (const SDOPackage::NVList &properties) override |
| Unsubscribe the data send notification. More... | |
Public Member Functions inherited from RTC::InPortConsumer | |
| virtual | ~InPortConsumer ()=default |
| Destructor. More... | |
| virtual void | init (coil::Properties &prop)=0 |
| Initializing configuration. More... | |
| virtual DataPortStatus | put (ByteData &data)=0 |
| Send data to the destination port. More... | |
| virtual void | publishInterfaceProfile (SDOPackage::NVList &properties)=0 |
| Publish InterfaceProfile information. More... | |
| virtual bool | subscribeInterface (const SDOPackage::NVList &properties)=0 |
| Subscribe the data send notification. More... | |
| virtual void | unsubscribeInterface (const SDOPackage::NVList &properties)=0 |
| Unsubscribe the data send notification. More... | |
Public Member Functions inherited from RTC::CorbaConsumer< ::OpenRTM::PortSharedMemory > | |
| CorbaConsumer () | |
| Consructor. More... | |
| CorbaConsumer (const CorbaConsumer &x) | |
| Copy constructor. More... | |
| CorbaConsumer & | operator= (const CorbaConsumer &x) |
| Assignment operator. More... | |
| void | swap (CorbaConsumer &x) |
| ~CorbaConsumer () override | |
| Virtual destructor. More... | |
| bool | setObject (CORBA::Object_ptr obj) override |
| Set Object. More... | |
| typename ObjectType::_ptr_type | _ptr () |
| Get Object reference narrowed as ObjectType. More... | |
| typename ObjectType::_ptr_type | operator-> () |
| Get Object reference narrowed as ObjectType. More... | |
| void | releaseObject () override |
| Clear CORBA object setting. More... | |
Public Member Functions inherited from RTC::CorbaConsumerBase | |
| CorbaConsumerBase ()=default | |
| Consructor. More... | |
| CorbaConsumerBase (const CorbaConsumerBase &x) | |
| Copy Consructor. More... | |
| CorbaConsumerBase & | operator= (const CorbaConsumerBase &x) |
| Assignment operator. More... | |
| void | swap (CorbaConsumerBase &x) |
| swap function More... | |
| virtual | ~CorbaConsumerBase () |
| Virtual destructor. More... | |
| virtual bool | setObject (CORBA::Object_ptr obj) |
| Set CORBA Object. More... | |
| virtual CORBA::Object_ptr | getObject () |
| Get CORBA Object. More... | |
| virtual void | releaseObject () |
| Clear CORBA object setting. More... | |
Static Protected Member Functions | |
| static DataPortStatus | convertReturnCode (OpenRTM::PortStatus ret) |
Protected Attributes | |
| coil::Properties | m_properties |
| std::mutex | m_mutex |
| std::string | m_shm_address |
| SharedMemoryPort | m_shmem |
| int | m_memory_size {0} |
| bool | m_endian {true} |
| Logger | rtclog {"InPortSHMConsumer"} |
Protected Attributes inherited from RTC::CorbaConsumer< ::OpenRTM::PortSharedMemory > | |
| typename ObjectType::_var_type | m_var |
| CORBA object which has been set. . More... | |
Protected Attributes inherited from RTC::CorbaConsumerBase | |
| CORBA::Object_var | m_objref |
| CORBA object which is set. . More... | |
InPortSHMConsumer class.
| RTC::InPortSHMConsumer::InPortSHMConsumer | ( | ) |
|
override |
Destructor.
Destructor
|
staticprotected |
|
overridevirtual |
Initializing configuration.
| prop | Configuration information |
Implements RTC::InPortConsumer.
|
overridevirtual |
Publish InterfaceProfile information.
Publish interfaceProfile information. Check the dataport.interface_type value of the NameValue object specified by an argument in property information and get information only when the interface type of the specified port is matched.
| properties | Properties to get InterfaceProfile information |
Implements RTC::InPortConsumer.
|
overridevirtual |
Send data to the destination port.
Implements RTC::InPortConsumer.
|
overridevirtual |
Reimplemented from RTC::CorbaConsumerBase.
|
overridevirtual |
Subscribe the data send notification.
Pure virtual function to subscribe the data send notification based on specified property information.
| properties | Properties for reference when subscribing |
Implements RTC::InPortConsumer.
|
overridevirtual |
Unsubscribe the data send notification.
Pure virtual function to unsubscribe the data send notification.
| properties | Properties for reference when unsubscribing |
Implements RTC::InPortConsumer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |