VR-Forces Developer's Guide
 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 
9 
10 #pragma once
11 
13 
14 #include <vrvCore/DtVrvCommand.h>
15 
16 namespace makVrv
17 {
21  {
22  public:
23  DtHudsCommand();
24  virtual ~DtHudsCommand();
25 
27  virtual bool isEnabled() const;
28 
30  virtual void setEnabled(bool state);
31 
33  virtual float smoothingPeriod() const;
34 
36  virtual void setSmoothingPeriod(const float& newPeriod);
37 
39  virtual void execute(DtDe& de);
40 
41  protected:
42  bool myState;
44  };
45 
49  {
50  public:
52  virtual ~DtHudsCommandCreator() {}
53 
54  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
55  };
56 
57 } //makVrv::
DtHudsCommand enables or disables HUDS.
Definition: DtHudsCommand.h:20
float mySmoothingPeriod
Definition: DtHudsCommand.h:43
bool myState
Definition: DtHudsCommand.h:42
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:51
DtHudsCommandCreator creates DtHudsCommands.
Definition: DtHudsCommand.h:48
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
virtual ~DtHudsCommandCreator()
Definition: DtHudsCommand.h:52
#define DT_DLL_VRVGLSTUDIOSHARED
Definition: DtGlStudioShared.h:22
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)