VR-Vantage
Loading...
Searching...
No Matches
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
17
18// This driver creates and owns the example driver.
21{
22public:
23
26
29
32
35 virtual const std::string& className() const;
36
37protected:
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
63protected:
65};
Contains makVrv:DtDriver class.
Definition DtExampleDriver.h:20
virtual ~DtExampleDriver()
Virtual DTOR.
DtExampleDriver(makVrv::DtAgentManager &am)
CTOR.
virtual bool onTick()
DtExampleSimEngine * myExampleSimEngine
Definition DtExampleDriver.h:63
virtual const std::string & className() const
virtual bool onStop()
virtual void attachObserverToEntity(const std::string &entityName)
virtual bool onStart()
virtual void slot_displayEngineAdded(const makVrv::DtDeRecord &igRecord)
Provide a basic sim engine to use in an example showing how to embed a sim engine into a driver that ...
Definition exampleDriver/DtExampleSimEngine.h:49
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition DtAgentManager.h:39
A Record of an IG instance.
Definition DtDeRecord.h:25
The DtDriver is an abstract class. Developers derive from this to create logic that "directs" things ...
Definition DtDriver.h:32