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:   EthernetNetIf

Dependents:   RTnoV3_LED RTnoV3_Template RTnoV3_ADC RTnoV3_Timer ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers PortBuffer.h Source File

PortBuffer.h

00001 #ifndef PORT_BUFFER_HEADER_INCLUDED
00002 #define PORT_BUFFER_HEADER_INCLUDED
00003 
00004 
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009 
00010   struct _PortBuffer;
00011 
00012   typedef struct _PortBuffer PortBuffer;
00013   struct _PortBuffer {
00014     void(*push)(PortBuffer* _this, const int8_t* data, uint8_t size);
00015     void(*pop)(PortBuffer* _this, int8_t* data, uint8_t size);
00016     uint8_t(*getNextDataSize)(PortBuffer* _this);
00017     uint8_t(*hasNext)(PortBuffer *_this);
00018     void* privateData;
00019   };
00020   
00021 #ifdef __cplusplus
00022 }
00023 #endif
00024 
00025 
00026 
00027 
00028 #endif // #ifndef PORT_BUFFER_HEADER_INCLUDED