VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSensorModeCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 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 ~DtSensorModeCommand();
23 
24  virtual std::string observerModeName() const;
25  virtual void setObserverModeName(const std::string& obs);
26 
27  virtual std::string sensorModeName() const;
28  virtual void setSensorModeName(const std::string& mode);
29 
30  virtual void execute(DtDe& de);
31 
32  protected:
33  std::string myObserverModeName;
34  std::string mySensorModeName;
35  };
36 
40  {
41  public:
44 
45  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
46  };
47 
48 
49 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
std::string mySensorModeName
Definition: DtSensorModeCommand.h:34
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
std::string myObserverModeName
Definition: DtSensorModeCommand.h:33
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtSensorModeCommandCreator creates DtSensorModeCommands.
Definition: DtSensorModeCommand.h:39
virtual ~DtSensorModeCommandCreator()
Definition: DtSensorModeCommand.h:43
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtSensorModeCommandCreator(GlobalIdConvertFunc func)
Definition: DtSensorModeCommand.h:42
const char int mode
Definition: ioapi.h:38
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
DtSensorModeCommand sets the sensor mode of an observer mode.
Definition: DtSensorModeCommand.h:18
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)