VR-Vantage 2.7 API Documentation
Home
Modules
Namespaces
Classes
Files
Libraries
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
examples
exampleDriverPlugin
exampleDriver.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2019 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtDriver.h
>
13
14
#include <string>
15
16
class
DtExampleSimEngine
;
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
};
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)