VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverModeCommand.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 ~DtObserverModeCommand();
23 
24  virtual std::string observerName() const;
25  virtual void setObserverName(const std::string& obs);
26 
27  virtual std::string observerModeName() const;
28  virtual void setObserverModeName( const std::string& observerModeName );
29 
31  // get/set observer mode
32  virtual int observerMode() const;
33  virtual void setObserverMode( int mode );
34  // get/set packet version
35  virtual int version() const;
36  virtual void setVersion( int version );
38 
39  virtual void execute(DtDe& de);
40 
41  protected:
42  std::string myObserverName;
43  std::string myObserverModeName;
44 
45  private:
47  int myVersion;
48  };
49 
53  {
54  public:
57 
58  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
59  };
60 
61 
62 } //makVrv::
DtObserverModeCommandCreator(GlobalIdConvertFunc func)
Definition: DtObserverModeCommand.h:55
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
int myObserverMode
Definition: DtObserverModeCommand.h:46
int myVersion
Definition: DtObserverModeCommand.h:47
virtual ~DtObserverModeCommandCreator()
Definition: DtObserverModeCommand.h:56
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::string myObserverName
Definition: DtObserverModeCommand.h:42
DtObserverModeCommandCreator creates DtObserverModeCommands.
Definition: DtObserverModeCommand.h:52
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
const char int mode
Definition: ioapi.h:38
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
DtObserverModeCommand sets the observer mode.
Definition: DtObserverModeCommand.h:18
std::string myObserverModeName
Definition: DtObserverModeCommand.h:43
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.

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)