VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
behaviorOptionsWidgetLogic.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: behaviorOptionsWidgetLogic.h,v $ $Revision: 108016 $ $State: Exp $
7
** Created:
8
******************************************************************************/
9
12
14
15
#pragma once
16
17
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
18
#include <
vrvUtil/DtVirtualBaseClass.h
>
19
#include <
vrvUtil/DtSignalConnectionManager.h
>
20
21
#include <string>
22
23
namespace
makVrv
24
{
25
class
DtDe;
26
}
27
28
namespace
makVrf
29
{
30
class
DtVrfBackendState;
31
class
DtEntityBehaviorOptionsWidgetInterface;
32
33
class
DT_DLL_VRFGUICOREQT
DtEntityBehaviorOptionsWidgetLogic
34
{
35
36
public
:
37
39
DtEntityBehaviorOptionsWidgetLogic
(
makVrv::DtDe
& de,
DtEntityBehaviorOptionsWidgetInterface
& iFace );
40
42
virtual
~
DtEntityBehaviorOptionsWidgetLogic
();
43
44
protected
:
45
47
virtual
void
slot_roadDrivingOnLeftEnabled(
bool
);
48
50
virtual
void
slot_roadDrivingOptionsUpdated(
const
std::string& s,
const
DtVrfBackendState
* state);
51
53
void
sendDataToServers(
double
);
54
55
virtual
void
updateDrivingSide(
bool
side);
56
57
protected
:
58
makVrv::DtDe
&
myDe
;
59
makVrv::DtSignalConnectionManager
myConnectionManager
;
60
DtEntityBehaviorOptionsWidgetInterface
&
myInterface
;
61
bool
myDrivingOnLeftSideEnabled
;
62
};
63
64
class
DT_DLL_VRFGUICOREQT
DtEntityBehaviorOptionsWidgetLogicCreator
:
public
makVrv::DtVirtualBaseClass
65
{
66
public
:
67
DtEntityBehaviorOptionsWidgetLogicCreator
();
68
virtual
~
DtEntityBehaviorOptionsWidgetLogicCreator
();
69
71
static
DtEntityBehaviorOptionsWidgetLogicCreator
& instance(
makVrv::DtDe
&);
72
74
static
void
registerInstance(
makVrv::DtDe
& de,
DtEntityBehaviorOptionsWidgetLogicCreator
* instance);
75
76
virtual
DtEntityBehaviorOptionsWidgetLogic
* create(
makVrv::DtDe
& de,
DtEntityBehaviorOptionsWidgetInterface
&);
77
};
78
}
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
)