OpenRTM-aist  1.2.0
RTObject.h
[詳解]
1 // -*- C++ -*-
18 #ifndef RTC_RTOBJECT_H
19 #define RTC_RTOBJECT_H
20 
21 // CORBA header include
22 #include <coil/Properties.h>
23 
24 #include <rtm/RTC.h>
25 #include <rtm/idl/RTCSkel.h>
26 #include <rtm/idl/OpenRTMSkel.h>
27 #include <rtm/PortBase.h>
28 #include <rtm/PortAdmin.h>
29 #include <rtm/InPortBase.h>
30 #include <rtm/OutPortBase.h>
31 #include <rtm/CorbaPort.h>
32 #include <rtm/ConfigAdmin.h>
33 #include <rtm/SystemLogger.h>
35 #include <rtm/SdoServiceAdmin.h>
37 
38 #define ECOTHER_OFFSET 1000
39 
40 namespace SDOPackage
41 {
42  class Configuration_impl;
43 };
44 
45 #ifdef WIN32
46 #pragma warning( disable : 4290 )
47 #endif
48 
49 namespace RTC
50 {
51  class Manager;
52  class ExecutionContextBase;
53  typedef ExecutionContextHandle_t UniqueId;
54 
90  : public virtual POA_OpenRTM::DataFlowComponent,
91  public virtual PortableServer::RefCountServantBase
92  {
93  public:
112  RTObject_impl(Manager* manager);
113 
134  RTObject_impl(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
135 
147  virtual ~RTObject_impl(void);
148 
149  protected:
150  //============================================================
151  // Overridden functions
152  //============================================================
180  // The initialize action (on CREATED->ALIVE transition)
181  // formaer rtc_init_entry()
182  virtual ReturnCode_t onInitialize();
183 
211  // The finalize action (on ALIVE->END transition)
212  // formaer rtc_exiting_entry()
213  virtual ReturnCode_t onFinalize();
214 
246  // The startup action when ExecutionContext startup
247  // former rtc_starting_entry()
248  virtual ReturnCode_t onStartup(RTC::UniqueId exec_handle);
249 
281  // The shutdown action when ExecutionContext stop
282  // former rtc_stopping_entry()
283  virtual ReturnCode_t onShutdown(RTC::UniqueId exec_handle);
284 
316  // The activated action (Active state entry action)
317  // former rtc_active_entry()
318  virtual ReturnCode_t onActivated(RTC::UniqueId exec_handle);
319 
351  // The deactivated action (Active state exit action)
352  // former rtc_active_exit()
353  virtual ReturnCode_t onDeactivated(RTC::UniqueId exec_handle);
354 
391  // The execution action that is invoked periodically
392  // former rtc_active_do()
393  virtual ReturnCode_t onExecute(RTC::UniqueId exec_handle);
394 
426  // The aborting action when main logic error occurred.
427  // former rtc_aborting_entry()
428  virtual ReturnCode_t onAborting(RTC::UniqueId exec_handle);
429 
460  // The error action in ERROR state
461  // former rtc_error_do()
462  virtual ReturnCode_t onError(RTC::UniqueId exec_handle);
463 
494  // The reset action that is invoked resetting
495  // This is same but different the former rtc_init_entry()
496  virtual ReturnCode_t onReset(RTC::UniqueId exec_handle);
497 
534  // The state update action that is invoked after onExecute() action
535  // no corresponding operation exists in OpenRTm-aist-0.2.0
536  virtual ReturnCode_t onStateUpdate(RTC::UniqueId exec_handle);
537 
573  // The action that is invoked when execution context's rate is changed
574  // no corresponding operation exists in OpenRTm-aist-0.2.0
575  virtual ReturnCode_t onRateChanged(RTC::UniqueId exec_handle);
576 
577  public:
578  //============================================================
579  // RTC::LightweightRTObject
580  //============================================================
616  virtual ReturnCode_t initialize()
617  throw (CORBA::SystemException);
618 
664  virtual ReturnCode_t finalize()
665  throw (CORBA::SystemException);
666 
710  virtual ReturnCode_t exit()
711  throw (CORBA::SystemException);
712 
746  virtual CORBA::Boolean is_alive(ExecutionContext_ptr exec_context)
747  throw (CORBA::SystemException);
748 
776  virtual ExecutionContext_ptr get_context(UniqueId exec_handle)
777  throw (CORBA::SystemException);
778 
797  virtual ExecutionContextList* get_owned_contexts()
798  throw (CORBA::SystemException);
799 
818  virtual ExecutionContextList* get_participating_contexts()
819  throw (CORBA::SystemException);
820 
835  virtual ExecutionContextHandle_t
836  get_context_handle(ExecutionContext_ptr cxt)
837  throw (CORBA::SystemException);
838 
869  UniqueId attach_context(ExecutionContext_ptr exec_context)
870  throw (CORBA::SystemException);
871 
872  UniqueId bindContext(ExecutionContext_ptr exec_context);
873 
915  ReturnCode_t detach_context(UniqueId exec_handle)
916  throw (CORBA::SystemException);
917 
918  //============================================================
919  // RTC::RTObject
920  //============================================================
940  virtual ComponentProfile* get_component_profile()
941  throw (CORBA::SystemException);
942 
962  virtual PortServiceList* get_ports()
963  throw (CORBA::SystemException);
964 
986  // virtual ExecutionContextServiceList* get_execution_context_services()
987  // throw (CORBA::SystemException);
988 
989  //============================================================
990  // RTC::ComponentAction
991  //============================================================
1017  virtual ReturnCode_t on_initialize()
1018  throw (CORBA::SystemException);
1019 
1044  virtual ReturnCode_t on_finalize()
1045  throw (CORBA::SystemException);
1046 
1075  virtual ReturnCode_t on_startup(UniqueId exec_handle)
1076  throw (CORBA::SystemException);
1077 
1106  virtual ReturnCode_t on_shutdown(UniqueId exec_handle)
1107  throw (CORBA::SystemException);
1108 
1135  virtual ReturnCode_t on_activated(UniqueId exec_handle)
1136  throw (CORBA::SystemException);
1137 
1165  virtual ReturnCode_t on_deactivated(UniqueId exec_handle)
1166  throw (CORBA::SystemException);
1167 
1200  virtual ReturnCode_t on_aborting(UniqueId exec_handle)
1201  throw (CORBA::SystemException);
1202 
1246  virtual ReturnCode_t on_error(UniqueId exec_handle)
1247  throw (CORBA::SystemException);
1248 
1283  virtual ReturnCode_t on_reset(UniqueId exec_handle)
1284  throw (CORBA::SystemException);
1285 
1286  //============================================================
1287  // RTC::DataFlowComponentAction
1288  //============================================================
1331  virtual ReturnCode_t on_execute(UniqueId exec_handle)
1332  throw (CORBA::SystemException);
1333 
1377  virtual ReturnCode_t on_state_update(UniqueId exec_handle)
1378  throw (CORBA::SystemException);
1379 
1416  virtual ReturnCode_t on_rate_changed(UniqueId exec_handle)
1417  throw (CORBA::SystemException);
1418 
1419  //============================================================
1420  // SDOPackage::SdoSystemElement
1421  //============================================================
1459  virtual SDOPackage::OrganizationList* get_owned_organizations()
1460  throw (CORBA::SystemException,
1461  SDOPackage::NotAvailable, SDOPackage::InternalError);
1462 
1463  //============================================================
1464  // SDOPackage::SDO
1465  //============================================================
1499  virtual char* get_sdo_id()
1500  throw (CORBA::SystemException,
1501  SDOPackage::NotAvailable, SDOPackage::InternalError);
1502 
1536  virtual char* get_sdo_type()
1537  throw (CORBA::SystemException,
1538  SDOPackage::NotAvailable, SDOPackage::InternalError);
1539 
1576  virtual SDOPackage::DeviceProfile* get_device_profile()
1577  throw (CORBA::SystemException,
1578  SDOPackage::NotAvailable, SDOPackage::InternalError);
1579 
1616  virtual SDOPackage::ServiceProfileList* get_service_profiles()
1617  throw (CORBA::SystemException,
1618  SDOPackage::NotAvailable, SDOPackage::InternalError);
1619 
1661  virtual SDOPackage::ServiceProfile* get_service_profile(const char* id)
1662  throw (CORBA::SystemException,
1663  SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
1664  SDOPackage::InternalError);
1665 
1713  virtual SDOPackage::SDOService_ptr get_sdo_service(const char* id)
1714  throw (CORBA::SystemException,
1715  SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
1716  SDOPackage::InternalError);
1717 
1762  virtual SDOPackage::Configuration_ptr get_configuration()
1763  throw (CORBA::SystemException,
1764  SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
1765  SDOPackage::InternalError);
1766 
1810  virtual SDOPackage::Monitoring_ptr get_monitoring()
1811  throw (CORBA::SystemException,
1812  SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
1813  SDOPackage::InternalError);
1814 
1850  virtual SDOPackage::OrganizationList* get_organizations()
1851  throw (CORBA::SystemException,
1852  SDOPackage::NotAvailable, SDOPackage::InternalError);
1853 
1885  virtual SDOPackage::NVList* get_status_list()
1886  throw (CORBA::SystemException,
1887  SDOPackage::NotAvailable, SDOPackage::InternalError);
1888 
1925  virtual CORBA::Any* get_status(const char* name)
1926  throw (CORBA::SystemException,
1927  SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
1928  SDOPackage::InternalError);
1929 
1930  //============================================================
1931  // Local interfaces
1932  //============================================================
1952  const char* getInstanceName()
1953  {
1954  RTC_TRACE(("getInstanceName()"));
1955  return m_profile.instance_name;
1956  }
1957 
1977  void setInstanceName(const char* instance_name);
1978 
1998  const char* getTypeName()
1999  {
2000  RTC_TRACE(("getTypeName()"));
2001  return m_profile.type_name;
2002  }
2003 
2023  const char* getDescription()
2024  {
2025  RTC_TRACE(("getDescription()"));
2026  return m_profile.description;
2027  }
2028 
2049  const char* getVersion()
2050  {
2051  RTC_TRACE(("getVersion()"));
2052  return m_profile.version;
2053  }
2054 
2074  const char* getVendor()
2075  {
2076  RTC_TRACE(("getVendor()"));
2077  return m_profile.vendor;
2078  }
2079 
2099  const char* getCategory()
2100  {
2101  RTC_TRACE(("getCategory()"));
2102  return m_profile.category;
2103  }
2104 
2124  std::vector<std::string> getNamingNames();
2125 
2145  void setObjRef(const RTObject_ptr rtobj);
2146 
2166  RTObject_ptr getObjRef() const;
2167 
2193  void setProperties(const coil::Properties& prop);
2194 
2216  coil::Properties& getProperties();
2217 
2250  template <typename VarType>
2251  bool bindParameter(const char* param_name, VarType& var,
2252  const char* def_val,
2253  bool (*trans)(VarType&, const char*) = coil::stringTo)
2254  {
2255  RTC_TRACE(("bindParameter(%s (default: %s))", param_name, def_val));
2256  m_configsets.bindParameter(param_name, var, def_val, trans);
2257  return true;
2258  }
2259 
2327  ConfigAdmin& getConfigService() { return m_configsets; }
2328 
2350  void updateParameters(const char* config_set);
2351 
2385  bool addPort(PortBase& port);
2419  bool addPort(PortService_ptr port);
2453  bool addPort(CorbaPort& port);
2485  void registerPort(PortBase& port);
2517  void registerPort(PortService_ptr port);
2549  void registerPort(CorbaPort& port);
2550 
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);
2609 
2638  bool addOutPort(const char* name, OutPortBase& outport);
2665  void registerOutPort(const char* name, OutPortBase& outport);
2666 
2688  bool removeInPort(InPortBase& port);
2689 
2711  bool removeOutPort(OutPortBase& port);
2712 
2734  bool removePort(PortBase& port);
2756  bool removePort(PortService_ptr port);
2778  bool removePort(CorbaPort& port);
2798  void deletePort(PortBase& port);
2818  void deletePort(PortService_ptr port);
2838  void deletePort(CorbaPort& port);
2839 
2859  void deletePortByName(const char* port_name);
2860 
2911  ExecutionContext_ptr getExecutionContext(RTC::UniqueId ec_id);
2912 
2965  double getExecutionRate(RTC::UniqueId ec_id);
2966 
3020  ReturnCode_t setExecutionRate(RTC::UniqueId ec_id, double rate);
3021 
3074  bool isOwnExecutionContext(RTC::UniqueId ec_id);
3075 
3114  ReturnCode_t deactivate(RTC::UniqueId ec_id);
3115 
3152  ReturnCode_t activate(RTC::UniqueId ec_id);
3153 
3188  ReturnCode_t reset(RTC::UniqueId ec_id);
3189 
3197  bool addSdoServiceProvider(const SDOPackage::ServiceProfile& prof,
3198  SdoServiceProviderBase* provider);
3199 
3207  bool removeSdoServiceProvider(const char* id);
3208 
3216  bool addSdoServiceConsumer(const SDOPackage::ServiceProfile& prof);
3217 
3225  bool removeSdoServiceConsumer(const char* id);
3226 
3247  bool readAll();
3248 
3269  bool writeAll();
3270 
3305  void setReadAll(bool read=true, bool completion=false);
3306 
3341  void setWriteAll(bool write=true, bool completion=false);
3342 
3343 
3360  void finalizePorts();
3361 
3362 
3374  void finalizeContexts();
3375 
3376 
3451  void
3452  addPreComponentActionListener(PreComponentActionListenerType listener_type,
3453  PreComponentActionListener* listener,
3454  bool autoclean = true);
3455 
3456 
3457  template <class Listener>
3459  addPreComponentActionListener(PreCompActionListenerType listener_type,
3460  Listener& obj,
3461  void (Listener::*memfunc)(UniqueId ec_id))
3462  {
3463  class Noname
3465  {
3466  public:
3467  Noname(Listener& obj, void (Listener::*memfunc)(UniqueId))
3468  : m_obj(obj), m_memfunc(memfunc)
3469  {
3470  }
3471  void operator()(UniqueId ec_id)
3472  {
3473  (m_obj.*m_memfunc)(ec_id);
3474  }
3475  private:
3476  Listener& m_obj;
3477  typedef void (Listener::*Memfunc)(UniqueId ec_id);
3478  Memfunc m_memfunc;
3479  };
3480  Noname* listener(new Noname(obj, memfunc));
3481  addPreComponentActionListener(listener_type, listener, true);
3482  return listener;
3483  }
3484 
3504  void
3505  removePreComponentActionListener(
3506  PreComponentActionListenerType listener_type,
3507  PreComponentActionListener* listener);
3508 
3509 
3584  void
3585  addPostComponentActionListener(
3586  PostComponentActionListenerType listener_type,
3587  PostComponentActionListener* listener,
3588  bool autoclean = true);
3589 
3590  template <class Listener>
3592  addPostComponentActionListener(PostCompActionListenerType listener_type,
3593  Listener& obj,
3594  void (Listener::*memfunc)(UniqueId ec_id,
3595  ReturnCode_t ret))
3596  {
3597  class Noname
3599  {
3600  public:
3601  Noname(Listener& obj, void (Listener::*memfunc)(UniqueId, ReturnCode_t))
3602  : m_obj(obj), m_memfunc(memfunc)
3603  {
3604  }
3605  void operator()(UniqueId ec_id, ReturnCode_t ret)
3606  {
3607  (m_obj.*m_memfunc)(ec_id, ret);
3608  }
3609  private:
3610  Listener& m_obj;
3611  typedef void (Listener::*Memfunc)(UniqueId ec_id, ReturnCode_t ret);
3612  Memfunc m_memfunc;
3613  };
3614  Noname* listener(new Noname(obj, memfunc));
3615  addPostComponentActionListener(listener_type, listener, true);
3616  return listener;
3617  }
3618 
3638  void
3639  removePostComponentActionListener(
3640  PostComponentActionListenerType listener_type,
3641  PostComponentActionListener* listener);
3642 
3643 
3644 
3698  void
3699  addPortActionListener(PortActionListenerType listener_type,
3700  PortActionListener* listener,
3701  bool autoclean = true);
3702 
3703  template <class Listener>
3706  Listener& obj,
3707  void (Listener::*memfunc)(const RTC::PortProfile&))
3708  {
3709  class Noname
3710  : public PortActionListener
3711  {
3712  public:
3713  Noname(Listener& obj,
3714  void (Listener::*memfunc)(const RTC::PortProfile&))
3715  : m_obj(obj), m_memfunc(memfunc)
3716  {
3717  }
3718  void operator()(const RTC::PortProfile& pprofile)
3719  {
3720  (m_obj.*m_memfunc)(pprofile);
3721  }
3722  private:
3723  Listener& m_obj;
3724  typedef void (Listener::*Memfunc)(const RTC::PortProfile&);
3725  Memfunc m_memfunc;
3726  };
3727  Noname* listener(new Noname(obj, memfunc));
3728  addPortActionListener(listener_type, listener, true);
3729  return listener;
3730  }
3731 
3751  void
3752  removePortActionListener(PortActionListenerType listener_type,
3753  PortActionListener* listener);
3754 
3755 
3756 
3812  void addExecutionContextActionListener(ECActionListenerType listener_type,
3813  ECActionListener* listener,
3814  bool autoclean = true);
3815 
3816  template <class Listener>
3817  ECActionListener*
3818  addExecutionContextActionListener(ECActionListenerType listener_type,
3819  Listener& obj,
3820  void (Listener::*memfunc)(UniqueId))
3821  {
3822  class Noname
3823  : public ECActionListener
3824  {
3825  public:
3826  Noname(Listener& obj, void (Listener::*memfunc)(UniqueId))
3827  : m_obj(obj), m_memfunc(memfunc)
3828  {
3829  }
3830  void operator()(UniqueId ec_id)
3831  {
3832  (m_obj.*m_memfunc)(ec_id);
3833  }
3834  private:
3835  Listener& m_obj;
3836  typedef void (Listener::*Memfunc)(UniqueId);
3837  Memfunc m_memfunc;
3838  };
3839  Noname* listener(new Noname(obj, memfunc));
3840  addExecutionContextActionListener(listener_type, listener, true);
3841  return listener;
3842  }
3843 
3844 
3864  void
3865  removeExecutionContextActionListener(ECActionListenerType listener_type,
3866  ECActionListener* listener);
3867 
3868 
3923  void addPortConnectListener(PortConnectListenerType listener_type,
3924  PortConnectListener* listener,
3925  bool autoclean = true);
3926 
3927  template <class Listener>
3930  Listener& obj,
3931  void (Listener::*memfunc)(const char*,
3932  ConnectorProfile&))
3933  {
3934  class Noname
3935  : public PortConnectListener
3936  {
3937  public:
3938  Noname(Listener& obj,
3939  void (Listener::*memfunc)(const char*, ConnectorProfile&))
3940  : m_obj(obj), m_memfunc(memfunc)
3941  {
3942  }
3943  void operator()(const char* portname, ConnectorProfile& cprofile)
3944  {
3945  (m_obj.*m_memfunc)(portname, cprofile);
3946  }
3947  private:
3948  Listener& m_obj;
3949  typedef void (Listener::*Memfunc)(const char*, ConnectorProfile&);
3950  Memfunc m_memfunc;
3951  };
3952  Noname* listener(new Noname(obj, memfunc));
3953  addPortConnectListener(listener_type, listener, true);
3954  return listener;
3955  }
3956 
3957 
3977  void
3978  removePortConnectListener(PortConnectListenerType listener_type,
3979  PortConnectListener* listener);
3980 
4039  void addPortConnectRetListener(PortConnectRetListenerType listener_type,
4040  PortConnectRetListener* listener,
4041  bool autoclean = true);
4042 
4043  template <class Listener>
4046  Listener& obj,
4047  void (Listener::*memfunc)(const char*,
4048  ConnectorProfile&,
4049  ReturnCode_t))
4050  {
4051  class Noname
4052  : public PortConnectRetListener
4053  {
4054  public:
4055  Noname(Listener& obj,
4056  void (Listener::*memfunc)(const char*,
4057  ConnectorProfile&,
4058  ReturnCode_t))
4059  : m_obj(obj), m_memfunc(memfunc)
4060  {
4061  }
4062  void operator()(const char* portname,
4063  ConnectorProfile& cprofile,
4064  ReturnCode_t ret)
4065  {
4066  (m_obj.*m_memfunc)(portname, cprofile, ret);
4067  }
4068  private:
4069  Listener& m_obj;
4070  typedef void (Listener::*Memfunc)(const char* portname,
4071  ConnectorProfile& cprofile,
4072  ReturnCode_t ret);
4073  Memfunc m_memfunc;
4074  };
4075  Noname* listener(new Noname(obj, memfunc));
4076  addPortConnectRetListener(listener_type, listener, true);
4077  return listener;
4078  }
4079 
4080 
4100  void
4101  removePortConnectRetListener(PortConnectRetListenerType listener_type,
4102  PortConnectRetListener* listener);
4103 
4104 
4137  void addConfigurationParamListener(ConfigurationParamListenerType type,
4138  ConfigurationParamListener* listener,
4139  bool autoclean = true);
4140 
4141  template <class Listener>
4144  Listener& obj,
4145  void (Listener::*memfunc)(const char*,
4146  const char*))
4147  {
4148  class Noname
4150  {
4151  public:
4152  Noname(Listener& obj,
4153  void (Listener::*memfunc)(const char*, const char*))
4154  : m_obj(obj), m_memfunc(memfunc)
4155  {
4156  }
4157  void operator()(const char* config_set_name,
4158  const char* config_param_name)
4159  {
4160  (m_obj.*m_memfunc)(config_set_name, config_param_name);
4161  }
4162  private:
4163  Listener& m_obj;
4164  typedef void (Listener::*Memfunc)(const char*, const char*);
4165  Memfunc m_memfunc;
4166  };
4167  Noname* listener(new Noname(obj, memfunc));
4168  addConfigurationParamListener(listener_type, listener, true);
4169  return listener;
4170  }
4171 
4196  void removeConfigurationParamListener(ConfigurationParamListenerType type,
4197  ConfigurationParamListener* listener);
4198 
4230  void addConfigurationSetListener(ConfigurationSetListenerType type,
4231  ConfigurationSetListener* listener,
4232  bool autoclean = true);
4233 
4234  template <class Listener>
4237  Listener& obj,
4238  void (Listener::*memfunc)
4239  (const coil::Properties& config_set))
4240  {
4241  class Noname
4242  : public ConfigurationSetListener
4243  {
4244  public:
4245  Noname(Listener& obj,
4246  void (Listener::*memfunc)(const coil::Properties& config_set))
4247  : m_obj(obj), m_memfunc(memfunc)
4248  {
4249  }
4250  virtual void operator()(const coil::Properties& config_set)
4251  {
4252  (m_obj.*m_memfunc)(config_set);
4253  }
4254  private:
4255  Listener& m_obj;
4256  typedef void (Listener::*Memfunc)(const coil::Properties& config_set);
4257  Memfunc m_memfunc;
4258  };
4259  Noname* listener(new Noname(obj, memfunc));
4260  addConfigurationSetListener(listener_type, listener, true);
4261  return listener;
4262  }
4263 
4286  void removeConfigurationSetListener(ConfigurationSetListenerType type,
4287  ConfigurationSetListener* listener);
4288 
4323  void
4324  addConfigurationSetNameListener(ConfigurationSetNameListenerType type,
4325  ConfigurationSetNameListener* listener,
4326  bool autoclean = true);
4327 
4328  template <class Listener>
4331  Listener& obj,
4332  void (Listener::*memfunc)(const char*))
4333  {
4334  class Noname
4336  {
4337  public:
4338  Noname(Listener& obj, void (Listener::*memfunc)(const char*))
4339  : m_obj(obj), m_memfunc(memfunc)
4340  {
4341  }
4342  virtual void operator()(const char* config_set_name)
4343  {
4344  (m_obj.*m_memfunc)(config_set_name);
4345  }
4346  private:
4347  Listener& m_obj;
4348  typedef void (Listener::*Memfunc)(const char*);
4349  Memfunc m_memfunc;
4350  };
4351  Noname* listener(new Noname(obj, memfunc));
4352  addConfigurationSetNameListener(type, listener, true);
4353  return listener;
4354  }
4355 
4382  void
4383  removeConfigurationSetNameListener(ConfigurationSetNameListenerType type,
4384  ConfigurationSetNameListener* listener);
4385 
4386  protected:
4406  void shutdown();
4407 
4408  inline void preOnInitialize(UniqueId ec_id)
4409  {
4410  m_actionListeners.preaction_[PRE_ON_INITIALIZE].notify(ec_id);
4411  }
4412 
4413  inline void preOnFinalize(UniqueId ec_id)
4414  {
4415  m_actionListeners.preaction_[PRE_ON_FINALIZE].notify(ec_id);
4416  }
4417 
4418  inline void preOnStartup(UniqueId ec_id)
4419  {
4420  m_actionListeners.preaction_[PRE_ON_STARTUP].notify(ec_id);
4421  }
4422 
4423  inline void preOnShutdown(UniqueId ec_id)
4424  {
4425  m_actionListeners.preaction_[PRE_ON_SHUTDOWN].notify(ec_id);
4426  }
4427 
4428  inline void preOnActivated(UniqueId ec_id)
4429  {
4430  m_actionListeners.preaction_[PRE_ON_ACTIVATED].notify(ec_id);
4431  }
4432 
4433  inline void preOnDeactivated(UniqueId ec_id)
4434  {
4435  m_actionListeners.preaction_[PRE_ON_DEACTIVATED].notify(ec_id);
4436  }
4437 
4438  inline void preOnAborting(UniqueId ec_id)
4439  {
4440  m_actionListeners.preaction_[PRE_ON_ABORTING].notify(ec_id);
4441  }
4442 
4443  inline void preOnError(UniqueId ec_id)
4444  {
4445  m_actionListeners.preaction_[PRE_ON_ERROR].notify(ec_id);
4446  }
4447 
4448  inline void preOnReset(UniqueId ec_id)
4449  {
4450  m_actionListeners.preaction_[PRE_ON_RESET].notify(ec_id);
4451  }
4452 
4453  inline void preOnExecute(UniqueId ec_id)
4454  {
4455  m_actionListeners.preaction_[PRE_ON_EXECUTE].notify(ec_id);
4456  }
4457 
4458  inline void preOnStateUpdate(UniqueId ec_id)
4459  {
4460  m_actionListeners.preaction_[PRE_ON_STATE_UPDATE].notify(ec_id);
4461  }
4462 
4463  inline void preOnRateChanged(UniqueId ec_id)
4464  {
4465  m_actionListeners.preaction_[PRE_ON_RATE_CHANGED].notify(ec_id);
4466  }
4467 
4468  inline void postOnInitialize(UniqueId ec_id, ReturnCode_t ret)
4469  {
4470  m_actionListeners.postaction_[POST_ON_INITIALIZE].notify(ec_id, ret);
4471  }
4472 
4473  inline void postOnFinalize(UniqueId ec_id, ReturnCode_t ret)
4474  {
4475  m_actionListeners.postaction_[POST_ON_FINALIZE].notify(ec_id, ret);
4476  }
4477 
4478  inline void postOnStartup(UniqueId ec_id, ReturnCode_t ret)
4479  {
4480  m_actionListeners.postaction_[POST_ON_STARTUP].notify(ec_id, ret);
4481  }
4482 
4483  inline void postOnShutdown(UniqueId ec_id, ReturnCode_t ret)
4484  {
4485  m_actionListeners.postaction_[POST_ON_SHUTDOWN].notify(ec_id, ret);
4486  }
4487 
4488  inline void postOnActivated(UniqueId ec_id, ReturnCode_t ret)
4489  {
4490  m_actionListeners.postaction_[POST_ON_ACTIVATED].notify(ec_id, ret);
4491  }
4492 
4493  inline void postOnDeactivated(UniqueId ec_id, ReturnCode_t ret)
4494  {
4495  m_actionListeners.postaction_[POST_ON_DEACTIVATED].notify(ec_id, ret);
4496  }
4497 
4498  inline void postOnAborting(UniqueId ec_id, ReturnCode_t ret)
4499  {
4500  m_actionListeners.postaction_[POST_ON_ABORTING].notify(ec_id, ret);
4501  }
4502 
4503  inline void postOnError(UniqueId ec_id, ReturnCode_t ret)
4504  {
4505  m_actionListeners.postaction_[POST_ON_ERROR].notify(ec_id, ret);
4506  }
4507 
4508  inline void postOnReset(UniqueId ec_id, ReturnCode_t ret)
4509  {
4510  m_actionListeners.postaction_[POST_ON_RESET].notify(ec_id, ret);
4511  }
4512 
4513  inline void postOnExecute(UniqueId ec_id, ReturnCode_t ret)
4514  {
4515  m_actionListeners.postaction_[POST_ON_EXECUTE].notify(ec_id, ret);
4516  }
4517 
4518  inline void postOnStateUpdate(UniqueId ec_id, ReturnCode_t ret)
4519  {
4520  m_actionListeners.postaction_[POST_ON_STATE_UPDATE].notify(ec_id, ret);
4521  }
4522 
4523  inline void postOnRateChanged(UniqueId ec_id, ReturnCode_t ret)
4524  {
4525  m_actionListeners.postaction_[POST_ON_RATE_CHANGED].notify(ec_id, ret);
4526  }
4527 
4528  inline void onAddPort(const PortProfile& pprof)
4529  {
4530  m_actionListeners.portaction_[ADD_PORT].notify(pprof);
4531  }
4532 
4533  inline void onRemovePort(const PortProfile& pprof)
4534  {
4535  m_actionListeners.portaction_[REMOVE_PORT].notify(pprof);
4536  }
4537 
4538  inline void onAttachExecutionContext(UniqueId ec_id)
4539  {
4540  m_actionListeners.ecaction_[EC_ATTACHED].notify(ec_id);
4541  }
4542 
4543  inline void onDetachExecutionContext(UniqueId ec_id)
4544  {
4545  m_actionListeners.ecaction_[EC_DETACHED].notify(ec_id);
4546  }
4547 
4548  ReturnCode_t getInheritedECOptions(coil::Properties& default_opts);
4549 
4553  ReturnCode_t
4554  getPrivateContextOptions(std::vector<coil::Properties>& ec_args);
4555 
4559  ReturnCode_t
4560  getGlobalContextOptions(coil::Properties& global_ec_props);
4561 
4565  ReturnCode_t
4566  getContextOptions(std::vector<coil::Properties>& ec_args);
4567 
4571  ReturnCode_t findExistingEC(coil::Properties& ec_arg,
4576  ReturnCode_t createContexts(std::vector<coil::Properties>& ec_args);
4577 
4578 
4579  protected:
4587  mutable Logger rtclog;
4596 
4604  CORBA::ORB_var m_pORB;
4605 
4613  PortableServer::POA_var m_pPOA;
4614 
4615  //============================================================
4616  // SDO 関係の変数
4617  //============================================================
4625  SDOPackage::OrganizationList m_sdoOwnedOrganizations;
4626 
4634  struct svc_name
4635  {
4636  svc_name (const char* id) : m_id(id) {};
4637  bool operator()(const SDOPackage::ServiceProfile& prof)
4638  {
4639  return m_id == std::string(prof.id);
4640  }
4641  std::string m_id;
4642  }; // struct svc_name
4643 
4652 
4660  SDOPackage::Configuration_var m_pSdoConfig;
4661 
4669  SDOPackage::OrganizationList m_sdoOrganizations;
4670 
4678  SDOPackage::NVList m_sdoStatus;
4679 
4680  //============================================================
4681  // RTC 関係の変数
4682  //============================================================
4690  ComponentProfile m_profile;
4691 
4699  RTObject_var m_objref;
4700 
4709 
4717  std::vector<InPortBase*> m_inports;
4718 
4726  std::vector<OutPortBase*> m_outports;
4727 
4735  ExecutionContextServiceList m_ecMine;
4736 
4744  std::vector<ExecutionContextBase*> m_eclist;
4745 
4753  ExecutionContextServiceList m_ecOther;
4754 
4763 
4772 
4780  // bool m_alive;
4781 
4790 
4799 
4808 
4817 
4826 
4844 
4862 
4877 
4892 
4893  //------------------------------------------------------------
4894  // Functor
4895  //------------------------------------------------------------
4903  struct nv_name
4904  {
4905  nv_name(const char* name) : m_name(name) {};
4906  bool operator()(const SDOPackage::NameValue& nv)
4907  {
4908  return m_name == std::string(nv.name);
4909  }
4910  std::string m_name;
4911  }; // struct nv_name
4912 
4920  struct ec_copy
4921  {
4922  ec_copy(ExecutionContextList& eclist)
4923  : m_eclist(eclist)
4924  {
4925  }
4926  void operator()(ExecutionContextService_ptr ecs)
4927  {
4928  if (!::CORBA::is_nil(ecs))
4929  {
4930  CORBA_SeqUtil::push_back(m_eclist,
4931  ExecutionContext::_duplicate(ecs));
4932  }
4933  }
4934  ExecutionContextList& m_eclist;
4935  }; // struct ec_copy
4943  struct ec_find
4944  {
4945  ec_find(ExecutionContext_ptr& ec)
4946  : m_ec(ExecutionContext::_duplicate(ec))
4947  {
4948  }
4949  bool operator()(ExecutionContextService_ptr ecs)
4950  {
4951  try
4952  {
4953  if (!::CORBA::is_nil(ecs))
4954  {
4955  ExecutionContext_var ec;
4956  ec = ExecutionContext::_narrow(ecs);
4957  return m_ec->_is_equivalent(ec);
4958  }
4959  }
4960  catch (...)
4961  {
4962  return false;
4963  }
4964  return false;
4965  }
4966  ExecutionContext_var m_ec;
4967 
4968  }; // struct ec_find
4969  // ExecutionContextAdminList m_execContextList;
4970 
4979  {
4981  : m_comp(RTC::LightweightRTObject::_duplicate(comp))
4982  {
4983  }
4984  void operator()(ExecutionContextService_ptr ec)
4985  {
4986  if (!::CORBA::is_nil(ec) && !ec->_non_existent())
4987  {
4988 
4989  ec->deactivate_component(RTC::LightweightRTObject::_duplicate(m_comp));
4990  ec->stop();
4991  }
4992  }
4994  }; // struct deactivate_comps
4995  }; // class RTObject_impl
4996 }; // namespace RTC
4997 
4998 #ifdef WIN32
4999 #pragma warning( default : 4290 )
5000 #endif
5001 
5002 #endif // RTC_RTOBJECT
ComponentProfile m_profile
コンポーネントプロファイル
Definition: RTObject.h:4690
Definition: ComponentActionListener.h:486
PortAdmin m_portAdmin
Port のオブジェクトリファレンスのリスト
Definition: RTObject.h:4708
bool operator()(ExecutionContextService_ptr ecs)
Definition: RTObject.h:4949
Definition: ComponentActionListener.h:228
PortConnectListenerType
PortConnectListener のタイプ
Definition: PortConnectListener.h:49
Definition: ComponentActionListener.h:59
const char * getVendor()
[local interface] ベンダー情報の取得
Definition: RTObject.h:2074
Logger rtclog
ロガーストリーム
Definition: RTObject.h:4587
svc_name(const char *id)
Definition: RTObject.h:4636
RTC&#39;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)
RTCを指定した実行コンテキストでリセットする
std::vector< InPortBase * > m_inports
InPortBase* のリスト
Definition: RTObject.h:4717
void onRemovePort(const PortProfile &pprof)
Definition: RTObject.h:4533
PortConnectRetListener クラス
Definition: PortConnectListener.h:202
Definition: ComponentActionListener.h:485
std::string m_id
Definition: RTObject.h:4641
const char * getCategory()
[local interface] カテゴリ情報の取得
Definition: RTObject.h:2099
Definition: ComponentActionListener.h:64
RTコンポーネント
PostComponentActionListenerType
PostCompoenntActionListener のタイプ
Definition: ComponentActionListener.h:219
PreComponentActionListener * addPreComponentActionListener(PreCompActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId ec_id))
Definition: RTObject.h:3459
RT コンポーネント CORBA provider/consumer 用 Port
Definition: CorbaPort.h:620
std::string m_name
Definition: RTObject.h:4910
#define RTC_TRACE(fmt)
トレースログ出力マクロ。
Definition: SystemLogger.h:551
ExecutionContextServiceList m_ecOther
参加しているExecutionContextService のリスト
Definition: RTObject.h:4753
Definition: SdoServiceAdmin.h:148
bool m_readAllCompletion
readAll()用のフラグ
Definition: RTObject.h:4843
SDOPackage::Configuration_impl * m_pSdoConfigImpl
SDO Configuration オブジェクトへのポインタ
Definition: RTObject.h:4651
void preOnShutdown(UniqueId ec_id)
Definition: RTObject.h:4423
component action listener class
bool stringTo(To &val, const char *str)
与えられたstd::stringをオブジェクトに変換
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)
RTCを指定した実行コンテキストでアクティベーションする
ConfigAdmin クラス
Definition: ConfigAdmin.h:610
CORBA::ORB_var m_pORB
ORB へのポインタ
Definition: RTObject.h:4604
PortActionListenerType
PortActionListener のタイプ
Definition: ComponentActionListener.h:376
void postOnExecute(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4513
ExecutionContext用基底クラス
Definition: ExecutionContextBase.h:369
SDOService のプロファイルリストからidでサーチするためのファンクタ
Definition: RTObject.h:4634
bool m_exiting
RTCの終了状態フラグ
Definition: RTObject.h:4771
Definition: ComponentActionListener.h:226
RTコンポーネントクラス
Definition: RTObject.h:89
SDOPackage::Configuration_var m_pSdoConfig
SDO Configuration Interface へのポインタ
Definition: RTObject.h:4660
ConfigurationSetListener クラス
Definition: ConfigurationListener.h:188
ConfigurationSetNameListener クラス
Definition: ConfigurationListener.h:298
ComponentActionListeners m_actionListeners
ComponentActionListenerホルダ
Definition: RTObject.h:4876
ConfigurationParamListener クラス
Definition: ConfigurationListener.h:72
Manager クラス
Definition: Manager.h:81
Configuration Administration classes
ConfigurationSetNameListenerType
ConfigurationSetNameListenerType
Definition: ConfigurationListener.h:266
PreComponentActionListenerType
PreComponentActionListener のタイプ
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
readAll()呼出用のフラグ
Definition: RTObject.h:4816
Definition: ComponentActionListener.h:62
Manager * m_pManager
マネージャオブジェクト
Definition: RTObject.h:4595
Definition: ComponentActionListener.h:68
SdoServiceAdmin m_sdoservice
SDO Service 管理オブジェクト
Definition: RTObject.h:4807
bool m_created
Created 状態フラグ
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
CorbaPort class
PreComponentActionListener クラス
Definition: ComponentActionListener.h:120
Definition: ComponentActionListener.h:379
PortableServer::POA_var m_pPOA
POA へのポインタ
Definition: RTObject.h:4613
SDO パッケージ
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
PreComponentActionListener リスナを追加する
Definition: RTObject.h:3449
PortAdmin クラス
Definition: PortAdmin.h:52
SDO service administration class
Definition: ComponentActionListener.h:66
Definition: ComponentActionListener.h:69
ExecutionContext コピーファンクタ
Definition: RTObject.h:4920
const char * getTypeName()
[local interface] 型名の取得
Definition: RTObject.h:1998
PortConnectListener クラス
Definition: PortConnectListener.h:82
ConfigAdmin & getConfigService()
コンフィギュレーションサービスを取得する
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 が保持する organization のリスト
Definition: RTObject.h:4625
ExecutionContextActionListenerType ECActionListenerType
ExecutionContextActionListener リスナを追加する
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 の基底クラス
Definition: PortBase.h:135
NVList 検索用ファンクタ
Definition: RTObject.h:4903
bool bindParameter(const char *param_name, VarType &var, const char *def_val, bool(*trans)(VarType &, const char *)=coil::stringTo)
コンフィギュレーションパラメータの設定
Definition: RTObject.h:2251
PortConnectListeners クラス
Definition: PortConnectListener.h:487
std::vector< ExecutionContextBase * > m_eclist
ExecutionContextBase のリスト
Definition: RTObject.h:4744
RTC::LightweightRTObject_var LightweightRTObject_var
Definition: ExecutionContextWorker.h:45
Definition: ComponentActionListener.h:221
ComponentActionListeners クラス
Definition: ComponentActionListener.h:1018
ExecutionContext_var m_ec
Definition: RTObject.h:4966
Definition: ComponentActionListener.h:378
SdoServiceProvider 基底クラス
Definition: SdoServiceProviderBase.h:134
OutPort 基底クラス
Definition: OutPortBase.h:235
bool operator()(const SDOPackage::NameValue &nv)
Definition: RTObject.h:4906
ExecutionContextServiceList m_ecMine
自分がownerのExecutionContextService のリスト
Definition: RTObject.h:4735
bool m_writeAllCompletion
writeAll()用のフラグ
Definition: RTObject.h:4861
const char * getDescription()
[local interface] Description の取得
Definition: RTObject.h:2023
PostComponentActionListener PostCompActionListener
PostComponentActionListener リスナを追加する
Definition: RTObject.h:3582
ConfigAdmin m_configsets
コンフィギュレーション情報管理オブジェクト
Definition: RTObject.h:4798
void preOnReset(UniqueId ec_id)
Definition: RTObject.h:4448
RTC 非活性化用ファンクタ
Definition: RTObject.h:4978
Logger クラス
Definition: SystemLogger.h:99
LightweightRTObject_var m_comp
Definition: RTObject.h:4993
const char * getVersion()
[local interface] バージョン情報の取得
Definition: RTObject.h:2049
InPort 用 Port
Definition: InPortBase.h:74
const char * getInstanceName()
[local interface] インスタンス名の取得
Definition: RTObject.h:1952
void postOnFinalize(UniqueId ec_id, ReturnCode_t ret)
Definition: RTObject.h:4473
RTC::Port implementation for InPort
PortConnectRetListenerType
PortConnectRetListenerType のタイプ
Definition: PortConnectListener.h:161
RTC::ReturnCode_t deactivate(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
RTCを指定した実行コンテキストで非アクティベーションする
InPortBase base class
Definition: ComponentActionListener.h:222
void preOnStateUpdate(UniqueId ec_id)
Definition: RTObject.h:4458
プロパティセットを表現するクラス
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)
対象RTCの指定した名前のコンフィギュレーションセットをkey-valueで取得
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操作ユーティリティー関数群
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
void push_back(CorbaSequence &seq, SequenceElement elem)
CORBA sequence の最後に要素を追加する
Definition: CORBA_SeqUtil.h:175
RTComponent header
PortConnectListeners m_portconnListeners
PortConnectListenerホルダ
Definition: RTObject.h:4891
SDO Configuration 実装クラス
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 状態フラグ
Definition: RTObject.h:4789
Definition: ComponentActionListener.h:224
ExecutionContextActionListener ECActionListener
Definition: RTObject.h:3811
ExecutionContextActionListenerType
ExecutionContextActionListener のタイプ
Definition: ComponentActionListener.h:483
PostComponentActionListenerType PostCompActionListenerType
Definition: RTObject.h:3583
void preOnInitialize(UniqueId ec_id)
Definition: RTObject.h:4408
bool m_writeAll
writeAll()呼出用のフラグ
Definition: RTObject.h:4825
ConfigurationSetListenerType
ConfigurationSetListener のタイプ
Definition: ConfigurationListener.h:158
RTObject_var m_objref
オブジェクトリファレンス
Definition: RTObject.h:4699
Definition: ComponentActionListener.h:230
PortActionListener クラス
Definition: ComponentActionListener.h:403
PreComponentActionListenerType PreCompActionListenerType
Definition: RTObject.h:3450
std::vector< OutPortBase * > m_outports
OutPortBase* のリスト
Definition: RTObject.h:4726
ExecutionContext 検索用ファンクタ
Definition: RTObject.h:4943
Definition: ComponentActionListener.h:60
Definition: ComponentActionListener.h:63
port&#39;s internal action listener classes
ec_copy(ExecutionContextList &eclist)
Definition: RTObject.h:4922
RTC&#39;s Port administration class
PostComponentActionListener クラス
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
ConfigurationParamListener のタイプ
Definition: ConfigurationListener.h:43
Definition: ComponentActionListener.h:232
ExecutionContextActionListener クラス
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