OpenRTM-aist  1.2.1
Public Member Functions | Protected Attributes | List of all members
RTC::SharedMemoryPort Class Reference

#include <SharedMemoryPort.h>

Inheritance diagram for RTC::SharedMemoryPort:
Inheritance graph
[legend]
Collaboration diagram for RTC::SharedMemoryPort:
Collaboration graph
[legend]

Public Member Functions

 SharedMemoryPort ()
 Constructor. More...
 
virtual ~SharedMemoryPort ()
 Destructor. More...
 
virtual int string_to_MemorySize (std::string size_str)
 
virtual void create_memory (::CORBA::ULongLong memory_size, const char *shm_address) throw (CORBA::SystemException)
 
virtual void open_memory (::CORBA::ULongLong memory_size, const char *shm_address) throw (CORBA::SystemException)
 
virtual void close_memory (::CORBA::Boolean unlink=false) throw (CORBA::SystemException)
 
virtual void write (cdrMemoryStream &data)
 
virtual void read (cdrMemoryStream &data)
 
virtual void setInterface (::OpenRTM::PortSharedMemory_ptr sm) throw (CORBA::SystemException)
 
virtual void setEndian (::CORBA::Boolean endian) throw (CORBA::SystemException)
 
virtual ::OpenRTM::PortStatus put () throw (CORBA::SystemException)
 
virtual ::OpenRTM::PortStatus get () throw (CORBA::SystemException)
 
virtual ::OpenRTM::PortSharedMemory_ptr getObjRef ()
 

Protected Attributes

::OpenRTM::PortSharedMemory_var m_smInterface
 
bool m_endian
 
coil::SharedMemory m_shmem
 

Constructor & Destructor Documentation

RTC::SharedMemoryPort::SharedMemoryPort ( )

Constructor.

Constructor

Parameters
managerManager object
virtual RTC::SharedMemoryPort::~SharedMemoryPort ( )
virtual

Destructor.

Destructor

Member Function Documentation

virtual void RTC::SharedMemoryPort::close_memory ( ::CORBA::Boolean  unlink = false)
throw (CORBA::SystemException
)
virtual
Parameters
unlink
virtual void RTC::SharedMemoryPort::create_memory ( ::CORBA::ULongLong  memory_size,
const char *  shm_address 
)
throw (CORBA::SystemException
)
virtual
Parameters
memory_size
shm_address
virtual ::OpenRTM::PortStatus RTC::SharedMemoryPort::get ( )
throw (CORBA::SystemException
)
Returns
virtual ::OpenRTM::PortSharedMemory_ptr RTC::SharedMemoryPort::getObjRef ( )
virtual void RTC::SharedMemoryPort::open_memory ( ::CORBA::ULongLong  memory_size,
const char *  shm_address 
)
throw (CORBA::SystemException
)
virtual
Parameters
memory_size
shm_address
virtual ::OpenRTM::PortStatus RTC::SharedMemoryPort::put ( )
throw (CORBA::SystemException
)
Returns
virtual void RTC::SharedMemoryPort::read ( cdrMemoryStream &  data)
virtual
Returns
virtual void RTC::SharedMemoryPort::setEndian ( ::CORBA::Boolean  endian)
throw (CORBA::SystemException
)
virtual
Parameters
virtual void RTC::SharedMemoryPort::setInterface ( ::OpenRTM::PortSharedMemory_ptr  sm)
throw (CORBA::SystemException
)
virtual
Returns
virtual int RTC::SharedMemoryPort::string_to_MemorySize ( std::string  size_str)
virtual
Parameters
virtual void RTC::SharedMemoryPort::write ( cdrMemoryStream &  data)
virtual
Parameters
data

Member Data Documentation

bool RTC::SharedMemoryPort::m_endian
protected
coil::SharedMemory RTC::SharedMemoryPort::m_shmem
protected
::OpenRTM::PortSharedMemory_var RTC::SharedMemoryPort::m_smInterface
protected

The documentation for this class was generated from the following file: