18 #ifndef RTC_RTOBJECT_H 19 #define RTC_RTOBJECT_H 25 #include <rtm/idl/RTCSkel.h> 26 #include <rtm/idl/OpenRTMSkel.h> 38 #define ECOTHER_OFFSET 1000 42 class Configuration_impl;
46 #pragma warning( disable : 4290 ) 52 class ExecutionContextBase;
53 typedef ExecutionContextHandle_t
UniqueId;
90 :
public virtual POA_OpenRTM::DataFlowComponent,
91 public virtual PortableServer::RefCountServantBase
134 RTObject_impl(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
182 virtual ReturnCode_t onInitialize();
213 virtual ReturnCode_t onFinalize();
353 virtual ReturnCode_t onDeactivated(
RTC::UniqueId exec_handle);
536 virtual ReturnCode_t onStateUpdate(
RTC::UniqueId exec_handle);
575 virtual ReturnCode_t onRateChanged(
RTC::UniqueId exec_handle);
616 virtual ReturnCode_t initialize()
617 throw (CORBA::SystemException);
664 virtual ReturnCode_t finalize()
665 throw (CORBA::SystemException);
710 virtual ReturnCode_t exit()
711 throw (CORBA::SystemException);
746 virtual CORBA::Boolean is_alive(ExecutionContext_ptr exec_context)
747 throw (CORBA::SystemException);
776 virtual ExecutionContext_ptr get_context(UniqueId exec_handle)
777 throw (CORBA::SystemException);
797 virtual ExecutionContextList* get_owned_contexts()
798 throw (CORBA::SystemException);
818 virtual ExecutionContextList* get_participating_contexts()
819 throw (CORBA::SystemException);
835 virtual ExecutionContextHandle_t
836 get_context_handle(ExecutionContext_ptr cxt)
837 throw (CORBA::SystemException);
869 UniqueId attach_context(ExecutionContext_ptr exec_context)
870 throw (CORBA::SystemException);
872 UniqueId bindContext(ExecutionContext_ptr exec_context);
915 ReturnCode_t detach_context(UniqueId exec_handle)
916 throw (CORBA::SystemException);
941 throw (CORBA::SystemException);
962 virtual PortServiceList* get_ports()
963 throw (CORBA::SystemException);
1017 virtual ReturnCode_t on_initialize()
1018 throw (CORBA::SystemException);
1044 virtual ReturnCode_t on_finalize()
1045 throw (CORBA::SystemException);
1075 virtual ReturnCode_t on_startup(UniqueId exec_handle)
1076 throw (CORBA::SystemException);
1106 virtual ReturnCode_t on_shutdown(UniqueId exec_handle)
1107 throw (CORBA::SystemException);
1135 virtual ReturnCode_t on_activated(UniqueId exec_handle)
1136 throw (CORBA::SystemException);
1165 virtual ReturnCode_t on_deactivated(UniqueId exec_handle)
1166 throw (CORBA::SystemException);
1200 virtual ReturnCode_t on_aborting(UniqueId exec_handle)
1201 throw (CORBA::SystemException);
1246 virtual ReturnCode_t on_error(UniqueId exec_handle)
1247 throw (CORBA::SystemException);
1283 virtual ReturnCode_t on_reset(UniqueId exec_handle)
1284 throw (CORBA::SystemException);
1331 virtual ReturnCode_t on_execute(UniqueId exec_handle)
1332 throw (CORBA::SystemException);
1377 virtual ReturnCode_t on_state_update(UniqueId exec_handle)
1378 throw (CORBA::SystemException);
1416 virtual ReturnCode_t on_rate_changed(UniqueId exec_handle)
1417 throw (CORBA::SystemException);
1459 virtual SDOPackage::OrganizationList* get_owned_organizations()
1460 throw (CORBA::SystemException,
1461 SDOPackage::NotAvailable, SDOPackage::InternalError);
1499 virtual char* get_sdo_id()
1500 throw (CORBA::SystemException,
1501 SDOPackage::NotAvailable, SDOPackage::InternalError);
1536 virtual char* get_sdo_type()
1537 throw (CORBA::SystemException,
1538 SDOPackage::NotAvailable, SDOPackage::InternalError);
1576 virtual SDOPackage::DeviceProfile* get_device_profile()
1577 throw (CORBA::SystemException,
1578 SDOPackage::NotAvailable, SDOPackage::InternalError);
1616 virtual SDOPackage::ServiceProfileList* get_service_profiles()
1617 throw (CORBA::SystemException,
1618 SDOPackage::NotAvailable, SDOPackage::InternalError);
1661 virtual SDOPackage::ServiceProfile* get_service_profile(
const char*
id)
1662 throw (CORBA::SystemException,
1663 SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
1664 SDOPackage::InternalError);
1713 virtual SDOPackage::SDOService_ptr get_sdo_service(
const char*
id)
1714 throw (CORBA::SystemException,
1715 SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
1716 SDOPackage::InternalError);
1763 throw (CORBA::SystemException,
1764 SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
1765 SDOPackage::InternalError);
1810 virtual SDOPackage::Monitoring_ptr get_monitoring()
1811 throw (CORBA::SystemException,
1812 SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
1813 SDOPackage::InternalError);
1850 virtual SDOPackage::OrganizationList* get_organizations()
1851 throw (CORBA::SystemException,
1852 SDOPackage::NotAvailable, SDOPackage::InternalError);
1885 virtual SDOPackage::NVList* get_status_list()
1886 throw (CORBA::SystemException,
1887 SDOPackage::NotAvailable, SDOPackage::InternalError);
1925 virtual CORBA::Any* get_status(
const char* name)
1926 throw (CORBA::SystemException,
1927 SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
1928 SDOPackage::InternalError);
1955 return m_profile.instance_name;
1977 void setInstanceName(
const char* instance_name);
2001 return m_profile.type_name;
2026 return m_profile.description;
2052 return m_profile.version;
2077 return m_profile.vendor;
2102 return m_profile.category;
2124 std::vector<std::string> getNamingNames();
2145 void setObjRef(
const RTObject_ptr rtobj);
2166 RTObject_ptr getObjRef()
const;
2250 template <
typename VarType>
2252 const char* def_val,
2255 RTC_TRACE((
"bindParameter(%s (default: %s))", param_name, def_val));
2256 m_configsets.bindParameter(param_name, var, def_val, trans);
2350 void updateParameters(
const char* config_set);
2419 bool addPort(PortService_ptr port);
2517 void registerPort(PortService_ptr port);
2579 bool addInPort(
const char* name,
InPortBase& inport);
2580 const std::vector<InPortBase*>&
getInPorts()
const {
return m_inports;};
2581 const std::vector<OutPortBase*>&
getOutPorts()
const {
return m_outports;};
2608 void registerInPort(
const char* name,
InPortBase& inport);
2638 bool addOutPort(
const char* name,
OutPortBase& outport);
2665 void registerOutPort(
const char* name,
OutPortBase& outport);
2756 bool removePort(PortService_ptr port);
2818 void deletePort(PortService_ptr port);
2859 void deletePortByName(
const char* port_name);
2911 ExecutionContext_ptr getExecutionContext(
RTC::UniqueId ec_id);
3020 ReturnCode_t setExecutionRate(
RTC::UniqueId ec_id,
double rate);
3197 bool addSdoServiceProvider(
const SDOPackage::ServiceProfile& prof,
3207 bool removeSdoServiceProvider(
const char*
id);
3216 bool addSdoServiceConsumer(
const SDOPackage::ServiceProfile& prof);
3225 bool removeSdoServiceConsumer(
const char*
id);
3305 void setReadAll(
bool read=
true,
bool completion=
false);
3341 void setWriteAll(
bool write=
true,
bool completion=
false);
3360 void finalizePorts();
3374 void finalizeContexts();
3454 bool autoclean =
true);
3457 template <
class Listener>
3461 void (
Listener::*memfunc)(UniqueId ec_id))
3468 : m_obj(obj), m_memfunc(memfunc)
3471 void operator()(UniqueId ec_id)
3473 (m_obj.*m_memfunc)(ec_id);
3477 typedef void (
Listener::*Memfunc)(UniqueId ec_id);
3480 Noname* listener(
new Noname(obj, memfunc));
3481 addPreComponentActionListener(listener_type, listener,
true);
3505 removePreComponentActionListener(
3585 addPostComponentActionListener(
3588 bool autoclean =
true);
3590 template <
class Listener>
3594 void (
Listener::*memfunc)(UniqueId ec_id,
3602 : m_obj(obj), m_memfunc(memfunc)
3605 void operator()(UniqueId ec_id, ReturnCode_t ret)
3607 (m_obj.*m_memfunc)(ec_id, ret);
3611 typedef void (
Listener::*Memfunc)(UniqueId ec_id, ReturnCode_t ret);
3614 Noname* listener(
new Noname(obj, memfunc));
3615 addPostComponentActionListener(listener_type, listener,
true);
3639 removePostComponentActionListener(
3701 bool autoclean =
true);
3703 template <
class Listener>
3707 void (
Listener::*memfunc)(
const RTC::PortProfile&))
3714 void (
Listener::*memfunc)(
const RTC::PortProfile&))
3715 : m_obj(obj), m_memfunc(memfunc)
3718 void operator()(
const RTC::PortProfile& pprofile)
3720 (m_obj.*m_memfunc)(pprofile);
3724 typedef void (
Listener::*Memfunc)(
const RTC::PortProfile&);
3727 Noname* listener(
new Noname(obj, memfunc));
3728 addPortActionListener(listener_type, listener,
true);
3812 void addExecutionContextActionListener(ECActionListenerType listener_type,
3813 ECActionListener* listener,
3814 bool autoclean =
true);
3816 template <
class Listener>
3820 void (
Listener::*memfunc)(UniqueId))
3823 :
public ECActionListener
3827 : m_obj(obj), m_memfunc(memfunc)
3830 void operator()(UniqueId ec_id)
3832 (m_obj.*m_memfunc)(ec_id);
3839 Noname* listener(
new Noname(obj, memfunc));
3840 addExecutionContextActionListener(listener_type, listener,
true);
3865 removeExecutionContextActionListener(ECActionListenerType listener_type,
3866 ECActionListener* listener);
3925 bool autoclean =
true);
3927 template <
class Listener>
3931 void (
Listener::*memfunc)(
const char*,
3939 void (
Listener::*memfunc)(
const char*, ConnectorProfile&))
3940 : m_obj(obj), m_memfunc(memfunc)
3943 void operator()(
const char* portname, ConnectorProfile& cprofile)
3945 (m_obj.*m_memfunc)(portname, cprofile);
3949 typedef void (
Listener::*Memfunc)(
const char*, ConnectorProfile&);
3952 Noname* listener(
new Noname(obj, memfunc));
3953 addPortConnectListener(listener_type, listener,
true);
4041 bool autoclean =
true);
4043 template <
class Listener>
4047 void (
Listener::*memfunc)(
const char*,
4056 void (
Listener::*memfunc)(
const char*,
4059 : m_obj(obj), m_memfunc(memfunc)
4062 void operator()(
const char* portname,
4063 ConnectorProfile& cprofile,
4066 (m_obj.*m_memfunc)(portname, cprofile, ret);
4070 typedef void (
Listener::*Memfunc)(
const char* portname,
4071 ConnectorProfile& cprofile,
4075 Noname* listener(
new Noname(obj, memfunc));
4076 addPortConnectRetListener(listener_type, listener,
true);
4139 bool autoclean =
true);
4141 template <
class Listener>
4145 void (
Listener::*memfunc)(
const char*,
4153 void (
Listener::*memfunc)(
const char*,
const char*))
4154 : m_obj(obj), m_memfunc(memfunc)
4157 void operator()(
const char* config_set_name,
4158 const char* config_param_name)
4160 (m_obj.*m_memfunc)(config_set_name, config_param_name);
4164 typedef void (
Listener::*Memfunc)(
const char*,
const char*);
4167 Noname* listener(
new Noname(obj, memfunc));
4168 addConfigurationParamListener(listener_type, listener,
true);
4232 bool autoclean =
true);
4234 template <
class Listener>
4247 : m_obj(obj), m_memfunc(memfunc)
4252 (m_obj.*m_memfunc)(config_set);
4259 Noname* listener(
new Noname(obj, memfunc));
4260 addConfigurationSetListener(listener_type, listener,
true);
4326 bool autoclean =
true);
4328 template <
class Listener>
4332 void (
Listener::*memfunc)(
const char*))
4339 : m_obj(obj), m_memfunc(memfunc)
4342 virtual void operator()(
const char* config_set_name)
4344 (m_obj.*m_memfunc)(config_set_name);
4348 typedef void (
Listener::*Memfunc)(
const char*);
4351 Noname* listener(
new Noname(obj, memfunc));
4352 addConfigurationSetNameListener(type, listener,
true);
4445 m_actionListeners.preaction_[
PRE_ON_ERROR].notify(ec_id);
4450 m_actionListeners.preaction_[
PRE_ON_RESET].notify(ec_id);
4505 m_actionListeners.postaction_[
POST_ON_ERROR].notify(ec_id, ret);
4510 m_actionListeners.postaction_[
POST_ON_RESET].notify(ec_id, ret);
4530 m_actionListeners.portaction_[
ADD_PORT].notify(pprof);
4535 m_actionListeners.portaction_[
REMOVE_PORT].notify(pprof);
4540 m_actionListeners.ecaction_[
EC_ATTACHED].notify(ec_id);
4545 m_actionListeners.ecaction_[
EC_DETACHED].notify(ec_id);
4554 getPrivateContextOptions(std::vector<coil::Properties>& ec_args);
4566 getContextOptions(std::vector<coil::Properties>& ec_args);
4576 ReturnCode_t createContexts(std::vector<coil::Properties>& ec_args);
4639 return m_id == std::string(prof.id);
4908 return m_name == std::string(nv.name);
4928 if (!::CORBA::is_nil(ecs))
4931 ExecutionContext::_duplicate(ecs));
4946 : m_ec(ExecutionContext::_duplicate(ec))
4953 if (!::CORBA::is_nil(ecs))
4955 ExecutionContext_var ec;
4956 ec = ExecutionContext::_narrow(ecs);
4957 return m_ec->_is_equivalent(ec);
4981 : m_comp(
RTC::LightweightRTObject::_duplicate(comp))
4986 if (!::CORBA::is_nil(ec) && !ec->_non_existent())
4989 ec->deactivate_component(RTC::LightweightRTObject::_duplicate(m_comp));
4999 #pragma warning( default : 4290 ) 5002 #endif // RTC_RTOBJECT ComponentProfile m_profile
ComponentProfile.
Definition: RTObject.h:4690
Definition: ComponentActionListener.h:486
PortAdmin m_portAdmin
List of Port Object reference.
Definition: RTObject.h:4708
bool operator()(ExecutionContextService_ptr ecs)
Definition: RTObject.h:4949
Definition: ComponentActionListener.h:228
PortConnectListenerType
The types of ConnectorDataListener.
Definition: PortConnectListener.h:49
Definition: ComponentActionListener.h:59
const char * getVendor()
[local interface] Get vendor
Definition: RTObject.h:2074
Logger rtclog
Logger stream.
Definition: RTObject.h:4587
svc_name(const char *id)
Definition: RTObject.h:4636
RTC's Port base class.
void onAddPort(const PortProfile &pprof)
Definition: RTObject.h:4528
void postOnStateUpdate(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4518
Definition: ComponentActionListener.h:227
void postOnReset(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4508
void preOnAborting(UniqueId ec_id)
Definition: RTObject.h:4438
RTC::ReturnCode_t reset(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
std::vector< InPortBase * > m_inports
List of InPortBase*.
Definition: RTObject.h:4717
void onRemovePort(const PortProfile &pprof)
Definition: RTObject.h:4533
PortConnectRetListener class.
Definition: PortConnectListener.h:202
Definition: ComponentActionListener.h:485
std::string m_id
Definition: RTObject.h:4641
const char * getCategory()
[local interface] Get category information
Definition: RTObject.h:2099
Definition: ComponentActionListener.h:64
PostComponentActionListenerType
The types of ConnectorDataListener.
Definition: ComponentActionListener.h:219
PreComponentActionListener * addPreComponentActionListener(PreCompActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId ec_id))
Definition: RTObject.h:3459
RT Conponent CORBA service/consumer Port.
Definition: CorbaPort.h:620
std::string m_name
Definition: RTObject.h:4910
#define RTC_TRACE(fmt)
Trace level log output macro.
Definition: SystemLogger.h:551
ExecutionContextServiceList m_ecOther
List of participating ExecutionContextService.
Definition: RTObject.h:4753
Definition: SdoServiceAdmin.h:148
bool m_readAllCompletion
flag for readAll()
Definition: RTObject.h:4843
SDOPackage::Configuration_impl * m_pSdoConfigImpl
The pointer to the SDO Configuration Object.
Definition: RTObject.h:4651
void preOnShutdown(UniqueId ec_id)
Definition: RTObject.h:4423
component action listener class
bool stringTo(To &val, const char *str)
Convert the given std::string to object.
Definition: stringutil.h:633
ConfigurationSetListener * addConfigurationSetListener(ConfigurationSetListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const coil::Properties &config_set))
Definition: RTObject.h:4236
Definition: ComponentActionListener.h:61
ECActionListener * addExecutionContextActionListener(ECActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId))
Definition: RTObject.h:3818
RT component logger class.
deactivate_comps(LightweightRTObject_ptr comp)
Definition: RTObject.h:4980
SDOPackage::OrganizationList m_sdoOrganizations
SDO organization.
Definition: RTObject.h:4669
void onAttachExecutionContext(UniqueId ec_id)
Definition: RTObject.h:4538
Definition: ComponentActionListener.h:67
RTC::ReturnCode_t activate(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
ConfigAdmin class.
Definition: ConfigAdmin.h:610
CORBA::ORB_var m_pORB
The pointer to the ORB.
Definition: RTObject.h:4604
PortActionListenerType
The types of PortActionListener.
Definition: ComponentActionListener.h:376
void postOnExecute(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4513
A base class for ExecutionContext.
Definition: ExecutionContextBase.h:369
Functor to find from SDOService Profile List by id.
Definition: RTObject.h:4634
bool m_exiting
RTC Finalize Status Flag.
Definition: RTObject.h:4771
Definition: ComponentActionListener.h:226
RT-Component class.
Definition: RTObject.h:89
SDOPackage::Configuration_var m_pSdoConfig
The pointer to the SDO Configuration Interface.
Definition: RTObject.h:4660
ConfigurationSetListener class.
Definition: ConfigurationListener.h:188
ConfigurationSetNameListener class.
Definition: ConfigurationListener.h:298
ComponentActionListeners m_actionListeners
ComponentActionListener holder.
Definition: RTObject.h:4876
ConfigurationParamListener class.
Definition: ConfigurationListener.h:72
Manager class.
Definition: Manager.h:81
Configuration Administration classes.
ConfigurationSetNameListenerType
The types of ConfigurationSetNameListener.
Definition: ConfigurationListener.h:266
PreComponentActionListenerType
The types of ConnectorDataListener.
Definition: ComponentActionListener.h:57
PortActionListener * addPortActionListener(PortActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const RTC::PortProfile &))
Definition: RTObject.h:3705
void postOnShutdown(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4483
PortConnectRetListener * addPortConnectRetListener(PortConnectRetListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, ConnectorProfile &, ReturnCode_t))
Definition: RTObject.h:4045
ExecutionContextList & m_eclist
Definition: RTObject.h:4934
nv_name(const char *name)
Definition: RTObject.h:4905
PostComponentActionListener * addPostComponentActionListener(PostCompActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId ec_id, ReturnCode_t ret))
Definition: RTObject.h:3592
ConfigurationParamListener * addConfigurationParamListener(ConfigurationParamListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, const char *))
Definition: RTObject.h:4143
void postOnError(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4503
bool m_readAll
flag for readAll()
Definition: RTObject.h:4816
Definition: ComponentActionListener.h:62
Manager * m_pManager
Manager object.
Definition: RTObject.h:4595
Definition: ComponentActionListener.h:68
SdoServiceAdmin m_sdoservice
SDO Service Administrator Object.
Definition: RTObject.h:4807
bool m_created
Created Status Flag.
Definition: RTObject.h:4762
SDOPackage::NVList m_sdoStatus
SDO Status.
Definition: RTObject.h:4678
void operator()(ExecutionContextService_ptr ecs)
Definition: RTObject.h:4926
void preOnRateChanged(UniqueId ec_id)
Definition: RTObject.h:4463
PreComponentActionListener class.
Definition: ComponentActionListener.h:120
Definition: ComponentActionListener.h:379
PortableServer::POA_var m_pPOA
The pointer to the POA.
Definition: RTObject.h:4613
SDO Package.
Definition: InPortConsumer.h:33
void operator()(ExecutionContextService_ptr ec)
Definition: RTObject.h:4984
void postOnAborting(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4498
Definition: ComponentActionListener.h:231
PreComponentActionListener PreCompActionListener
Adding PreComponentAction type listener.
Definition: RTObject.h:3449
PortAdmin class.
Definition: PortAdmin.h:52
SDO service administration class.
Definition: ComponentActionListener.h:66
Definition: ComponentActionListener.h:69
Functor to copy ExecutionContext.
Definition: RTObject.h:4920
const char * getTypeName()
[local interface] Get type name
Definition: RTObject.h:1998
PortConnectListener class.
Definition: PortConnectListener.h:82
ConfigAdmin & getConfigService()
Getting configuration service.
Definition: RTObject.h:2327
const std::vector< OutPortBase * > & getOutPorts() const
Definition: RTObject.h:2581
void preOnError(UniqueId ec_id)
Definition: RTObject.h:4443
SDOPackage::OrganizationList m_sdoOwnedOrganizations
SDO owned organization list.
Definition: RTObject.h:4625
ExecutionContextActionListenerType ECActionListenerType
Adding ExecutionContextAction type listener.
Definition: RTObject.h:3810
void onDetachExecutionContext(UniqueId ec_id)
Definition: RTObject.h:4543
ConfigurationSetNameListener * addConfigurationSetNameListener(ConfigurationSetNameListenerType type, Listener &obj, void(Listener::*memfunc)(const char *))
Definition: RTObject.h:4330
ExecutionContextHandle_t UniqueId
Definition: ComponentActionListener.h:32
Definition: ComponentActionListener.h:229
PortConnectListener * addPortConnectListener(PortConnectListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, ConnectorProfile &))
Definition: RTObject.h:3929
Port base class.
Definition: PortBase.h:135
Functor to find NVList.
Definition: RTObject.h:4903
bool bindParameter(const char *param_name, VarType &var, const char *def_val, bool(*trans)(VarType &, const char *)=coil::stringTo)
Setup for configuration parameters.
Definition: RTObject.h:2251
PortConnectListeners class.
Definition: PortConnectListener.h:487
std::vector< ExecutionContextBase * > m_eclist
List of ExecutionContextBase.
Definition: RTObject.h:4744
RTC::LightweightRTObject_var LightweightRTObject_var
Definition: ExecutionContextWorker.h:45
Definition: ComponentActionListener.h:221
ComponentActionListeners class.
Definition: ComponentActionListener.h:1018
ExecutionContext_var m_ec
Definition: RTObject.h:4966
Definition: ComponentActionListener.h:378
Definition: SdoServiceProviderBase.h:134
Output base class.
Definition: OutPortBase.h:235
bool operator()(const SDOPackage::NameValue &nv)
Definition: RTObject.h:4906
ExecutionContextServiceList m_ecMine
List of owned ExecutionContextService.
Definition: RTObject.h:4735
bool m_writeAllCompletion
flag for writeAll()
Definition: RTObject.h:4861
const char * getDescription()
[local interface] GetDescription
Definition: RTObject.h:2023
PostComponentActionListener PostCompActionListener
Adding PostComponentAction type listener.
Definition: RTObject.h:3582
ConfigAdmin m_configsets
Configuration Administrator Object.
Definition: RTObject.h:4798
void preOnReset(UniqueId ec_id)
Definition: RTObject.h:4448
Functor to deactivate RTC.
Definition: RTObject.h:4978
Logger class.
Definition: SystemLogger.h:99
LightweightRTObject_var m_comp
Definition: RTObject.h:4993
const char * getVersion()
[local interface] Get version information
Definition: RTObject.h:2049
Port for InPort.
Definition: InPortBase.h:74
const char * getInstanceName()
[local interface] Get instance name
Definition: RTObject.h:1952
void postOnFinalize(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4473
RTC::Port implementation for InPort.
PortConnectRetListenerType
The types of PortConnectRetListenerType.
Definition: PortConnectListener.h:161
RTC::ReturnCode_t deactivate(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
Definition: ComponentActionListener.h:222
void preOnStateUpdate(UniqueId ec_id)
Definition: RTObject.h:4458
Class represents a set of properties.
Definition: Properties.h:101
ec_find(ExecutionContext_ptr &ec)
Definition: RTObject.h:4945
void postOnActivated(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4488
void postOnInitialize(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4468
Definition: ComponentActionListener.h:70
coil::Properties get_configuration(const RTC::RTObject_ptr rtc, const std::string conf_name)
bool operator()(const SDOPackage::ServiceProfile &prof)
Definition: RTObject.h:4637
Property list class (derived from Java Properties)
void preOnStartup(UniqueId ec_id)
Definition: RTObject.h:4418
coil::Properties get_component_profile(const RTC::RTObject_ptr rtc)
RTC handling utility functions.
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
void push_back(CorbaSequence &seq, SequenceElement elem)
Push the new element back to the CORBA sequence.
Definition: CORBA_SeqUtil.h:175
PortConnectListeners m_portconnListeners
PortConnectListener holder.
Definition: RTObject.h:4891
Configuration implementation class.
Definition: SdoConfiguration.h:154
Definition: ComponentActionListener.h:225
Definition: ComponentActionListener.h:223
Definition: ComponentActionListener.h:65
const std::vector< InPortBase * > & getInPorts() const
Definition: RTObject.h:2580
void preOnActivated(UniqueId ec_id)
Definition: RTObject.h:4428
void postOnStartup(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4478
coil::Properties m_properties
Alive Status Flag.
Definition: RTObject.h:4789
Definition: ComponentActionListener.h:224
ExecutionContextActionListener ECActionListener
Definition: RTObject.h:3811
ExecutionContextActionListenerType
The types of ExecutionContextActionListener.
Definition: ComponentActionListener.h:483
PostComponentActionListenerType PostCompActionListenerType
Definition: RTObject.h:3583
void preOnInitialize(UniqueId ec_id)
Definition: RTObject.h:4408
bool m_writeAll
flag for writeAll()
Definition: RTObject.h:4825
ConfigurationSetListenerType
The types of ConfigurationSetListener.
Definition: ConfigurationListener.h:158
RTObject_var m_objref
Object reference.
Definition: RTObject.h:4699
Definition: ComponentActionListener.h:230
PortActionListener class.
Definition: ComponentActionListener.h:403
PreComponentActionListenerType PreCompActionListenerType
Definition: RTObject.h:3450
std::vector< OutPortBase * > m_outports
List of OutPortBase*.
Definition: RTObject.h:4726
Functor to find ExecutionContext.
Definition: RTObject.h:4943
Definition: ComponentActionListener.h:60
Definition: ComponentActionListener.h:63
port's internal action listener classes
ec_copy(ExecutionContextList &eclist)
Definition: RTObject.h:4922
RTC's Port administration class.
PostComponentActionListener class.
Definition: ComponentActionListener.h:283
void postOnDeactivated(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4493
void preOnFinalize(UniqueId ec_id)
Definition: RTObject.h:4413
ConfigurationParamListenerType
The types of ConnectorDataListener.
Definition: ConfigurationListener.h:43
Definition: ComponentActionListener.h:232
ExecutionContextActionListener class.
Definition: ComponentActionListener.h:510
void postOnRateChanged(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4523
void preOnDeactivated(UniqueId ec_id)
Definition: RTObject.h:4433
void preOnExecute(UniqueId ec_id)
Definition: RTObject.h:4453