VR-Forces 4.5 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
examples
addAttr
addAttrGui
DtAddAttrGuiAccessory.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
6
//\file DtAddAttrGuiAccessory.h
7
//\brief Contains DtAddAttrGuiAccessory class. Used to install extensions to the FOM
8
//for mass
9
10
//Include this header file to get all protocol dependent header files
11
//and #defines defined, specifically:
13
//DT_PROTOCOL_NAMESPACE
14
//VRF_PROTOCOL_NAMESPACE
15
#pragma once
16
17
#include <
vrfVrlSharedSource/vrfProtocol.h
>
18
#include <
vrvCore/DtBaseAccessory.h
>
19
#include <
vrvCore/DtEntityState.h
>
20
#include <
vrfVrlSharedSource/vrfDriver.h
>
21
22
namespace
makVrv
23
{
24
class
DtConnection;
25
}
26
27
namespace
makVrf
28
{
29
namespace
VRF_PROTOCOL_NAMESPACE
30
{
31
class
DtVrfDriver;
32
}
33
}
34
35
//\brief This class defines an accessory that will install itself
36
//into DtVrlinkDriver objects and print out the esr of entities
37
//as they are discovered.
38
class
DtAddAttrGuiAccessory
:
public
makVrv::DtBaseAccessory
39
{
40
public
:
41
//\Default constructor
42
DtAddAttrGuiAccessory
();
43
44
//\Default destructor
45
virtual
~DtAddAttrGuiAccessory
();
46
47
//\brief Called when this accessory is installed into a connector.
48
virtual
void
install
(
makVrv::DtDriver
* driver);
49
50
//\brief Called when this accessory is uninstalled
51
virtual
void
uninstall
(
makVrv::DtDriver
* baseConn);
52
53
//\brief Called to find out if this accessory is compatible with a
54
//particular connector. In this case, it is compatible with any
55
//DtVrlinkDriver of the correct protocol
56
virtual
bool
isCompatible
(
makVrv::DtDriver
* driver);
57
58
protected
:
59
60
//\brief Called when the driver creates a new connection
61
virtual
void
slot_onSimCreated
(
makVrv::DtConnection
* connection);
62
63
//\brief Called when a sim connection is connected
64
virtual
void
slot_onSimConnected
(
makVrv::DtConnection
* connection);
65
66
//\brief Called when a sim connection is disconnected
67
virtual
void
slot_onSimAboutToBeDisconnected
(
makVrv::DtConnection
* connection);
68
69
//\brief Called when state view is updated for entity state
70
virtual
void
slot_stateUpdated
(
makVrv::DtUniqueID
listenerId,
const
makVrv::DtSimState
& s);
71
72
//\brief Called when the Vrf Driver has complete its setup. Safe to connect to data processor signals
73
virtual
void
slot_onConnectionSetupComplete
();
74
75
protected
:
76
makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfDriver
*
myDriver
;
77
};
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)