Last change
on this file since 2396 was 2396, checked in by Christoph Mayer, 16 years ago |
-includes und make install gefixt
|
File size:
779 bytes
|
Rev | Line | |
---|
| 1 | #ifndef PINGPONGMESSAGES_H_
|
---|
| 2 | #define PINGPONGMESSAGES_H_
|
---|
| 3 |
|
---|
| 4 | // #include "ariba/utility/messages.h"
|
---|
| 5 | // #include "ariba/utility/serialization.h"
|
---|
| 6 | // #include "ariba/utility/misc/Helper.h"
|
---|
| 7 | // using ariba::utility::Message;
|
---|
| 8 |
|
---|
| 9 | #include <string>
|
---|
| 10 | #include "ariba/tidy/ariba.h"
|
---|
| 11 |
|
---|
| 12 | using namespace ariba;
|
---|
| 13 | using std::string;
|
---|
| 14 |
|
---|
| 15 | namespace ariba {
|
---|
| 16 | namespace application {
|
---|
| 17 | namespace pingpong {
|
---|
| 18 |
|
---|
| 19 | using_serialization;
|
---|
| 20 |
|
---|
| 21 | class PingPongMessage : public Message {
|
---|
| 22 | VSERIALIZEABLE;
|
---|
| 23 | public:
|
---|
| 24 | PingPongMessage();
|
---|
| 25 | PingPongMessage( uint8_t _id );
|
---|
| 26 | virtual ~PingPongMessage();
|
---|
| 27 |
|
---|
| 28 | string info();
|
---|
| 29 | uint8_t getid();
|
---|
| 30 | private:
|
---|
| 31 | uint8_t id;
|
---|
| 32 | };
|
---|
| 33 |
|
---|
| 34 | }}} // namespace ariba, appplication , pingpong
|
---|
| 35 |
|
---|
| 36 | sznBeginDefault( ariba::application::pingpong::PingPongMessage, X ) {
|
---|
| 37 | X && id;
|
---|
| 38 | } sznEnd();
|
---|
| 39 |
|
---|
| 40 | #endif /* PINGPONGMESSAGES_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.