VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setObserverViewCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrfGuiCore/vrfGuiCore.h>
12 #include <vrvCore/DtVrvCommand.h>
14 
15 namespace makVrf
16 {
19  {
20  public:
22  virtual ~DtSetObserverViewCommand();
23 
24  virtual std::string observer();
25  virtual void setObserver(const std::string& newObs);
26 
27  virtual float smoothTime() const;
28  virtual void setSmoothTime(float);
29 
30  virtual void setFromRecord(const makArchives::DtObserverStateRecord&);
31  virtual void getRecord(makArchives::DtObserverStateRecord&) const;
32 
33  virtual void execute(makVrv::DtDe& de);
34 
35  protected:
36  std::string myObserver;
38  float mySmoothTime;
39  };
40 
43  {
44  public:
45  DtSetObserverViewCommandCreator(makVrv::GlobalIdConvertFunc func): makVrv::DtVrvCommandCreator(func) {}
47 
49  };
50 
51 }
52 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)