Go to the documentation of this file.00001
00020 #ifndef RTC_IRTC_H
00021 #define RTC_IRTC_H
00022
00023 #include <vector>
00024 #include <utility>
00025
00026 namespace RTC
00027 {
00028 namespace Local
00029 {
00030 enum ReturnCode_t
00031 {
00032 RTC_OK,
00033 RTC_ERROR,
00034 BAD_PARAMETER,
00035 UNSUPPORTED,
00036 OUT_OF_RESOURCES,
00037 PRECONDITION_NOT_MET
00038 };
00039
00040 enum LifeCycleState
00041 {
00042 CREATED_STATE,
00043 INACTIVE_STATE,
00044 ACTIVE_STATE,
00045 ERROR_STATE
00046 };
00047
00048 enum ExecutionKind
00049 {
00050 PERIODIC,
00051 EVENT_DRIVEN,
00052 OTHER
00053 };
00054
00055 enum PortInterfacePolarity
00056 {
00057 PROVIDED,
00058 REQUIRED
00059 };
00060
00061 #define EXECUTION_HANDLE_TYPE_NATIVE long
00062
00063 typedef EXECUTION_HANDLE_TYPE_NATIVE ExecutionContextHandle_t;
00064 typedef EXECUTION_HANDLE_TYPE_NATIVE ECHandle_t;
00065 typedef char * UniqueIdentifier;
00066
00067 typedef std::vector<std::pair<std::string, std::string> > NVList;
00068
00069 class ExecutionContext;
00070 typedef std::vector<ExecutionContext*> ExecutionContextList;
00071
00072 struct LightweightRTObject;
00073 };
00074 };
00075 #endif // RTC_IRTC_H
00076