VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSensorIntParameterCommand.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 ~DtSensorIntParameterCommand();
23 
25  virtual std::string sensorModeName() const;
27  virtual void setSensorModeName(const std::string& mode);
28 
30  virtual std::string parameterName() const;
32  virtual void setParameterName(const std::string& obs);
33 
35  virtual int parameterValue() const;
37  virtual void setParameterValue( int value );
38 
40  virtual void execute(DtDe& de);
41 
42  protected:
43  std::string mySensorModeName;
44  std::string myParameterName;
46  };
47 
51  {
52  public:
55 
56  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
57  };
58 
59 
60 } //makVrv::
std::string mySensorModeName
Definition: DtSensorIntParameterCommand.h:43
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
virtual ~DtSensorIntParameterCommandCreator()
Definition: DtSensorIntParameterCommand.h:54
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 myParameterName
Definition: DtSensorIntParameterCommand.h:44
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtSensorIntParameterCommand sets a integer parameter of a sensor mode.
Definition: DtSensorIntParameterCommand.h:18
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
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:72
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
DtSensorIntParameterCommandCreator(GlobalIdConvertFunc func)
Definition: DtSensorIntParameterCommand.h:53
int myParameterValue
Definition: DtSensorIntParameterCommand.h:45
DtSensorIntParameterCommandCreator creates DtSensorIntParameterCommands.
Definition: DtSensorIntParameterCommand.h:50

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)