VR-Forces 4.3 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
networkCallbackManager
networkCallbackManagerAccessory.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtAddAttrGuiAccessory.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
9
//\file DtAddAttrGuiAccessory.h
10
//\brief Contains DtAddAttrGuiAccessory class. Used to install extensions to the FOM
11
//for mass
12
13
#include <
vrfVrlSharedSource/vrfProtocol.h
>
14
#include <
vrvCore/DtBaseAccessory.h
>
15
#include <
vrfVrlSharedSource/vrfDriver.h
>
16
17
namespace
makVrv
18
{
19
class
DtConnection;
20
class
DtVrlinkDriver;
21
}
22
23
namespace
makVrf
24
{
25
class
DtNetworkMessageInterface;
26
};
27
28
//\brief This class defines an accessory that will install itself
29
//into DtVrlinkDriver objects and print out the esr of entities
30
//as they are discovered.
31
class
DtNetworkCallbackManagerAccessory
:
public
makVrv::DtBaseAccessory
32
{
33
public
:
34
//\Default constructor
35
DtNetworkCallbackManagerAccessory
();
36
37
//\Default destructor
38
virtual
~DtNetworkCallbackManagerAccessory
();
39
40
//\brief Called when this accessory is installed into a connector.
41
virtual
void
install
(
makVrv::DtDriver
* driver);
42
43
//\brief Called when this accessory is uninstalled
44
virtual
void
uninstall
(
makVrv::DtDriver
* baseConn);
45
46
//\brief Called to find out if this accessory is compatible with a
47
//particular connector. In this case, it is compatible with any
48
//DtVrlinkDriver of the correct protocol
49
virtual
bool
isCompatible
(
makVrv::DtDriver
* driver);
50
51
//\brief Called when an interaction or pdu is received. Will send notification through
52
//the VRF driver
53
virtual
void
received
(
makVrf::DtNetworkMessageInterface
*);
54
55
protected
:
56
57
//\brief Called when the driver creates a new connection
58
virtual
void
slot_onSimCreated
(
makVrv::DtConnection
* connection);
59
60
//\brief Called when a sim connection is connected
61
virtual
void
slot_onSimConnected
(
makVrv::DtConnection
* connection);
62
63
//\brief Called when a sim connection is disconnected
64
virtual
void
slot_onSimAboutToBeDisconnected
(
makVrv::DtConnection
* connection);
65
66
//Sends out a PDU or interaction with hard coded values given a particular protoco;
67
virtual
void
slot_onSendPdu
(
makVrv::DtConnection
* connection);
68
protected
:
69
makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfDriver
*
myDriver
;
70
};
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)