VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 /*******************************************************************************
6 ** $RCSfile: $ $Revision: 95512 $ $State: $
7 *******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/DtVrvCommand.h>
16 
17 namespace makVrv
18 {
22  {
23  public:
25  virtual ~DtObserverModeCommand();
26 
27  virtual std::string observerName() const;
28  virtual void setObserverName(const std::string& obs);
29 
30  virtual std::string observerModeName() const;
31  virtual void setObserverModeName( const std::string& observerModeName );
32 
34  // get/set observer mode
35  virtual int observerMode() const;
36  virtual void setObserverMode( int mode );
37  // get/set packet version
38  virtual int version() const;
39  virtual void setVersion( int version );
41 
42  virtual void execute(DtDe& de);
43 
44  protected:
45  std::string myObserverName;
46  std::string myObserverModeName;
47 
48  private:
50  int myVersion;
51  };
52 
56  {
57  public:
60 
61  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
62  };
63 
64 
65 } //makVrv::

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)