VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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 observerName()
const
;
28
virtual
void
setObserverName(
const
std::string& obs);
29
30
virtual
std::string observerModeName()
const
;
31
virtual
void
setObserverModeName(
const
std::string& observerModeName );
32
34
// get/set observer mode
35
virtual
int
observerMode()
const
;
36
virtual
void
setObserverMode(
int
mode );
37
// get/set packet version
38
virtual
int
version()
const
;
39
virtual
void
setVersion(
int
version );
41
42
virtual
void
execute(
DtDe
& de);
43
44
protected
:
45
std::string
myObserverName
;
46
std::string
myObserverModeName
;
47
48
private
:
49
int
myObserverMode
;
50
int
myVersion
;
51
};
52
55
class
DT_DLL_VRVCORE
DtObserverModeCommandCreator
:
public
DtVrvCommandCreator
56
{
57
public
:
58
DtObserverModeCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
59
virtual
~DtObserverModeCommandCreator
() {}
60
61
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
62
};
63
64
65
}
//makVrv::
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)