VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHudsCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: $ $Revision: 102211 $ $State: $
7 *******************************************************************************/
8 
12 
13 #pragma once
14 
16 
17 #include <vrvCore/DtVrvCommand.h>
18 
19 namespace makVrv
20 {
24  {
25  public:
26  DtHudsCommand();
27  virtual ~DtHudsCommand();
28 
30  virtual bool isEnabled() const;
31 
33  virtual void setEnabled(bool state);
34 
36  virtual float smoothingPeriod() const;
37 
39  virtual void setSmoothingPeriod(const float& newPeriod);
40 
42  virtual void execute(DtDe& de);
43 
44  protected:
45  bool myState;
47  };
48 
52  {
53  public:
55  virtual ~DtHudsCommandCreator() {}
56 
57  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
58  };
59 
60 } //makVrv::
DtHudsCommand enables or disables HUDS.
Definition: DtHudsCommand.h:23
float mySmoothingPeriod
Definition: DtHudsCommand.h:46
bool myState
Definition: DtHudsCommand.h:45
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
boost::function< DtUniqueID(const std::string &)> GlobalIdConvertFunc
typedef for the function that takes a protocol specific id (as a string) and looks up the DtUniqueID ...
Definition: DtVrvCommand.h:40
DtHudsCommandCreator(GlobalIdConvertFunc func)
Definition: DtHudsCommand.h:54
DtHudsCommandCreator creates DtHudsCommands.
Definition: DtHudsCommand.h:51
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
virtual ~DtHudsCommandCreator()
Definition: DtHudsCommand.h:55
#define DT_DLL_VRVGLSTUDIOSHARED
Definition: DtGlStudioShared.h:25
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)