COVISE Core
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
23namespace grmsg
24{
25
27{
28public:
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
47private:
48 char *filename_;
50};
51}
52
53#endif
#define GRMSGEXPORT
Definition: coExport.h:349
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRMsg.h:38
Definition: coGRSnapshotMsg.h:27
char * filename_
Definition: coGRSnapshotMsg.h:45
char * intention_
Definition: coGRSnapshotMsg.h:49
const char * getIntention()
Definition: coGRSnapshotMsg.h:42
const char * getFilename()
Definition: coGRSnapshotMsg.h:38