Orocos Real-Time Toolkit
2.8.3
|
#include <rtt/transports/corba/ServiceI.h>
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::CProviderNames * | getProviderNames (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::CAttributeNames * | getAttributeList (void) |
virtual ::RTT::corba::CConfigurationInterface::CPropertyNames * | getPropertyList (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::COperationList * | getOperations (void) |
virtual ::RTT::corba::CDescriptions * | getArguments (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 |
Definition at line 88 of file ServiceI.h.
|
protected |
Definition at line 98 of file ServiceI.h.
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().
|
virtual |
Definition at line 84 of file ServiceI.cpp.
PortableServer::POA_ptr RTT_corba_CService_i::_default_POA | ( | ) |
|
inlinevirtual |
Reimplemented from RTT_corba_CConfigurationInterface_i.
Definition at line 107 of file ServiceI.h.
References _default_POA(), getName(), getProviderNames(), getService(), getServiceDescription(), and hasService().
Referenced by RTT_corba_CTaskContext_i::getProvider(), and getService().
|
virtualinherited |
Definition at line 268 of file ConfigurationInterfaceI.cpp.
References RTT::Error, and RTT_corba_CConfigurationInterface_i::getAttributeDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
virtualinherited |
Definition at line 257 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getAttributeDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
inherited |
Definition at line 357 of file OperationInterfaceI.cpp.
References RTT::internal::OperationCallerC::arg(), RTT::internal::OperationCallerC::check(), RTT::corba::CorbaTypeTransporter::createAny(), RTT::corba::CorbaTypeTransporter::createDataSource(), RTT::wrong_types_of_args_exception::expected_, RTT::OperationInterfacePart::getArgumentType(), RTT::internal::OperationCallerC::getCallDataSource(), RTT::types::TypeInfo::getProtocol(), ORO_CORBA_PROTOCOL_ID, RTT::internal::OperationCallerC::ready(), RTT::wrong_number_of_args_exception::received, RTT::wrong_types_of_args_exception::received_, RTT::corba::CorbaTypeTransporter::updateAny(), RTT::wrong_number_of_args_exception::wanted, RTT::Warning, and RTT::wrong_types_of_args_exception::whicharg.
|
virtualinherited |
Definition at line 320 of file OperationInterfaceI.cpp.
References RTT::internal::OperationCallerC::arg(), RTT::OperationInterfacePart::arity(), RTT::internal::OperationCallerC::check(), RTT::corba::CorbaTypeTransporter::createDataSource(), RTT::Error, RTT::wrong_types_of_args_exception::expected_, RTT::OperationInterfacePart::getArgumentType(), RTT::types::TypeInfo::getProtocol(), RTT::types::TypeInfo::getTypeName(), RTT::name_not_found_exception::name, ORO_CORBA_PROTOCOL_ID, RTT::wrong_number_of_args_exception::received, RTT::wrong_types_of_args_exception::received_, RTT::wrong_number_of_args_exception::wanted, and RTT::wrong_types_of_args_exception::whicharg.
|
staticinherited |
Definition at line 104 of file DataFlowI.cpp.
References RTT::corba::CDataFlowInterface_i::deregisterServant().
Referenced by RTT::corba::TaskContextServer::CleanupServers().
|
inherited |
Deregisters the given channel from the channel list.
Definition at line 231 of file DataFlowI.cpp.
References ACE_THROW_SPEC, RTT::base::OutputPortInterface::addConnection(), RTT::types::TypeInfo::buildChannelInput(), RTT::types::TypeInfo::buildChannelOutput(), RTT::types::TypeInfo::buildDataStorage(), RTT::base::InputPortInterface::channelReady(), RTT::corba::CInput, CORBA_CHECK_THREAD, RTT::corba::CorbaTypeTransporter::createChannelElement_i(), RTT::base::OutputPortInterface::createConnection(), RTT::types::TypeTransporter::createStream(), RTT::base::PortInterface::createStream(), RTT::Debug, RTT::base::PortInterface::disconnect(), RTT::Error, RTT::corba::CDataFlowInterface_i::getLocalInterface(), RTT::base::PortInterface::getName(), RTT::DataFlowInterface::getPort(), RTT::types::TypeInfo::getProtocol(), RTT::base::PortInterface::getTypeInfo(), RTT::types::TypeInfo::getTypeName(), RTT::Info, RTT::corba::CConnPolicy::name_id, RTT::ConnPolicy::name_id, ORO_CORBA_PROTOCOL_ID, RTT::corba::CConnPolicy::pull, RTT::base::PortInterface::removeConnection(), RTT::corba::CRemoteChannelElement_i::setCDataFlowInterface(), RTT::base::PortInterface::setInterface(), RTT::base::ChannelElementBase::setOutput(), toCORBA(), toRTT(), RTT::corba::CConnPolicy::transport, and RTT::Warning.
Referenced by RTT::corba::RemoteChannelElement< T >::disconnect(), and RTT::corba::RemoteChannelElement< T >::remoteDisconnect().
|
staticinherited |
Definition at line 87 of file DataFlowI.cpp.
References RTT::Debug.
Referenced by RTT::corba::TaskContextServer::CleanupServer(), and RTT::corba::CDataFlowInterface_i::clearServants().
|
inherited |
Definition at line 255 of file OperationInterfaceI.cpp.
References RTT::OperationInterfacePart::getArgumentList().
|
virtualinherited |
Definition at line 278 of file OperationInterfaceI.cpp.
References RTT::OperationInterfacePart::arity(), RTT::OperationInterfacePart::getArgumentType(), and RTT::types::TypeInfo::getTypeName().
|
inherited |
Definition at line 299 of file OperationInterfaceI.cpp.
References RTT::OperationInterfacePart::arity().
|
inherited |
Definition at line 160 of file ConfigurationInterfaceI.cpp.
References RTT::corba::CorbaTypeTransporter::createAny(), RTT::base::AttributeBase::getDataSource(), RTT::types::TypeInfo::getProtocol(), RTT::ConfigurationInterface::getValue(), RTT::ConfigurationInterface::hasAttribute(), and ORO_CORBA_PROTOCOL_ID.
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
inherited |
Definition at line 115 of file ConfigurationInterfaceI.cpp.
References RTT::ConfigurationInterface::getAttribute(), and RTT::base::AttributeBase::getDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this(), RTT_corba_CConfigurationInterface_i::attributeFromString(), RTT_corba_CConfigurationInterface_i::attributeToString(), RTT_corba_CConfigurationInterface_i::getAttributeType(), and RTT_corba_CConfigurationInterface_i::getAttributeTypeName().
|
inherited |
Definition at line 124 of file ConfigurationInterfaceI.cpp.
References RTT::ConfigurationInterface::getAttributeNames().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
virtualinherited |
Definition at line 239 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getAttributeDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
virtualinherited |
Definition at line 248 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getAttributeDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
inherited |
Definition at line 306 of file OperationInterfaceI.cpp.
References RTT::OperationInterfacePart::collectArity().
|
virtualinherited |
Definition at line 288 of file OperationInterfaceI.cpp.
References RTT::OperationInterfacePart::collectArity(), RTT::OperationInterfacePart::getCollectType(), and RTT::types::TypeInfo::getTypeName().
|
inherited |
Definition at line 78 of file DataFlowI.cpp.
|
virtualinherited |
Definition at line 313 of file OperationInterfaceI.cpp.
References RTT::OperationInterfacePart::description().
|
staticinherited |
Definition at line 113 of file DataFlowI.cpp.
Referenced by RTT::corba::CDataFlowInterface_i::deregisterChannel().
|
virtual |
|
virtualinherited |
Definition at line 236 of file OperationInterfaceI.cpp.
References RTT::internal::OperationInterfacePartFused< Signature >::getName(), RTT::OperationInterface::getNames(), and RTT::OperationInterface::isSynchronous().
|
inherited |
Definition at line 189 of file ConfigurationInterfaceI.cpp.
References RTT::corba::CorbaTypeTransporter::createAny(), RTT::Error, RTT_corba_CConfigurationInterface_i::getPropertyDataSource(), RTT::types::TypeInfo::getProtocol(), ORO_CORBA_PROTOCOL_ID, and RTT::ConfigurationInterface::properties().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
inherited |
Definition at line 106 of file ConfigurationInterfaceI.cpp.
References RTT::findProperty(), and RTT::ConfigurationInterface::properties().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this(), RTT_corba_CConfigurationInterface_i::getProperty(), RTT_corba_CConfigurationInterface_i::getPropertyType(), RTT_corba_CConfigurationInterface_i::getPropertyTypeName(), RTT_corba_CConfigurationInterface_i::hasProperty(), RTT_corba_CConfigurationInterface_i::propertyFromString(), RTT_corba_CConfigurationInterface_i::propertyToString(), and RTT_corba_CConfigurationInterface_i::setProperty().
|
inherited |
Definition at line 137 of file ConfigurationInterfaceI.cpp.
References RTT::corba::CConfigurationInterface::CProperty::description, RTT::listProperties(), RTT::listPropertyDescriptions(), RTT::corba::CConfigurationInterface::CProperty::name, and RTT::ConfigurationInterface::properties().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
virtualinherited |
Definition at line 288 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getPropertyDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
virtualinherited |
Definition at line 297 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getPropertyDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
RTT::corba::CService::CProviderNames * RTT_corba_CService_i::getProviderNames | ( | void | ) |
|
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().
|
virtualinherited |
Definition at line 271 of file OperationInterfaceI.cpp.
References RTT::OperationInterfacePart::resultType().
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().
|
virtual |
|
inherited |
Definition at line 226 of file ConfigurationInterfaceI.cpp.
References RTT::ConfigurationInterface::hasAttribute().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
inherited |
Definition at line 282 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getPropertyDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
CORBA::Boolean RTT_corba_CService_i::hasService | ( | const char * | name | ) |
|
inherited |
Definition at line 232 of file ConfigurationInterfaceI.cpp.
References RTT::base::AttributeBase::getDataSource(), and RTT::ConfigurationInterface::getValue().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
virtualinherited |
Definition at line 317 of file ConfigurationInterfaceI.cpp.
References RTT::Error, and RTT_corba_CConfigurationInterface_i::getPropertyDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
virtualinherited |
Definition at line 306 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getPropertyDataSource().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
staticinherited |
Definition at line 83 of file DataFlowI.cpp.
Referenced by RTT::corba::CDataFlowInterface_i::getRemoteInterface().
|
inherited |
Definition at line 413 of file OperationInterfaceI.cpp.
References RTT::internal::OperationCallerC::arg(), RTT::internal::OperationCallerC::check(), RTT::corba::CorbaTypeTransporter::createDataSource(), RTT::wrong_types_of_args_exception::expected_, RTT::OperationInterfacePart::getArgumentType(), RTT::OperationInterface::getPart(), RTT::types::TypeInfo::getProtocol(), RTT::plugin::PluginLoader::Instance(), RTT::OperationInterface::isSynchronous(), ORO_CORBA_PROTOCOL_ID, RTT::internal::OperationCallerC::ready(), RTT::wrong_number_of_args_exception::received, RTT::wrong_types_of_args_exception::received_, RTT::internal::OperationCallerC::send(), RTT::internal::SendHandleC::setAutoCollect(), RTT::wrong_number_of_args_exception::wanted, and RTT::wrong_types_of_args_exception::whicharg.
|
inherited |
Definition at line 176 of file ConfigurationInterfaceI.cpp.
References RTT::base::AttributeBase::getDataSource(), RTT::types::TypeInfo::getProtocol(), RTT::ConfigurationInterface::getValue(), RTT::ConfigurationInterface::hasAttribute(), ORO_CORBA_PROTOCOL_ID, and RTT::corba::CorbaTypeTransporter::updateFromAny().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
inherited |
Definition at line 211 of file ConfigurationInterfaceI.cpp.
References RTT_corba_CConfigurationInterface_i::getPropertyDataSource(), RTT::types::TypeInfo::getProtocol(), ORO_CORBA_PROTOCOL_ID, RTT::ConfigurationInterface::properties(), and RTT::corba::CorbaTypeTransporter::updateFromAny().
Referenced by RTT_corba_CConfigurationInterface_i::activate_this().
|
protected |
Definition at line 95 of file ServiceI.h.
Referenced by _default_POA(), and getService().
|
protected |
Definition at line 96 of file ServiceI.h.
Referenced by getName(), getProviderNames(), getService(), getServiceDescription(), and hasService().
|
protected |
Definition at line 99 of file ServiceI.h.
Referenced by getService().