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
Dependencies: EthernetInterface mbed-rtos
Diff: PortBuffer.h
- Revision:
- 0:5f7bc45bc2e8
diff -r 000000000000 -r 5f7bc45bc2e8 PortBuffer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PortBuffer.h Mon Jun 24 06:42:11 2013 +0000 @@ -0,0 +1,28 @@ +#ifndef PORT_BUFFER_HEADER_INCLUDED +#define PORT_BUFFER_HEADER_INCLUDED + + + +#ifdef __cplusplus +extern "C" { +#endif + + struct _PortBuffer; + + typedef struct _PortBuffer PortBuffer; + struct _PortBuffer { + void(*push)(PortBuffer* _this, const int8_t* data, uint8_t size); + void(*pop)(PortBuffer* _this, int8_t* data, uint8_t size); + uint8_t(*getNextDataSize)(PortBuffer* _this); + uint8_t(*hasNext)(PortBuffer *_this); + void* privateData; + }; + +#ifdef __cplusplus +} +#endif + + + + +#endif // #ifndef PORT_BUFFER_HEADER_INCLUDED