Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

RTC::InPortCorbaConsumer< DataType > Class Template Reference

#include <InPortCorbaConsumer.h>

Inheritance diagram for RTC::InPortCorbaConsumer< DataType >:

RTC::InPortConsumer RTC::CorbaConsumer< RTC::InPortAny > RTC::CorbaConsumerBase List of all members.

Public Member Functions

 InPortCorbaConsumer (BufferBase< DataType > &buffer)
 InPortCorbaConsumer (const InPortCorbaConsumer< DataType > &consumer)
InPortCorbaConsumeroperator= (const InPortCorbaConsumer< DataType > &consumer)
virtual ~InPortCorbaConsumer ()
void put (DataType &data)
void push ()
virtual InPortCorbaConsumerclone () const
virtual bool subscribeInterface (const SDOPackage::NVList &properties)
virtual void unsubscribeInterface (const SDOPackage::NVList &properties)
virtual bool setObject (CORBA::Object_ptr obj)
 Set Object.
typename RTC::InPortAny::_ptr_type _ptr ()
 Get Object reference narrowed as ObjectType.
typename RTC::InPortAny::_ptr_type operator-> ()
 Get Object reference narrowed as ObjectType.
virtual void releaseObject ()
virtual CORBA::Object_ptr getObject ()
 Set CORBA Object.

Protected Attributes

typename RTC::InPortAny::_var_type m_var
CORBA::Object_var m_objref

template<class DataType>
class RTC::InPortCorbaConsumer< DataType >


Constructor & Destructor Documentation

template<class DataType>
RTC::InPortCorbaConsumer< DataType >::InPortCorbaConsumer BufferBase< DataType > &  buffer  )  [inline]
 

template<class DataType>
RTC::InPortCorbaConsumer< DataType >::InPortCorbaConsumer const InPortCorbaConsumer< DataType > &  consumer  )  [inline]
 

template<class DataType>
virtual RTC::InPortCorbaConsumer< DataType >::~InPortCorbaConsumer  )  [inline, virtual]
 


Member Function Documentation

typename RTC::InPortAny ::_ptr_type RTC::CorbaConsumer< RTC::InPortAny , typename RTC::InPortAny ::_ptr_type , typename RTC::InPortAny ::_var_type >::_ptr  )  [inline, inherited]
 

Get Object reference narrowed as ObjectType.

This operation returns object reference narrowed as ObjectType. To use the returned object reference, reference have to be set by setObject(). If object is not set, this operation returns nil object reference.

Returns:
The object reference narrowed as ObjectType

template<class DataType>
virtual InPortCorbaConsumer* RTC::InPortCorbaConsumer< DataType >::clone  )  const [inline, virtual]
 

Implements RTC::InPortConsumer.

virtual CORBA::Object_ptr RTC::CorbaConsumerBase::getObject  )  [inline, virtual, inherited]
 

Set CORBA Object.

The given CORBA Object is held as CORBA::Object_var type

Parameters:
obj Object reference of CORBA object

typename RTC::InPortAny ::_ptr_type RTC::CorbaConsumer< RTC::InPortAny , typename RTC::InPortAny ::_ptr_type , typename RTC::InPortAny ::_var_type >::operator->  )  [inline, inherited]
 

Get Object reference narrowed as ObjectType.

This operation returns object reference narrowed as ObjectType. To use the returned object reference, reference have to be set by setObject(). If object is not set, this operation returns nil object reference.

Returns:
The object reference narrowed as ObjectType

template<class DataType>
InPortCorbaConsumer& RTC::InPortCorbaConsumer< DataType >::operator= const InPortCorbaConsumer< DataType > &  consumer  )  [inline]
 

template<class DataType>
void RTC::InPortCorbaConsumer< DataType >::push  )  [inline, virtual]
 

Implements RTC::InPortConsumer.

template<class DataType>
void RTC::InPortCorbaConsumer< DataType >::put DataType &  data  )  [inline]
 

virtual void RTC::CorbaConsumer< RTC::InPortAny , typename RTC::InPortAny ::_ptr_type , typename RTC::InPortAny ::_var_type >::releaseObject  )  [inline, virtual, inherited]
 

Reimplemented from RTC::CorbaConsumerBase.

virtual bool RTC::CorbaConsumer< RTC::InPortAny , typename RTC::InPortAny ::_ptr_type , typename RTC::InPortAny ::_var_type >::setObject CORBA::Object_ptr  obj  )  [inline, virtual, inherited]
 

Set Object.

Override function of ConsumerBase. This operation set an Object to CORBA:Object_var in the class, and this object is narrowed to given template parameter and stored in the member variable.

Reimplemented from RTC::CorbaConsumerBase.

template<class DataType>
virtual bool RTC::InPortCorbaConsumer< DataType >::subscribeInterface const SDOPackage::NVList &  properties  )  [inline, virtual]
 

Implements RTC::InPortConsumer.

template<class DataType>
virtual void RTC::InPortCorbaConsumer< DataType >::unsubscribeInterface const SDOPackage::NVList &  properties  )  [inline, virtual]
 

Implements RTC::InPortConsumer.


Member Data Documentation

CORBA::Object_var RTC::CorbaConsumerBase::m_objref [protected, inherited]
 

typename RTC::InPortAny ::_var_type RTC::CorbaConsumer< RTC::InPortAny , typename RTC::InPortAny ::_ptr_type , typename RTC::InPortAny ::_var_type >::m_var [protected, inherited]
 


The documentation for this class was generated from the following file:
Generated on Fri Oct 5 05:16:03 2007 for OpenRTM by  doxygen 1.4.1