Changeset 5151 for sample/pingpong/PingPongMessage.h
- Timestamp:
- Jul 21, 2009, 1:54:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/PingPongMessage.h
r4625 r5151 18 18 public: 19 19 PingPongMessage(); 20 PingPongMessage( uint8_t _id );20 PingPongMessage( uint8_t _id, string name = string("<ping>") ); 21 21 virtual ~PingPongMessage(); 22 22 23 23 string info(); 24 24 uint8_t getid(); 25 26 inline string getName() const { 27 return name; 28 } 25 29 private: 26 30 uint8_t id; 31 string name; 27 32 }; 28 33 … … 30 35 31 36 sznBeginDefault( ariba::application::pingpong::PingPongMessage, X ) { 32 X && id ;37 X && id && T(name); 33 38 } sznEnd(); 34 39
Note:
See TracChangeset
for help on using the changeset viewer.