OpenRTM-aist IDL 2.1.0
RTC.idl
Go to the documentation of this file.
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
ComponentAction.
Definition: RTC.idl:205
ReturnCode_t on_error(in ExecutionContextHandle_t exec_handle)
on_error
ReturnCode_t on_activated(in ExecutionContextHandle_t exec_handle)
on_activated
ReturnCode_t on_initialize()
on_initialize
ReturnCode_t on_aborting(in ExecutionContextHandle_t exec_handle)
on_aborting
ReturnCode_t on_finalize()
on_finalize
ReturnCode_t on_deactivated(in ExecutionContextHandle_t exec_handle)
on_deactivated
ReturnCode_t on_startup(in ExecutionContextHandle_t exec_handle)
on_startup
ReturnCode_t on_shutdown(in ExecutionContextHandle_t exec_handle)
on_shutdown
ReturnCode_t on_reset(in ExecutionContextHandle_t exec_handle)
on_reset
DataFlowComponentAction.
Definition: RTC.idl:1217
ReturnCode_t on_state_update(in ExecutionContextHandle_t exec_handle)
on_state_update
ReturnCode_t on_rate_changed(in ExecutionContextHandle_t exec_handle)
on_rate_changed
ReturnCode_t on_execute(in ExecutionContextHandle_t exec_handle)
on_execute
dataFlowComponent
Definition: RTC.idl:1319
ExecutionContextService.
Definition: RTC.idl:2588
ExecutionContextProfile get_profile()
get_profile
ExecutionContext.
Definition: RTC.idl:835
ReturnCode_t reset_component(in LightweightRTObject comp)
reset_component
boolean is_running()
is_running
LifeCycleState get_component_state(in LightweightRTObject comp)
get_component_state
ReturnCode_t remove_component(in LightweightRTObject comp)
remove_component
ReturnCode_t add_component(in LightweightRTObject comp)
add_component
ReturnCode_t deactivate_component(in LightweightRTObject comp)
deactivate_component
ExecutionKind get_kind()
get_kind
ReturnCode_t start()
start
double get_rate()
get_rate
ReturnCode_t set_rate(in double rate)
set_rate
ReturnCode_t activate_component(in LightweightRTObject comp)
activate_component
ReturnCode_t stop()
stop
FsmObject.
Definition: RTC.idl:2041
ReturnCode_t send_stimulus(in string message, in ExecutionContextHandle_t exec_handle)
send_stimulus
FsmParticipantAction.
Definition: RTC.idl:1364
ReturnCode_t on_action(in ExecutionContextHandle_t exec_handle)
on_action
Definition: RTC.idl:1396
FsmService.
Definition: RTC.idl:2179
ReturnCode_t set_fsm_profile(in FsmProfile fsm_profile)
set_fsm_profile
FsmProfile get_fsm_profile()
get_fsm_profile
fsm
Definition: RTC.idl:1345
LightweightRTObject.
Definition: RTC.idl:445
ReturnCode_t finalize()
finalize
ExecutionContextHandle_t attach_context(in ExecutionContext exec_context)
attach_context
ReturnCode_t exit()
exit
ExecutionContext get_context(in ExecutionContextHandle_t exec_handle)
get_context
ReturnCode_t detach_context(in ExecutionContextHandle_t exec_handle)
detach_context
boolean is_alive(in ExecutionContext exec_context)
is_alive
ExecutionContextList get_owned_contexts()
get_owned_contexts
ExecutionContextList get_participating_contexts()
get_participating_contexts
ExecutionContextHandle_t get_context_handle(in ExecutionContext cxt)
get_context_handle
ReturnCode_t initialize()
initialize
ModeCapable.
Definition: RTC.idl:1459
ReturnCode_t set_mode(in Mode new_mode, in boolean immediate)
set_mode
Mode get_pending_mode()
get_pending_mode
Mode get_current_mode()
get_current_mode
Mode get_pending_mode_in_context(in ExecutionContext exec_context)
get_pending_mode_in_context
Mode get_default_mode()
get_default_mode
Mode get_current_mode_in_context(in ExecutionContext exec_context)
get_current_mode_in_context
Mode.
Definition: RTC.idl:1413
MultiModeComponentAction.
Definition: RTC.idl:1594
ReturnCode_t on_mode_changed(in ExecutionContextHandle_t exec_handle)
on_mode_changed
Definition: RTC.idl:1629
PortService.
Definition: RTC.idl:2415
ReturnCode_t notify_disconnect(in UniqueIdentifier connector_id)
notify_disconnect
ConnectorProfileList get_connector_profiles()
get_connector_profiles
ReturnCode_t disconnect_all()
disconnect_all
ConnectorProfile get_connector_profile(in UniqueIdentifier connector_id)
get_connector_profiles
ReturnCode_t connect(inout ConnectorProfile connector_profile)
connect
PortProfile get_port_profile()
get_port_profile
ReturnCode_t disconnect(in UniqueIdentifier connector_id)
disconnect
ReturnCode_t notify_connect(inout ConnectorProfile connector_profile)
notify_connect
RTObject.
Definition: RTC.idl:2623
PortServiceList get_ports()
get_ports
ComponentProfile get_component_profile()
get_component_profile
Definition: SDOPackage.idl:264
Definition: SDOPackage.idl:185
Definition: BasicDataType.idl:26
PortInterfacePolarity
PortInterfacePolarity.
Definition: RTC.idl:1646
@ REQUIRED
REQUIRED.
Definition: RTC.idl:1673
@ PROVIDED
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
ExecutionKind.
Definition: RTC.idl:720
@ PERIODIC
PERIODIC.
Definition: RTC.idl:735
@ EVENT_DRIVEN
EVENT_DRIVEN.
Definition: RTC.idl:750
@ OTHER
OTHER.
Definition: RTC.idl:765
SDOPackage::NVList NVList
Definition: RTC.idl:34
sequence< PortService > PortServiceList
Definition: RTC.idl:1738
LifeCycleState
LifeCycleState.
Definition: RTC.idl:104
@ ACTIVE_STATE
ACTIVE.
Definition: RTC.idl:159
@ ERROR_STATE
ERROR.
Definition: RTC.idl:175
@ INACTIVE_STATE
INACTIVE.
Definition: RTC.idl:138
@ CREATED_STATE
CREATED.
Definition: RTC.idl:116
sequence< ConnectorProfile > ConnectorProfileList
Definition: RTC.idl:1819
sequence< ExecutionContextService > ExecutionContextServiceList
Definition: RTC.idl:2606
EXECUTION_HANDLE_TYPE_NATIVE ExecutionContextHandle_t
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
ComponentProfile.
Definition: RTC.idl:2229
string type_name
type_name
Definition: RTC.idl:2265
string version
version
Definition: RTC.idl:2298
string instance_name
instance_name
Definition: RTC.idl:2247
NVList properties
properties
Definition: RTC.idl:2381
string vendor
vendor
Definition: RTC.idl:2312
string description
description
Definition: RTC.idl:2279
RTObject parent
parent
Definition: RTC.idl:2362
string category
category
Definition: RTC.idl:2327
PortProfileList port_profiles
port_profiles
Definition: RTC.idl:2347
ConnectorProfile.
Definition: RTC.idl:1755
UniqueIdentifier connector_id
connector_id
Definition: RTC.idl:1783
string name
name
Definition: RTC.idl:1768
NVList properties
properties
Definition: RTC.idl:1816
PortServiceList ports
ports
Definition: RTC.idl:1797
Definition: RTC.idl:1942
RTCList participants
participants
Definition: RTC.idl:2001
RTObject owner
owner
Definition: RTC.idl:1988
NVList properties
properties
Definition: RTC.idl:2021
ExecutionKind kind
kind
Definition: RTC.idl:1955
double rate
rate
Definition: RTC.idl:1975
FsmBehaviorProfile.
Definition: RTC.idl:2100
UniqueIdentifier id
id
Definition: RTC.idl:2128
FsmParticipantAction action_component
action_component
Definition: RTC.idl:2115
FsmProfile.
Definition: RTC.idl:2147
FsmBehaviorProfileList behavior_profiles
behavior_profiles
Definition: RTC.idl:2161
PortInterfaceProfile.
Definition: RTC.idl:1692
PortInterfacePolarity polarity
polarity
Definition: RTC.idl:1732
string instance_name
instance_name
Definition: RTC.idl:1705
string type_name
type_name
Definition: RTC.idl:1718
PortProfile.
Definition: RTC.idl:1837
ConnectorProfileList connector_profiles
connector_profiles
Definition: RTC.idl:1897
RTObject owner
owner
Definition: RTC.idl:1910
PortService port_ref
port_ref
Definition: RTC.idl:1883
NVList properties
properties
Definition: RTC.idl:1929
string name
name
Definition: RTC.idl:1856
PortInterfaceProfileList interfaces
interfaces
Definition: RTC.idl:1870