VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTimeScaleCommand.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 
12 #include <vrvCore/DtVrvCommand.h>
13 
14 namespace makVrv
15 {
19  {
20  public:
22  virtual ~DtTimeScaleCommand();
23 
24  virtual float timeScale() const;
25  virtual void setTimeScale(const float& d);
26 
27  virtual void execute(DtDe& de);
28 
29  protected:
30  float myTimeScale;
31 
32  };
33 
37  {
38  public:
41 
42  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
43  };
44 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtTimeScaleCommandCreator creates DtTimeScaleCommand.
Definition: DtTimeScaleCommand.h:36
virtual ~DtTimeScaleCommandCreator()
Definition: DtTimeScaleCommand.h:40
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
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtTimeScaleCommandCreator(GlobalIdConvertFunc func)
Definition: DtTimeScaleCommand.h:39
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtTimeScaleCommand changes the time scale for the environment.
Definition: DtTimeScaleCommand.h:18
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
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
float myTimeScale
Definition: DtTimeScaleCommand.h:30

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)