VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAdaptiveTickRateCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvCore/DtVrvCommand.h>
14 
15 namespace makVrv
16 {
22  {
23  public:
25  virtual ~DtAdaptiveTickRateCommand();
26 
28  virtual bool adaptiveTickRate() const;
29 
31  virtual void setAdaptiveTickRate( bool adaptive );
32 
35  virtual void execute(DtDe& de);
36 
37  private:
41 
45 
46  protected:
48  };
49 
53  {
54  public:
56  : DtVrvCommandCreator(func)
57  {
58  }
60  {
61  }
62 
63  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
64 
65  private:
67 
71 
75  };
76 
77 } //makVrv::
78 
virtual ~DtAdaptiveTickRateCommandCreator()
Definition: DtAdaptiveTickRateCommand.h:59
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtAdaptiveTickRateCommandCreator(GlobalIdConvertFunc func)
Definition: DtAdaptiveTickRateCommand.h:55
bool myAdaptiveTickRateEnabled
Definition: DtAdaptiveTickRateCommand.h:47
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
DtAdaptiveTickRateCommand toggles the adaptive tick rate setting for all entities. Adaptive tick rates means updating entities less frequently the farther away the entity is.
Definition: DtAdaptiveTickRateCommand.h:21
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
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:70
DtAdaptiveTickRateCommandCreator creates DtAdaptiveTickRateCommand.
Definition: DtAdaptiveTickRateCommand.h:52
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)