VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtShadowsCommand.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 ~DtShadowsCommand();
26 
27  virtual bool isEnabled() const;
28  virtual void setEnabled(bool state);
29 
30  virtual void execute(DtDe& de);
31 
32  protected:
33  bool myState;
34  };
35 
39  {
40  public:
43 
44  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
45  };
46 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtShadowsCommandCreator(GlobalIdConvertFunc func)
Definition: DtShadowsCommand.h:41
DtShadowsCommand enables or disables shadows.
Definition: DtShadowsCommand.h:21
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
DtShadowsCommandCreator creates DtShadowsCommands.
Definition: DtShadowsCommand.h:38
bool myState
Definition: DtShadowsCommand.h:33
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
virtual ~DtShadowsCommandCreator()
Definition: DtShadowsCommand.h:42
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
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

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)