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);
3234 void removeSdoServiceConsumerStartThread(
const char*
id);
3314 void setReadAll(
bool read=
true,
bool completion=
false);
3350 void setWriteAll(
bool write=
true,
bool completion=
false);
3369 void finalizePorts();
3383 void finalizeContexts();
3463 bool autoclean =
true);
3466 template <
class Listener>
3470 void (
Listener::*memfunc)(UniqueId ec_id))
3477 : m_obj(obj), m_memfunc(memfunc)
3480 void operator()(UniqueId ec_id)
3482 (m_obj.*m_memfunc)(ec_id);
3486 typedef void (
Listener::*Memfunc)(UniqueId ec_id);
3489 Noname* listener(
new Noname(obj, memfunc));
3490 addPreComponentActionListener(listener_type, listener,
true);
3514 removePreComponentActionListener(
3594 addPostComponentActionListener(
3597 bool autoclean =
true);
3599 template <
class Listener>
3603 void (
Listener::*memfunc)(UniqueId ec_id,
3611 : m_obj(obj), m_memfunc(memfunc)
3614 void operator()(UniqueId ec_id, ReturnCode_t ret)
3616 (m_obj.*m_memfunc)(ec_id, ret);
3620 typedef void (
Listener::*Memfunc)(UniqueId ec_id, ReturnCode_t ret);
3623 Noname* listener(
new Noname(obj, memfunc));
3624 addPostComponentActionListener(listener_type, listener,
true);
3648 removePostComponentActionListener(
3710 bool autoclean =
true);
3712 template <
class Listener>
3716 void (
Listener::*memfunc)(
const RTC::PortProfile&))
3723 void (
Listener::*memfunc)(
const RTC::PortProfile&))
3724 : m_obj(obj), m_memfunc(memfunc)
3727 void operator()(
const RTC::PortProfile& pprofile)
3729 (m_obj.*m_memfunc)(pprofile);
3733 typedef void (
Listener::*Memfunc)(
const RTC::PortProfile&);
3736 Noname* listener(
new Noname(obj, memfunc));
3737 addPortActionListener(listener_type, listener,
true);
3821 void addExecutionContextActionListener(ECActionListenerType listener_type,
3822 ECActionListener* listener,
3823 bool autoclean =
true);
3825 template <
class Listener>
3829 void (
Listener::*memfunc)(UniqueId))
3832 :
public ECActionListener
3836 : m_obj(obj), m_memfunc(memfunc)
3839 void operator()(UniqueId ec_id)
3841 (m_obj.*m_memfunc)(ec_id);
3848 Noname* listener(
new Noname(obj, memfunc));
3849 addExecutionContextActionListener(listener_type, listener,
true);
3874 removeExecutionContextActionListener(ECActionListenerType listener_type,
3875 ECActionListener* listener);
3934 bool autoclean =
true);
3936 template <
class Listener>
3940 void (
Listener::*memfunc)(
const char*,
3948 void (
Listener::*memfunc)(
const char*, ConnectorProfile&))
3949 : m_obj(obj), m_memfunc(memfunc)
3952 void operator()(
const char* portname, ConnectorProfile& cprofile)
3954 (m_obj.*m_memfunc)(portname, cprofile);
3958 typedef void (
Listener::*Memfunc)(
const char*, ConnectorProfile&);
3961 Noname* listener(
new Noname(obj, memfunc));
3962 addPortConnectListener(listener_type, listener,
true);
4050 bool autoclean =
true);
4052 template <
class Listener>
4056 void (
Listener::*memfunc)(
const char*,
4065 void (
Listener::*memfunc)(
const char*,
4068 : m_obj(obj), m_memfunc(memfunc)
4071 void operator()(
const char* portname,
4072 ConnectorProfile& cprofile,
4075 (m_obj.*m_memfunc)(portname, cprofile, ret);
4079 typedef void (
Listener::*Memfunc)(
const char* portname,
4080 ConnectorProfile& cprofile,
4084 Noname* listener(
new Noname(obj, memfunc));
4085 addPortConnectRetListener(listener_type, listener,
true);
4148 bool autoclean =
true);
4150 template <
class Listener>
4154 void (
Listener::*memfunc)(
const char*,
4162 void (
Listener::*memfunc)(
const char*,
const char*))
4163 : m_obj(obj), m_memfunc(memfunc)
4166 void operator()(
const char* config_set_name,
4167 const char* config_param_name)
4169 (m_obj.*m_memfunc)(config_set_name, config_param_name);
4173 typedef void (
Listener::*Memfunc)(
const char*,
const char*);
4176 Noname* listener(
new Noname(obj, memfunc));
4177 addConfigurationParamListener(listener_type, listener,
true);
4241 bool autoclean =
true);
4243 template <
class Listener>
4256 : m_obj(obj), m_memfunc(memfunc)
4261 (m_obj.*m_memfunc)(config_set);
4268 Noname* listener(
new Noname(obj, memfunc));
4269 addConfigurationSetListener(listener_type, listener,
true);
4335 bool autoclean =
true);
4337 template <
class Listener>
4341 void (
Listener::*memfunc)(
const char*))
4348 : m_obj(obj), m_memfunc(memfunc)
4351 virtual void operator()(
const char* config_set_name)
4353 (m_obj.*m_memfunc)(config_set_name);
4357 typedef void (
Listener::*Memfunc)(
const char*);
4360 Noname* listener(
new Noname(obj, memfunc));
4361 addConfigurationSetNameListener(type, listener,
true);
4454 m_actionListeners.preaction_[
PRE_ON_ERROR].notify(ec_id);
4459 m_actionListeners.preaction_[
PRE_ON_RESET].notify(ec_id);
4514 m_actionListeners.postaction_[
POST_ON_ERROR].notify(ec_id, ret);
4519 m_actionListeners.postaction_[
POST_ON_RESET].notify(ec_id, ret);
4539 m_actionListeners.portaction_[
ADD_PORT].notify(pprof);
4544 m_actionListeners.portaction_[
REMOVE_PORT].notify(pprof);
4549 m_actionListeners.ecaction_[
EC_ATTACHED].notify(ec_id);
4554 m_actionListeners.ecaction_[
EC_DETACHED].notify(ec_id);
4563 getPrivateContextOptions(std::vector<coil::Properties>& ec_args);
4575 getContextOptions(std::vector<coil::Properties>& ec_args);
4585 ReturnCode_t createContexts(std::vector<coil::Properties>& ec_args);
4648 return m_id == std::string(prof.id);
4913 m_sdoservice = sdoservice;
4943 return m_name == std::string(nv.name);
4963 if (!::CORBA::is_nil(ecs))
4966 ExecutionContext::_duplicate(ecs));
4981 : m_ec(ExecutionContext::_duplicate(ec))
4988 if (!::CORBA::is_nil(ecs))
4990 ExecutionContext_var ec;
4991 ec = ExecutionContext::_narrow(ecs);
4992 return m_ec->_is_equivalent(ec);
5016 : m_comp(
RTC::LightweightRTObject::_duplicate(comp))
5021 if (!::CORBA::is_nil(ec) && !ec->_non_existent())
5024 ec->deactivate_component(RTC::LightweightRTObject::_duplicate(m_comp));
5034 #pragma warning( default : 4290 ) 5037 #endif // RTC_RTOBJECT ComponentProfile m_profile
ComponentProfile.
Definition: RTObject.h:4699
const std::vector< InPortBase * > & getInPorts() const
Definition: RTObject.h:2580
Definition: ComponentActionListener.h:486
PortAdmin m_portAdmin
List of Port Object reference.
Definition: RTObject.h:4717
bool operator()(ExecutionContextService_ptr ecs)
Definition: RTObject.h:4984
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:4596
svc_name(const char *id)
Definition: RTObject.h:4645
RTC's Port base class.
void onAddPort(const PortProfile &pprof)
Definition: RTObject.h:4537
void postOnStateUpdate(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4527
Definition: ComponentActionListener.h:227
void postOnReset(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4517
void preOnAborting(UniqueId ec_id)
Definition: RTObject.h:4447
RTC::ReturnCode_t reset(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
std::vector< InPortBase * > m_inports
List of InPortBase*.
Definition: RTObject.h:4726
void onRemovePort(const PortProfile &pprof)
Definition: RTObject.h:4542
PortConnectRetListener class.
Definition: PortConnectListener.h:202
Definition: ComponentActionListener.h:485
std::string m_id
Definition: RTObject.h:4650
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
SdoServiceConsumerTerminator()
Definition: RTObject.h:4907
PreComponentActionListener * addPreComponentActionListener(PreCompActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId ec_id))
Definition: RTObject.h:3468
RT Conponent CORBA service/consumer Port.
Definition: CorbaPort.h:620
std::string m_name
Definition: RTObject.h:4945
#define RTC_TRACE(fmt)
Trace level log output macro.
Definition: SystemLogger.h:588
ExecutionContextServiceList m_ecOther
List of participating ExecutionContextService.
Definition: RTObject.h:4762
Definition: SdoServiceAdmin.h:148
bool m_readAllCompletion
flag for readAll()
Definition: RTObject.h:4852
SDOPackage::Configuration_impl * m_pSdoConfigImpl
The pointer to the SDO Configuration Object.
Definition: RTObject.h:4660
void preOnShutdown(UniqueId ec_id)
Definition: RTObject.h:4432
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:4245
Definition: ComponentActionListener.h:61
ECActionListener * addExecutionContextActionListener(ECActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId))
Definition: RTObject.h:3827
RT component logger class.
deactivate_comps(LightweightRTObject_ptr comp)
Definition: RTObject.h:5015
SDOPackage::OrganizationList m_sdoOrganizations
SDO organization.
Definition: RTObject.h:4678
void onAttachExecutionContext(UniqueId ec_id)
Definition: RTObject.h:4547
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:4613
PortActionListenerType
The types of PortActionListener.
Definition: ComponentActionListener.h:376
void postOnExecute(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4522
A base class for ExecutionContext.
Definition: ExecutionContextBase.h:369
Functor to find from SDOService Profile List by id.
Definition: RTObject.h:4643
bool m_exiting
RTC Finalize Status Flag.
Definition: RTObject.h:4780
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:4669
ConfigurationSetListener class.
Definition: ConfigurationListener.h:188
ConfigurationSetNameListener class.
Definition: ConfigurationListener.h:298
ComponentActionListeners m_actionListeners
ComponentActionListener holder.
Definition: RTObject.h:4885
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:3714
void postOnShutdown(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4492
PortConnectRetListener * addPortConnectRetListener(PortConnectRetListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, ConnectorProfile &, ReturnCode_t))
Definition: RTObject.h:4054
ExecutionContextList & m_eclist
Definition: RTObject.h:4969
nv_name(const char *name)
Definition: RTObject.h:4940
PostComponentActionListener * addPostComponentActionListener(PostCompActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId ec_id, ReturnCode_t ret))
Definition: RTObject.h:3601
ConfigurationParamListener * addConfigurationParamListener(ConfigurationParamListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, const char *))
Definition: RTObject.h:4152
void postOnError(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4512
bool m_readAll
flag for readAll()
Definition: RTObject.h:4825
Definition: ComponentActionListener.h:62
Manager * m_pManager
Manager object.
Definition: RTObject.h:4604
Definition: ComponentActionListener.h:68
SdoServiceAdmin m_sdoservice
SDO Service Administrator Object.
Definition: RTObject.h:4816
bool m_created
Created Status Flag.
Definition: RTObject.h:4771
SDOPackage::NVList m_sdoStatus
SDO Status.
Definition: RTObject.h:4687
void operator()(ExecutionContextService_ptr ecs)
Definition: RTObject.h:4961
void preOnRateChanged(UniqueId ec_id)
Definition: RTObject.h:4472
PreComponentActionListener class.
Definition: ComponentActionListener.h:120
Definition: ComponentActionListener.h:379
PortableServer::POA_var m_pPOA
The pointer to the POA.
Definition: RTObject.h:4622
SdoServiceConsumerTerminator * m_sdoconterm
Definition: RTObject.h:4925
SDO Package.
Definition: InPortConsumer.h:33
void operator()(ExecutionContextService_ptr ec)
Definition: RTObject.h:5019
void postOnAborting(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4507
Definition: ComponentActionListener.h:231
PreComponentActionListener PreCompActionListener
Adding PreComponentAction type listener.
Definition: RTObject.h:3458
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:4955
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
void preOnError(UniqueId ec_id)
Definition: RTObject.h:4452
SDOPackage::OrganizationList m_sdoOwnedOrganizations
SDO owned organization list.
Definition: RTObject.h:4634
ExecutionContextActionListenerType ECActionListenerType
Adding ExecutionContextAction type listener.
Definition: RTObject.h:3819
void onDetachExecutionContext(UniqueId ec_id)
Definition: RTObject.h:4552
ConfigurationSetNameListener * addConfigurationSetNameListener(ConfigurationSetNameListenerType type, Listener &obj, void(Listener::*memfunc)(const char *))
Definition: RTObject.h:4339
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:3938
Port base class.
Definition: PortBase.h:135
Functor to find NVList.
Definition: RTObject.h:4938
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:4753
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:5001
Definition: ComponentActionListener.h:378
Definition: SdoServiceProviderBase.h:134
Output base class.
Definition: OutPortBase.h:235
bool operator()(const SDOPackage::NameValue &nv)
Definition: RTObject.h:4941
ExecutionContextServiceList m_ecMine
List of owned ExecutionContextService.
Definition: RTObject.h:4744
bool m_writeAllCompletion
flag for writeAll()
Definition: RTObject.h:4870
void setSdoServiceConsumer(SdoServiceAdmin *sdoservice, const char *id)
Definition: RTObject.h:4911
const char * getDescription()
[local interface] GetDescription
Definition: RTObject.h:2023
PostComponentActionListener PostCompActionListener
Adding PostComponentAction type listener.
Definition: RTObject.h:3591
ConfigAdmin m_configsets
Configuration Administrator Object.
Definition: RTObject.h:4807
void preOnReset(UniqueId ec_id)
Definition: RTObject.h:4457
Functor to deactivate RTC.
Definition: RTObject.h:5013
Logger class.
Definition: SystemLogger.h:99
LightweightRTObject_var m_comp
Definition: RTObject.h:5028
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:4482
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)
const std::vector< OutPortBase * > & getOutPorts() const
Definition: RTObject.h:2581
Definition: ComponentActionListener.h:222
void preOnStateUpdate(UniqueId ec_id)
Definition: RTObject.h:4467
Class represents a set of properties.
Definition: Properties.h:101
ec_find(ExecutionContext_ptr &ec)
Definition: RTObject.h:4980
void postOnActivated(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4497
virtual int svc(void)
Execute thread.
Definition: RTObject.h:4916
void postOnInitialize(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4477
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:4646
Property list class (derived from Java Properties)
void preOnStartup(UniqueId ec_id)
Definition: RTObject.h:4427
Task class.
Definition: Task.h:39
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:4900
Configuration implementation class.
Definition: SdoConfiguration.h:154
Definition: ComponentActionListener.h:225
Definition: ComponentActionListener.h:223
Definition: ComponentActionListener.h:65
void preOnActivated(UniqueId ec_id)
Definition: RTObject.h:4437
void postOnStartup(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4487
coil::Properties m_properties
Alive Status Flag.
Definition: RTObject.h:4798
Definition: ComponentActionListener.h:224
ExecutionContextActionListener ECActionListener
Definition: RTObject.h:3820
ExecutionContextActionListenerType
The types of ExecutionContextActionListener.
Definition: ComponentActionListener.h:483
Definition: RTObject.h:4903
PostComponentActionListenerType PostCompActionListenerType
Definition: RTObject.h:3592
void preOnInitialize(UniqueId ec_id)
Definition: RTObject.h:4417
bool m_writeAll
flag for writeAll()
Definition: RTObject.h:4834
ConfigurationSetListenerType
The types of ConfigurationSetListener.
Definition: ConfigurationListener.h:158
RTObject_var m_objref
Object reference.
Definition: RTObject.h:4708
Definition: ComponentActionListener.h:230
PortActionListener class.
Definition: ComponentActionListener.h:403
PreComponentActionListenerType PreCompActionListenerType
Definition: RTObject.h:3459
std::vector< OutPortBase * > m_outports
List of OutPortBase*.
Definition: RTObject.h:4735
Functor to find ExecutionContext.
Definition: RTObject.h:4978
Definition: ComponentActionListener.h:60
Definition: ComponentActionListener.h:63
port's internal action listener classes
ec_copy(ExecutionContextList &eclist)
Definition: RTObject.h:4957
RTC's Port administration class.
PostComponentActionListener class.
Definition: ComponentActionListener.h:283
bool removeSdoServiceConsumer(const char *id)
Remove Service Consumer.
void postOnDeactivated(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4502
void preOnFinalize(UniqueId ec_id)
Definition: RTObject.h:4422
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:4532
void preOnDeactivated(UniqueId ec_id)
Definition: RTObject.h:4442
void preOnExecute(UniqueId ec_id)
Definition: RTObject.h:4462