Orocos Real-Time Toolkit  2.9.0
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::CServiceDescriptiongetCServiceDescription (void)
 
static::RTT::corba::CServiceDescription * getCServiceDescription (const RTT::Service::shared_ptr &)
 
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::COperationDescriptionsgetOperations (void)
 
virtual ::RTT::corba::CArgumentDescriptionsgetArguments (const char *operation)
 
virtual ::RTT::corba::CTypeListgetCollectTypes (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)
 
virtual void sendOperationOneway (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::map< std::string, std::pair< RTT::corba::CService_var, PortableServer::ServantBase_var > > Servants
 

Protected Attributes

PortableServer::POA_var mpoa
 
boost::weak_ptr< RTT::Servicemservice
 
Servants mservs
 

Detailed Description

Definition at line 88 of file ServiceI.h.

Member Typedef Documentation

typedef std::map<std::string, 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 76 of file ServiceI.cpp.

Referenced by getService().

RTT_corba_CService_i::~RTT_corba_CService_i ( void  )
virtual

Definition at line 85 of file ServiceI.cpp.

Member Function Documentation

PortableServer::POA_ptr RTT_corba_CService_i::_default_POA ( )

Definition at line 89 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

Deregisters the given channel from the channel list.

Definition at line 232 of file DataFlowI.cpp.

References ACE_THROW_SPEC, RTT::base::OutputPortInterface::addConnection(), RTT::corba::CConnPolicy::buffer_policy, RTT::ConnPolicy::buffer_policy, RTT::types::TypeInfo::buildChannelInput(), RTT::types::TypeInfo::buildChannelOutput(), RTT::types::TypeInfo::buildDataStorage(), RTT::types::TypeInfo::buildSharedConnection(), RTT::corba::CInput, CORBA_CHECK_THREAD, RTT::corba::CorbaTypeTransporter::createChannelElement_i(), RTT::base::OutputPortInterface::createConnection(), RTT::base::InputPortInterface::createConnection(), RTT::types::TypeTransporter::createStream(), RTT::base::PortInterface::createStream(), RTT::corba::CShared, RTT::Debug, RTT::base::PortInterface::disconnect(), RTT::Error, RTT::internal::ConnFactory::findSharedConnection(), RTT::corba::CDataFlowInterface_i::getLocalInterface(), RTT::base::PortInterface::getName(), RTT::base::ChannelElementBase::getOutputEndPoint(), RTT::DataFlowInterface::getPort(), RTT::types::TypeInfo::getProtocol(), RTT::base::PortInterface::getTypeInfo(), RTT::types::TypeInfo::getTypeName(), RTT::Info, RTT::ConnPolicy::mandatory, RTT::corba::CConnPolicy::name_id, RTT::ConnPolicy::name_id, ORO_CORBA_PROTOCOL_ID, RTT::base::PortInterface::removeConnection(), RTT::corba::CRemoteChannelElement_i::setCDataFlowInterface(), RTT::base::PortInterface::setInterface(), RTT::Shared, toCORBA(), toRTT(), RTT::corba::CConnPolicy::transport, and RTT::Warning.

Referenced by RTT::corba::RemoteChannelElement< T >::disconnect(), and RTT::corba::RemoteChannelElement< T >::remoteDisconnect().

void CDataFlowInterface_i::deregisterServant ( RTT::DataFlowInterface obj)
staticinherited
RTT::corba::CArgumentDescriptions * 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 322 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::corba::CTypeList * RTT_corba_COperationInterface_i::getCollectTypes ( const char *  operation)
inherited
RTT::corba::CServiceDescription * RTT_corba_CService_i::getCServiceDescription ( void  )
static ::RTT::corba::CServiceDescription* RTT_corba_CService_i::getCServiceDescription ( const RTT::Service::shared_ptr )
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 94 of file ServiceI.cpp.

References mservice.

Referenced by activate_this(), and getCServiceDescription().

RTT::corba::COperationInterface::COperationDescriptions * 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 106 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 118 of file ServiceI.cpp.

References activate_this(), RTT::Debug, mpoa, mservice, mservs, and RTT_corba_CService_i().

Referenced by activate_this(), and getCServiceDescription().

char * RTT_corba_CService_i::getServiceDescription ( void  )
virtual

Definition at line 100 of file ServiceI.cpp.

References mservice.

Referenced by activate_this(), and getCServiceDescription().

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 143 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

Definition at line 472 of file OperationInterfaceI.cpp.

void RTT_corba_COperationInterface_i::sendOperationOneway ( const char *  operation,
const ::RTT::corba::CAnyArguments args 
)
virtualinherited
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().

boost::weak_ptr<RTT::Service> RTT_corba_CService_i::mservice
protected
Servants RTT_corba_CService_i::mservs
protected

Definition at line 99 of file ServiceI.h.

Referenced by getCServiceDescription(), and getService().


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