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
PortBuffer.h@0:9fac71a0bff3, 2012-02-09 (annotated)
- Committer:
- ysuga
- Date:
- Thu Feb 09 02:33:10 2012 +0000
- Revision:
- 0:9fac71a0bff3
RTno Version 3: RTno is a software library and tool to connect embedded devices like arduino and mbed to RT-middleware world.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ysuga | 0:9fac71a0bff3 | 1 | #ifndef PORT_BUFFER_HEADER_INCLUDED |
ysuga | 0:9fac71a0bff3 | 2 | #define PORT_BUFFER_HEADER_INCLUDED |
ysuga | 0:9fac71a0bff3 | 3 | |
ysuga | 0:9fac71a0bff3 | 4 | |
ysuga | 0:9fac71a0bff3 | 5 | |
ysuga | 0:9fac71a0bff3 | 6 | #ifdef __cplusplus |
ysuga | 0:9fac71a0bff3 | 7 | extern "C" { |
ysuga | 0:9fac71a0bff3 | 8 | #endif |
ysuga | 0:9fac71a0bff3 | 9 | |
ysuga | 0:9fac71a0bff3 | 10 | struct _PortBuffer; |
ysuga | 0:9fac71a0bff3 | 11 | |
ysuga | 0:9fac71a0bff3 | 12 | typedef struct _PortBuffer PortBuffer; |
ysuga | 0:9fac71a0bff3 | 13 | struct _PortBuffer { |
ysuga | 0:9fac71a0bff3 | 14 | void(*push)(PortBuffer* _this, const int8_t* data, uint8_t size); |
ysuga | 0:9fac71a0bff3 | 15 | void(*pop)(PortBuffer* _this, int8_t* data, uint8_t size); |
ysuga | 0:9fac71a0bff3 | 16 | uint8_t(*getNextDataSize)(PortBuffer* _this); |
ysuga | 0:9fac71a0bff3 | 17 | uint8_t(*hasNext)(PortBuffer *_this); |
ysuga | 0:9fac71a0bff3 | 18 | void* privateData; |
ysuga | 0:9fac71a0bff3 | 19 | }; |
ysuga | 0:9fac71a0bff3 | 20 | |
ysuga | 0:9fac71a0bff3 | 21 | #ifdef __cplusplus |
ysuga | 0:9fac71a0bff3 | 22 | } |
ysuga | 0:9fac71a0bff3 | 23 | #endif |
ysuga | 0:9fac71a0bff3 | 24 | |
ysuga | 0:9fac71a0bff3 | 25 | |
ysuga | 0:9fac71a0bff3 | 26 | |
ysuga | 0:9fac71a0bff3 | 27 | |
ysuga | 0:9fac71a0bff3 | 28 | #endif // #ifndef PORT_BUFFER_HEADER_INCLUDED |