VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
exampleDriver
DtExampleDriver.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <vrvCore/DtDriver.h>
13
#include <string>
14
15
class
DtExampleSimEngine
;
16
17
18
// This driver creates and owns the example driver.
20
class
DtExampleDriver
:
public
makVrv::DtDriver
21
{
22
public
:
23
25
DtExampleDriver
( makVrv::DtAgentManager& am );
26
28
virtual
~DtExampleDriver
();
29
32
35
virtual
const
std::string&
className
()
const
;
36
37
protected
:
40
virtual
bool
onStart
();
41
44
virtual
bool
onStop
();
45
48
virtual
bool
onTick
();
49
54
virtual
void
attachObserverToEntity
(
const
std::string& entityName );
55
59
virtual
void
slot_displayEngineAdded
(
const
makVrv::DtDeRecord& igRecord );
60
62
63
protected
:
64
DtExampleSimEngine
*
myExampleSimEngine
;
65
};
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)