VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
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
{
21
class
DT_DLL_VRVCORE
DtObserverModeCommand
:
public
DtVrvCommand
22
{
23
public
:
24
DtObserverModeCommand
();
25
virtual
~
DtObserverModeCommand
();
26
27
virtual
std::string observer()
const
;
28
virtual
void
setObserver(
const
std::string& obs);
29
30
virtual
int
mode()
const
;
31
virtual
void
setMode(
const
int
& mode);
32
33
virtual
void
execute(
DtDe
& de);
34
35
protected
:
36
std::string
myObserver
;
37
int
myMode
;
38
};
39
42
class
DT_DLL_VRVCORE
DtObserverModeCommandCreator
:
public
DtVrvCommandCreator
43
{
44
public
:
45
DtObserverModeCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
46
virtual
~DtObserverModeCommandCreator
() {}
47
48
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
49
};
50
51
52
}
//makVrv::
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)