COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRSnapshotMsg.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 //-*-Mode: C++;-*-
9 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10 // ++ (C)2009 VISENSO ++
11 // ++ coGRSnapshotMsg - sends message to make a snapshot ++
12 // ++ ++
13 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14 
15 #ifndef COGRSNAPSHOTMSG_H
16 #define COGRSNAPSHOTMSG_H
17 
18 #include "coGRMsg.h"
19 #include <util/coExport.h>
20 
21 #include <iostream>
22 
23 namespace grmsg
24 {
25 
27 {
28 public:
29  // construct msg to send
30  coGRSnapshotMsg(const char *filename, const char *intention);
31 
32  // reconstruct from received msg
33  coGRSnapshotMsg(const char *msg);
34 
35  virtual ~coGRSnapshotMsg();
36 
37  // specific functions
38  const char *getFilename()
39  {
40  return filename_;
41  };
42  const char *getIntention()
43  {
44  return intention_;
45  };
46 
47 private:
48  char *filename_;
49  char *intention_;
50 };
51 }
52 
53 #endif
Definition: coGRSnapshotMsg.h:26
#define GRMSGEXPORT
Definition: coExport.h:319
const char * getFilename()
Definition: coGRSnapshotMsg.h:38
char * intention_
Definition: coGRSnapshotMsg.h:49
const char * getIntention()
Definition: coGRSnapshotMsg.h:42
Definition: coGRMsg.h:38