OpenRTM-aist IDL 2.1.0
RTC.idl
[詳解]
1// RTC.idl
2
3#ifndef RTC_IDL
4#define RTC_IDL
5
6#include "SDOPackage.idl"
7
8#pragma prefix "omg.org"
9
10#define EXECUTION_HANDLE_TYPE_NATIVE long
11
12module RTC
13{
32
35
83 {
90 };
91
104 {
117
139
160
176 };
177
178 interface ExecutionContext;
179 typedef sequence<ExecutionContext> ExecutionContextList;
180
205 {
223
241
256
271
285
299
320
349
371 };
372
445 {
470
505
527 boolean is_alive(in ExecutionContext exec_context);
528
560
582
612
633
653
685
703 };
704
720 {
765 OTHER
766 };
767
835 {
836
855 boolean is_running();
856
890
919
947 double get_rate();
948
982 ReturnCode_t set_rate(in double rate);
983
1016
1047
1088
1123
1159
1183
1198 };
1199
1200
1217 {
1290 };
1291
1319 {
1320 };
1321
1343 interface Fsm
1345 {
1346 };
1347
1364 {
1365
1385 };
1386
1396 {
1397 };
1398
1412 interface Mode
1413 {
1414 };
1415
1458 interface ModeCapable
1459 {
1579 in boolean immediate);
1580 };
1581
1594 {
1618 };
1619
1629 {
1630 };
1631
1632 interface RTObject;
1633
1646 {
1673 REQUIRED
1675
1692 {
1733 };
1734
1735 typedef sequence<PortInterfaceProfile> PortInterfaceProfileList;
1736
1737 interface PortService;
1738 typedef sequence<PortService> PortServiceList;
1739 typedef sequence<RTObject> RTCList;
1740
1755 {
1768 string name;
1817 };
1818
1819 typedef sequence<ConnectorProfile> ConnectorProfileList;
1820
1837 {
1856 string name;
1930 };
1931
1932 typedef sequence<PortProfile> PortProfileList;
1933
1942 {
1975 double rate;
2022 };
2023
2024 typedef sequence<ExecutionContextProfile>
2026
2040 interface FsmObject
2041 {
2076 ReturnCode_t send_stimulus(in string message,
2077 in ExecutionContextHandle_t exec_handle);
2078 };
2079
2100 {
2129 };
2130
2131 typedef sequence<FsmBehaviorProfile> FsmBehaviorProfileList;
2147 {
2162 };
2163
2177 interface FsmService
2179 {
2213 };
2214
2229 {
2298 string version;
2312 string vendor;
2327 string category;
2382 };
2383
2384 typedef sequence<ComponentProfile> ComponentProfileList;
2385
2413 interface PortService
2415 {
2479 ReturnCode_t connect(inout ConnectorProfile connector_profile);
2566 };
2567
2588 {
2603 };
2604
2605 typedef sequence<ExecutionContextService>
2607
2621 interface RTObject
2623 {
2650 };
2651};
2652
2653#endif // RTC_IDL
#define EXECUTION_HANDLE_TYPE_NATIVE
Definition: RTC.idl:10
Definition: RTC.idl:205
ReturnCode_t on_error(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_activated(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_initialize()
ReturnCode_t on_aborting(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_finalize()
ReturnCode_t on_deactivated(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_startup(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_shutdown(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_reset(in ExecutionContextHandle_t exec_handle)
Definition: RTC.idl:1217
ReturnCode_t on_state_update(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_rate_changed(in ExecutionContextHandle_t exec_handle)
ReturnCode_t on_execute(in ExecutionContextHandle_t exec_handle)
Definition: RTC.idl:1319
Definition: RTC.idl:2588
ExecutionContextProfile get_profile()
Definition: RTC.idl:835
ReturnCode_t reset_component(in LightweightRTObject comp)
LifeCycleState get_component_state(in LightweightRTObject comp)
ReturnCode_t remove_component(in LightweightRTObject comp)
ReturnCode_t add_component(in LightweightRTObject comp)
ReturnCode_t deactivate_component(in LightweightRTObject comp)
ExecutionKind get_kind()
ReturnCode_t start()
ReturnCode_t set_rate(in double rate)
ReturnCode_t activate_component(in LightweightRTObject comp)
ReturnCode_t stop()
Definition: RTC.idl:2041
ReturnCode_t send_stimulus(in string message, in ExecutionContextHandle_t exec_handle)
Definition: RTC.idl:1364
ReturnCode_t on_action(in ExecutionContextHandle_t exec_handle)
Definition: RTC.idl:1396
Definition: RTC.idl:2179
ReturnCode_t set_fsm_profile(in FsmProfile fsm_profile)
FsmProfile get_fsm_profile()
Definition: RTC.idl:1345
Definition: RTC.idl:445
ReturnCode_t finalize()
ExecutionContextHandle_t attach_context(in ExecutionContext exec_context)
ExecutionContext get_context(in ExecutionContextHandle_t exec_handle)
ReturnCode_t detach_context(in ExecutionContextHandle_t exec_handle)
boolean is_alive(in ExecutionContext exec_context)
ExecutionContextList get_owned_contexts()
get_owned_contexts
ExecutionContextList get_participating_contexts()
get_participating_contexts
ExecutionContextHandle_t get_context_handle(in ExecutionContext cxt)
ReturnCode_t initialize()
Definition: RTC.idl:1459
ReturnCode_t set_mode(in Mode new_mode, in boolean immediate)
Mode get_pending_mode()
Mode get_current_mode()
Mode get_pending_mode_in_context(in ExecutionContext exec_context)
Mode get_default_mode()
Mode get_current_mode_in_context(in ExecutionContext exec_context)
Definition: RTC.idl:1413
Definition: RTC.idl:1594
ReturnCode_t on_mode_changed(in ExecutionContextHandle_t exec_handle)
Definition: RTC.idl:1629
Definition: RTC.idl:2415
ReturnCode_t notify_disconnect(in UniqueIdentifier connector_id)
ConnectorProfileList get_connector_profiles()
ReturnCode_t disconnect_all()
ConnectorProfile get_connector_profile(in UniqueIdentifier connector_id)
ReturnCode_t connect(inout ConnectorProfile connector_profile)
PortProfile get_port_profile()
ReturnCode_t disconnect(in UniqueIdentifier connector_id)
ReturnCode_t notify_connect(inout ConnectorProfile connector_profile)
Definition: RTC.idl:2623
PortServiceList get_ports()
ComponentProfile get_component_profile()
Definition: SDOPackage.idl:264
Definition: SDOPackage.idl:185
Definition: BasicDataType.idl:26
PortInterfacePolarity
Definition: RTC.idl:1646
@ REQUIRED
Definition: RTC.idl:1673
@ PROVIDED
Definition: RTC.idl:1660
ReturnCode_t
ReturnCode_t
Definition: RTC.idl:83
@ RTC_ERROR
Definition: RTC.idl:85
@ BAD_PARAMETER
Definition: RTC.idl:86
@ RTC_OK
Definition: RTC.idl:84
@ PRECONDITION_NOT_MET
Definition: RTC.idl:89
@ OUT_OF_RESOURCES
Definition: RTC.idl:88
@ UNSUPPORTED
Definition: RTC.idl:87
sequence< PortInterfaceProfile > PortInterfaceProfileList
Definition: RTC.idl:1735
sequence< FsmBehaviorProfile > FsmBehaviorProfileList
Definition: RTC.idl:2131
sequence< ComponentProfile > ComponentProfileList
Definition: RTC.idl:2384
sequence< PortProfile > PortProfileList
Definition: RTC.idl:1932
ExecutionKind
Definition: RTC.idl:720
@ PERIODIC
Definition: RTC.idl:735
@ EVENT_DRIVEN
Definition: RTC.idl:750
@ OTHER
Definition: RTC.idl:765
SDOPackage::NVList NVList
Definition: RTC.idl:34
sequence< PortService > PortServiceList
Definition: RTC.idl:1738
LifeCycleState
Definition: RTC.idl:104
@ ACTIVE_STATE
Definition: RTC.idl:159
@ ERROR_STATE
Definition: RTC.idl:175
@ INACTIVE_STATE
Definition: RTC.idl:138
@ CREATED_STATE
Definition: RTC.idl:116
sequence< ConnectorProfile > ConnectorProfileList
Definition: RTC.idl:1819
sequence< ExecutionContextService > ExecutionContextServiceList
Definition: RTC.idl:2606
EXECUTION_HANDLE_TYPE_NATIVE ExecutionContextHandle_t
Definition: RTC.idl:31
sequence< RTObject > RTCList
Definition: RTC.idl:1739
sequence< ExecutionContextProfile > ExecutionContextProfileList
Definition: RTC.idl:2025
sequence< ExecutionContext > ExecutionContextList
Definition: RTC.idl:179
SDOPackage::UniqueIdentifier UniqueIdentifier
Definition: RTC.idl:33
string UniqueIdentifier
Definition: SDOPackage.idl:61
sequence< NameValue > NVList
Definition: SDOPackage.idl:69
Definition: RTC.idl:2229
string type_name
Definition: RTC.idl:2265
string version
Definition: RTC.idl:2298
string instance_name
Definition: RTC.idl:2247
NVList properties
Definition: RTC.idl:2381
string vendor
Definition: RTC.idl:2312
string description
Definition: RTC.idl:2279
RTObject parent
Definition: RTC.idl:2362
string category
Definition: RTC.idl:2327
PortProfileList port_profiles
Definition: RTC.idl:2347
Definition: RTC.idl:1755
UniqueIdentifier connector_id
Definition: RTC.idl:1783
string name
Definition: RTC.idl:1768
NVList properties
Definition: RTC.idl:1816
PortServiceList ports
Definition: RTC.idl:1797
Definition: RTC.idl:1942
RTCList participants
Definition: RTC.idl:2001
RTObject owner
Definition: RTC.idl:1988
NVList properties
Definition: RTC.idl:2021
ExecutionKind kind
Definition: RTC.idl:1955
double rate
Definition: RTC.idl:1975
Definition: RTC.idl:2100
UniqueIdentifier id
Definition: RTC.idl:2128
FsmParticipantAction action_component
Definition: RTC.idl:2115
Definition: RTC.idl:2147
FsmBehaviorProfileList behavior_profiles
Definition: RTC.idl:2161
Definition: RTC.idl:1692
PortInterfacePolarity polarity
Definition: RTC.idl:1732
string instance_name
Definition: RTC.idl:1705
string type_name
Definition: RTC.idl:1718
Definition: RTC.idl:1837
ConnectorProfileList connector_profiles
Definition: RTC.idl:1897
RTObject owner
Definition: RTC.idl:1910
PortService port_ref
Definition: RTC.idl:1883
NVList properties
Definition: RTC.idl:1929
string name
Definition: RTC.idl:1856
PortInterfaceProfileList interfaces
Definition: RTC.idl:1870