Orocos Real-Time Toolkit  2.8.3
Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | List of all members
RTT_corba_CService_i Class Reference

#include <rtt/transports/corba/ServiceI.h>

Inheritance diagram for RTT_corba_CService_i:
RTT_corba_CConfigurationInterface_i RTT_corba_COperationInterface_i RTT::corba::CDataFlowInterface_i

Public Member Functions

 RTT_corba_CService_i (RTT::ServicePtr service, PortableServer::POA_ptr poa)
 
virtual ~RTT_corba_CService_i (void)
 
virtual RTT::corba::CService_ptr activate_this ()
 
PortableServer::POA_ptr _default_POA ()
 
virtual char * getName (void)
 
virtual char * getServiceDescription (void)
 
virtual ::RTT::corba::CService::CProviderNamesgetProviderNames (void)
 
virtual ::RTT::corba::CService_ptr getService (const char *name)
 
virtual ::CORBA::Boolean hasService (const char *name)
 
::RTT::base::DataSourceBase::shared_ptr getAttributeDataSource (const std::string &value_name)
 
::RTT::base::DataSourceBase::shared_ptr getPropertyDataSource (const std::string &value_name)
 
virtual ::RTT::corba::CConfigurationInterface::CAttributeNamesgetAttributeList (void)
 
virtual ::RTT::corba::CConfigurationInterface::CPropertyNamesgetPropertyList (void)
 
virtual ::CORBA::Any * getAttribute (const char *name)
 
virtual ::CORBA::Boolean setAttribute (const char *name, const ::CORBA::Any &value)
 
virtual ::CORBA::Any * getProperty (const char *name)
 
virtual ::CORBA::Boolean setProperty (const char *name, const ::CORBA::Any &value)
 
CORBA::Boolean hasAttribute (const char *name)
 
CORBA::Boolean isAttributeAssignable (const char *name)
 
virtual char * getAttributeType (const char *name)
 
virtual char * getAttributeTypeName (const char *name)
 
virtual char * attributeToString (const char *name)
 
virtual CORBA::Boolean attributeFromString (const char *name, const char *value)
 
CORBA::Boolean hasProperty (const char *name)
 
virtual char * getPropertyType (const char *name)
 
virtual char * getPropertyTypeName (const char *name)
 
virtual char * propertyToString (const char *name)
 
virtual CORBA::Boolean propertyFromString (const char *name, const char *value)
 
virtual RTT::corba::COperationInterface::COperationListgetOperations (void)
 
virtual ::RTT::corba::CDescriptionsgetArguments (const char *operation)
 
virtual char * getResultType (const char *operation)
 
virtual char * getArgumentType (const char *, CORBA::UShort)
 
virtual char * getCollectType (const char *, CORBA::UShort)
 
virtual ::CORBA::UShort getArity (const char *operation)
 
virtual ::CORBA::UShort getCollectArity (const char *operation)
 
virtual char * getDescription (const char *operation)
 
virtual void checkOperation (const char *operation, const ::RTT::corba::CAnyArguments &args)
 
virtual ::CORBA::Any * callOperation (const char *operation,::RTT::corba::CAnyArguments &args)
 
virtual ::RTT::corba::CSendHandle_ptr sendOperation (const char *operation, const ::RTT::corba::CAnyArguments &args)
 
DataFlowInterface * getDataFlowInterface () const
 
void deregisterChannel (CChannelElement_ptr channel)
 Deregisters the given channel from the channel list. More...
 

Static Public Member Functions

static void registerServant (CDataFlowInterface_ptr objref, CDataFlowInterface_i *servant)
 
static void deregisterServant (DataFlowInterface *obj)
 
static void clearServants ()
 
static DataFlowInterface * getLocalInterface (CDataFlowInterface_ptr objref)
 
static CDataFlowInterface_ptr getRemoteInterface (DataFlowInterface *dfi, PortableServer::POA_ptr poa)
 Returns an object reference to a remote interface. More...
 

Protected Types

typedef std::vector< std::pair< RTT::corba::CService_var, PortableServer::ServantBase_var > > Servants
 

Protected Attributes

PortableServer::POA_var mpoa
 
RTT::Service::shared_ptr mservice
 
Servants mservs
 

Detailed Description

Definition at line 88 of file ServiceI.h.

Member Typedef Documentation

typedef std::vector<std::pair<RTT::corba::CService_var,PortableServer::ServantBase_var> > RTT_corba_CService_i::Servants
protected

Definition at line 98 of file ServiceI.h.

Constructor & Destructor Documentation

RTT_corba_CService_i::RTT_corba_CService_i ( RTT::ServicePtr  service,
PortableServer::POA_ptr  poa 
)

Definition at line 75 of file ServiceI.cpp.

Referenced by getService().

RTT_corba_CService_i::~RTT_corba_CService_i ( void  )
virtual

Definition at line 84 of file ServiceI.cpp.

Member Function Documentation

PortableServer::POA_ptr RTT_corba_CService_i::_default_POA ( )

Definition at line 88 of file ServiceI.cpp.

References mpoa.

Referenced by activate_this().

virtual RTT::corba::CService_ptr RTT_corba_CService_i::activate_this ( )
inlinevirtual
CORBA::Boolean RTT_corba_CConfigurationInterface_i::attributeFromString ( const char *  name,
const char *  value 
)
virtualinherited
char * RTT_corba_CConfigurationInterface_i::attributeToString ( const char *  name)
virtualinherited
CORBA::Any * RTT_corba_COperationInterface_i::callOperation ( const char *  operation,
::RTT::corba::CAnyArguments args 
)
inherited
void RTT_corba_COperationInterface_i::checkOperation ( const char *  operation,
const ::RTT::corba::CAnyArguments args 
)
virtualinherited
void CDataFlowInterface_i::clearServants ( )
staticinherited
void CDataFlowInterface_i::deregisterChannel ( CChannelElement_ptr  channel)
inherited
void CDataFlowInterface_i::deregisterServant ( RTT::DataFlowInterface obj)
staticinherited
RTT::corba::CDescriptions * RTT_corba_COperationInterface_i::getArguments ( const char *  operation)
inherited
char * RTT_corba_COperationInterface_i::getArgumentType ( const char *  operation,
CORBA::UShort  nbr 
)
virtualinherited
CORBA::UShort RTT_corba_COperationInterface_i::getArity ( const char *  operation)
inherited

Definition at line 299 of file OperationInterfaceI.cpp.

References RTT::OperationInterfacePart::arity().

CORBA::Any * RTT_corba_CConfigurationInterface_i::getAttribute ( const char *  name)
inherited
RTT::base::DataSourceBase::shared_ptr RTT_corba_CConfigurationInterface_i::getAttributeDataSource ( const std::string &  value_name)
inherited
RTT::corba::CConfigurationInterface::CAttributeNames * RTT_corba_CConfigurationInterface_i::getAttributeList ( void  )
inherited
char * RTT_corba_CConfigurationInterface_i::getAttributeType ( const char *  name)
virtualinherited
char * RTT_corba_CConfigurationInterface_i::getAttributeTypeName ( const char *  name)
virtualinherited
CORBA::UShort RTT_corba_COperationInterface_i::getCollectArity ( const char *  operation)
inherited
char * RTT_corba_COperationInterface_i::getCollectType ( const char *  operation,
CORBA::UShort  nbr 
)
virtualinherited
RTT::DataFlowInterface * CDataFlowInterface_i::getDataFlowInterface ( ) const
inherited

Definition at line 78 of file DataFlowI.cpp.

char * RTT_corba_COperationInterface_i::getDescription ( const char *  operation)
virtualinherited
RTT::DataFlowInterface * CDataFlowInterface_i::getLocalInterface ( CDataFlowInterface_ptr  objref)
staticinherited

Definition at line 113 of file DataFlowI.cpp.

Referenced by RTT::corba::CDataFlowInterface_i::deregisterChannel().

char * RTT_corba_CService_i::getName ( void  )
virtual

Definition at line 93 of file ServiceI.cpp.

References mservice.

Referenced by activate_this().

RTT::corba::COperationInterface::COperationList * RTT_corba_COperationInterface_i::getOperations ( void  )
virtualinherited
CORBA::Any * RTT_corba_CConfigurationInterface_i::getProperty ( const char *  name)
inherited
RTT::base::DataSourceBase::shared_ptr RTT_corba_CConfigurationInterface_i::getPropertyDataSource ( const std::string &  value_name)
inherited
RTT::corba::CConfigurationInterface::CPropertyNames * RTT_corba_CConfigurationInterface_i::getPropertyList ( void  )
inherited
char * RTT_corba_CConfigurationInterface_i::getPropertyType ( const char *  name)
virtualinherited
char * RTT_corba_CConfigurationInterface_i::getPropertyTypeName ( const char *  name)
virtualinherited
RTT::corba::CService::CProviderNames * RTT_corba_CService_i::getProviderNames ( void  )

Definition at line 105 of file ServiceI.cpp.

References mservice.

Referenced by activate_this().

CDataFlowInterface_ptr CDataFlowInterface_i::getRemoteInterface ( RTT::DataFlowInterface dfi,
PortableServer::POA_ptr  poa 
)
staticinherited

Returns an object reference to a remote interface.

In case you wish to keep this object reference, you need to duplicate it.

Definition at line 124 of file DataFlowI.cpp.

References RTT::corba::CDataFlowInterface_i::CDataFlowInterface_i(), and RTT::corba::CDataFlowInterface_i::registerServant().

Referenced by RTT::corba::RemoteOutputPort::createConnection().

char * RTT_corba_COperationInterface_i::getResultType ( const char *  operation)
virtualinherited
RTT::corba::CService_ptr RTT_corba_CService_i::getService ( const char *  name)

Definition at line 117 of file ServiceI.cpp.

References activate_this(), mpoa, mservice, mservs, and RTT_corba_CService_i().

Referenced by activate_this().

char * RTT_corba_CService_i::getServiceDescription ( void  )
virtual

Definition at line 99 of file ServiceI.cpp.

References mservice.

Referenced by activate_this().

CORBA::Boolean RTT_corba_CConfigurationInterface_i::hasAttribute ( const char *  name)
inherited
CORBA::Boolean RTT_corba_CConfigurationInterface_i::hasProperty ( const char *  name)
inherited
CORBA::Boolean RTT_corba_CService_i::hasService ( const char *  name)

Definition at line 141 of file ServiceI.cpp.

References mservice.

Referenced by activate_this().

CORBA::Boolean RTT_corba_CConfigurationInterface_i::isAttributeAssignable ( const char *  name)
inherited
CORBA::Boolean RTT_corba_CConfigurationInterface_i::propertyFromString ( const char *  name,
const char *  value 
)
virtualinherited
char * RTT_corba_CConfigurationInterface_i::propertyToString ( const char *  name)
virtualinherited
void CDataFlowInterface_i::registerServant ( CDataFlowInterface_ptr  objref,
CDataFlowInterface_i servant 
)
staticinherited

Definition at line 83 of file DataFlowI.cpp.

Referenced by RTT::corba::CDataFlowInterface_i::getRemoteInterface().

RTT::corba::CSendHandle_ptr RTT_corba_COperationInterface_i::sendOperation ( const char *  operation,
const ::RTT::corba::CAnyArguments args 
)
inherited
CORBA::Boolean RTT_corba_CConfigurationInterface_i::setAttribute ( const char *  name,
const ::CORBA::Any &  value 
)
inherited
CORBA::Boolean RTT_corba_CConfigurationInterface_i::setProperty ( const char *  name,
const ::CORBA::Any &  value 
)
inherited

Member Data Documentation

PortableServer::POA_var RTT_corba_CService_i::mpoa
protected

Definition at line 95 of file ServiceI.h.

Referenced by _default_POA(), and getService().

RTT::Service::shared_ptr RTT_corba_CService_i::mservice
protected

Definition at line 96 of file ServiceI.h.

Referenced by getName(), getProviderNames(), getService(), getServiceDescription(), and hasService().

Servants RTT_corba_CService_i::mservs
protected

Definition at line 99 of file ServiceI.h.

Referenced by getService().


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