source: sample/pingpong/PingPongMessage.h@ 4625

Last change on this file since 4625 was 4625, checked in by Christoph Mayer, 15 years ago

zurück auf 8bit, test

File size: 614 bytes
Line 
1#ifndef PINGPONGMESSAGES_H_
2#define PINGPONGMESSAGES_H_
3
4#include <string>
5#include "ariba/ariba.h"
6
7using namespace ariba;
8using std::string;
9
10namespace ariba {
11namespace application {
12namespace pingpong {
13
14using_serialization;
15
16class PingPongMessage : public Message {
17 VSERIALIZEABLE;
18public:
19 PingPongMessage();
20 PingPongMessage( uint8_t _id );
21 virtual ~PingPongMessage();
22
23 string info();
24 uint8_t getid();
25private:
26 uint8_t id;
27};
28
29}}} // namespace ariba, appplication , pingpong
30
31sznBeginDefault( 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.