Last change
on this file since 4621 was 4618, checked in by Christoph Mayer, 15 years ago |
alle uint_8 auf uint_16 welche an serialisierung beteiligt sind
|
File size:
637 bytes
|
Line | |
---|
1 | #ifndef PINGPONGMESSAGES_H_
|
---|
2 | #define PINGPONGMESSAGES_H_
|
---|
3 |
|
---|
4 | #include <string>
|
---|
5 | #include "ariba/ariba.h"
|
---|
6 |
|
---|
7 | using namespace ariba;
|
---|
8 | using std::string;
|
---|
9 |
|
---|
10 | namespace ariba {
|
---|
11 | namespace application {
|
---|
12 | namespace pingpong {
|
---|
13 |
|
---|
14 | using_serialization;
|
---|
15 |
|
---|
16 | class PingPongMessage : public Message {
|
---|
17 | VSERIALIZEABLE;
|
---|
18 | public:
|
---|
19 | PingPongMessage();
|
---|
20 | PingPongMessage( uint16_t _id );
|
---|
21 | virtual ~PingPongMessage();
|
---|
22 |
|
---|
23 | string info();
|
---|
24 | uint16_t getid();
|
---|
25 | private:
|
---|
26 | uint16_t id; //TODO: was uint8_t
|
---|
27 | };
|
---|
28 |
|
---|
29 | }}} // namespace ariba, appplication , pingpong
|
---|
30 |
|
---|
31 | sznBeginDefault( ariba::application::pingpong::PingPongMessage, X ) {
|
---|
32 | X && id;
|
---|
33 | } sznEnd();
|
---|
34 |
|
---|
35 | #endif /* PINGPONGMESSAGES_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.