![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
RTno/InPort.h@0:3c49891bc39d, 2011-07-29 (annotated)
- Committer:
- nucho
- Date:
- Fri Jul 29 11:23:44 2011 +0000
- Revision:
- 0:3c49891bc39d
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nucho | 0:3c49891bc39d | 1 | #ifndef INPORT_HEADER_INCLUDED |
nucho | 0:3c49891bc39d | 2 | #define INPORT_HEADER_INCLUDED |
nucho | 0:3c49891bc39d | 3 | |
nucho | 0:3c49891bc39d | 4 | /******************************************* |
nucho | 0:3c49891bc39d | 5 | * InPort.h |
nucho | 0:3c49891bc39d | 6 | * @author Yuki Suga |
nucho | 0:3c49891bc39d | 7 | * @copyright Yuki Suga (ysuga.net) Nov, 10th, 2010. |
nucho | 0:3c49891bc39d | 8 | * @license LGPLv3 |
nucho | 0:3c49891bc39d | 9 | *****************************************/ |
nucho | 0:3c49891bc39d | 10 | |
nucho | 0:3c49891bc39d | 11 | #include "InPortBase.h" |
nucho | 0:3c49891bc39d | 12 | |
nucho | 0:3c49891bc39d | 13 | class InPort : public InPortBase { |
nucho | 0:3c49891bc39d | 14 | private: |
nucho | 0:3c49891bc39d | 15 | // int isSequence; |
nucho | 0:3c49891bc39d | 16 | public: |
nucho | 0:3c49891bc39d | 17 | InPort(char* name, TimedOctet &Data); |
nucho | 0:3c49891bc39d | 18 | InPort(char* name, TimedBoolean &Data); |
nucho | 0:3c49891bc39d | 19 | InPort(char* name, TimedChar &Data); |
nucho | 0:3c49891bc39d | 20 | |
nucho | 0:3c49891bc39d | 21 | InPort(char* name, TimedLong &Data); |
nucho | 0:3c49891bc39d | 22 | InPort(char* name, TimedFloat &Data); |
nucho | 0:3c49891bc39d | 23 | InPort(char* name, TimedDouble &Data); |
nucho | 0:3c49891bc39d | 24 | |
nucho | 0:3c49891bc39d | 25 | InPort(char* name, TimedOctetSeq &Data); |
nucho | 0:3c49891bc39d | 26 | InPort(char* name, TimedBooleanSeq &Data); |
nucho | 0:3c49891bc39d | 27 | InPort(char* name, TimedCharSeq &Data); |
nucho | 0:3c49891bc39d | 28 | |
nucho | 0:3c49891bc39d | 29 | InPort(char* name, TimedLongSeq &Data); |
nucho | 0:3c49891bc39d | 30 | InPort(char* name, TimedFloatSeq &Data); |
nucho | 0:3c49891bc39d | 31 | InPort(char* name, TimedDoubleSeq &Data); |
nucho | 0:3c49891bc39d | 32 | |
nucho | 0:3c49891bc39d | 33 | ~InPort(); |
nucho | 0:3c49891bc39d | 34 | |
nucho | 0:3c49891bc39d | 35 | public: |
nucho | 0:3c49891bc39d | 36 | int isNew(); |
nucho | 0:3c49891bc39d | 37 | int read(); |
nucho | 0:3c49891bc39d | 38 | int SizeofData(); |
nucho | 0:3c49891bc39d | 39 | |
nucho | 0:3c49891bc39d | 40 | |
nucho | 0:3c49891bc39d | 41 | }; |
nucho | 0:3c49891bc39d | 42 | |
nucho | 0:3c49891bc39d | 43 | |
nucho | 0:3c49891bc39d | 44 | |
nucho | 0:3c49891bc39d | 45 | #endif |