close Warning: Can't use blame annotator:
No changeset 2312 in the repository

source: sample/tidy_pingpong/TidyPingPongMessage.h@ 2389

Last change on this file since 2389 was 2389, checked in by mies, 16 years ago
File size: 779 bytes
RevLine 
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
12using namespace ariba;
13using std::string;
14
15namespace ariba {
16namespace application {
17namespace pingpong {
18
19using_serialization;
20
21class PingPongMessage : public Message {
22 VSERIALIZEABLE;
23public:
24 PingPongMessage();
25 PingPongMessage( uint8_t _id );
26 virtual ~PingPongMessage();
27
28 string info();
29 uint8_t getid();
30private:
31 uint8_t id;
32};
33
34}}} // namespace ariba, appplication , pingpong
35
36sznBeginDefault( 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.