RTno is communicating library and framework which allows you to make your embedded device capable of communicating with RT-middleware world. RT-middleware is a platform software to realize Robotic system. In RTM, robots are developed by constructing robotics technologies\' elements (components) named RT-component. Therefore, the RTno helps you to create your own RT-component with your mbed and arduino. To know how to use your RTno device, visit here: http://ysuga.net/robot_e/rtm_e/rtc_e/1065?lang=en To know about RT-middleware and RT-component, visit http://www.openrtm.org
Dependents: RTnoV3_LED RTnoV3_Template RTnoV3_ADC RTnoV3_Timer ... more
Diff: ExecutionContext.h
- Revision:
- 0:9fac71a0bff3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ExecutionContext.h Thu Feb 09 02:33:10 2012 +0000 @@ -0,0 +1,23 @@ +#ifndef EXECUTION_CONTEXT_HEADER_INCLUDED +#define EXECUTION_CONTEXT_HEADER_INCLUDED + +#include <stdint.h> + +extern "C" { + typedef int8_t LifeCycleState; + typedef int8_t ReturnValue_t; + + void EC_init(int8_t); + LifeCycleState EC_get_component_state(); + ReturnValue_t EC_activate_component(); + ReturnValue_t EC_deactivate_component(); + ReturnValue_t EC_execute(); + ReturnValue_t EC_error(); + int8_t EC_get_type(); + + extern void (*EC_start)(); + extern void (*EC_suspend)(); + extern void (*EC_resume)(); +} + +#endif // #ifndef EXECUTION_CONTEXT_HEADER_INCLDUED