VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCloudLayersCommand.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 ~DtCloudLayersCommand();
26 
27  virtual bool isEnabled() const;
28  virtual void setEnabled(bool state);
29 
30  virtual int layer() const;
31  virtual void setLayer(const int& lay);
32 
33  virtual void execute(DtDe& de);
34 
35  protected:
36  bool myState;
37  int myLayer;
38  };
39 
43  {
44  public:
47 
48  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
49  };
50 } //makVrv::
int myLayer
Definition: DtCloudLayersCommand.h:37
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
virtual ~DtCloudLayersCommandCreator()
Definition: DtCloudLayersCommand.h:46
DtCloudLayersCommand enables or disables cloud layers.
Definition: DtCloudLayersCommand.h:21
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
bool myState
Definition: DtCloudLayersCommand.h:36
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
DtCloudLayersCommandCreator(GlobalIdConvertFunc func)
Definition: DtCloudLayersCommand.h:45
DtCloudLayersCommandCreator creates DtCloudLayersCommands.
Definition: DtCloudLayersCommand.h:42

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)