VR-Forces 5.0.2 Developer's Guide
 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 
9 
10 #pragma once
11 
12 #include <vrvCore/DtVrvCommand.h>
13 
14 namespace makVrv
15 {
19  {
20  public:
22  virtual ~DtShadowsCommand();
23 
24  virtual bool isEnabled() const;
25  virtual void setEnabled(bool state);
26 
27  virtual void execute(DtDe& de);
28 
29  protected:
30  bool myState;
31  };
32 
36  {
37  public:
40 
41  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
42  };
43 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtShadowsCommandCreator(GlobalIdConvertFunc func)
Definition: DtShadowsCommand.h:38
DtShadowsCommand enables or disables shadows.
Definition: DtShadowsCommand.h:18
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:35
bool myState
Definition: DtShadowsCommand.h:30
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
virtual ~DtShadowsCommandCreator()
Definition: DtShadowsCommand.h:39
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)