COVISE Core
coGRSetAnimationSpeedMsg.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)2007 VISENSO ++
11// ++ coGRSetAnimationSpeedMsg -message to set the speed of animation ++
12// ++ ++
13// ++ ++
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16#ifndef COGRSETANIMATIONSPEEDMSG_H
17#define COGRSETANIMATIONSPEEDMSG_H
18
19#include "coGRMsg.h"
20#include <util/coExport.h>
21
22namespace grmsg
23{
24
26{
27public:
28 float getAnimationSpeed();
29 float getAnimationSpeedMin();
30 float getAnimationSpeedMax();
31 coGRSetAnimationSpeedMsg(float speed, float min, float max);
32 coGRSetAnimationSpeedMsg(const char *msg);
33
34private:
35 float speed_;
36 float speedMin_;
37 float speedMax_;
38};
39}
40#endif
#define GRMSGEXPORT
Definition: coExport.h:349
int min(int a, int b)
Definition: cutil_math.h:60
int max(int a, int b)
Definition: cutil_math.h:55
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRMsg.h:38
Definition: coGRSetAnimationSpeedMsg.h:26
float speedMax_
Definition: coGRSetAnimationSpeedMsg.h:37
float speedMin_
Definition: coGRSetAnimationSpeedMsg.h:36
float speed_
Definition: coGRSetAnimationSpeedMsg.h:35