VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
strategies
transmitter.h
Go to the documentation of this file.
1
/*********************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************************/
5
6
#pragma once
7
8
#include "
strategies/export.h
"
9
#include "
managedInterface/linkStrategy.h
"
10
#include "
managedInterface/delegate.h
"
11
#include "
managedInterface/publisherList.h
"
12
#include "
managedInterface/subscribeStrategy.h
"
13
14
#include <string>
15
#include <map>
16
17
#include <
vl/radioTransmitterPublisher.h
>
18
#include <
vl/reflectedRadioTransmitterList.h
>
19
#include <
vl/radioReceiverPublisher.h
>
20
#include <
vl/reflectedRadioReceiverList.h
>
21
#include <
vl/signalInteraction.h
>
22
23
class
DtMessage
;
24
class
DtManagedInterface
;
25
class
DtExerciseConn
;
26
27
class
DtRadioTransmitterPublisher
;
28
29
class
MANAGEDINTERFACE_MODULE_DLL
DtRadioTransmitterStrategy
:
public
DtSubscribeStrategy
30
{
31
public
:
32
virtual
~
DtRadioTransmitterStrategy
();
33
34
std::string
name
();
35
static
std::string theName();
36
37
virtual
bool
init
();
38
virtual
void
tick
();
39
virtual
void
shutdown
();
40
41
static
DtLinkStrategy
* create(
DtManagedInterface
* gl);
42
43
protected
:
44
DtRadioTransmitterStrategy
(
DtManagedInterface
* link);
45
static
std::string
theStrategyName
;
46
47
void
handleCSharpTransmitterDiscovered(
DtMessage
* msg);
48
static
void
vrlTransmitterDiscovered(
DtReflectedRadioTransmitter
* tx,
void
* usr);
49
void
handleVrlTransmitterDiscovered(
DtReflectedRadioTransmitter
* tx);
50
51
void
handleCSharpTransmitterRemoved(
DtMessage
* msg);
52
static
void
vrlTransmitterRemoved(
DtReflectedRadioTransmitter
* tx,
void
* usr);
53
void
handleVrlTransmitterRemoved(
DtReflectedRadioTransmitter
* tx);
54
55
void
handleCSharpTransmitterState(
DtMessage
* msg);
56
static
void
vrlTransmitterState(
DtReflectedRadioTransmitter
* tx,
void
* usr);
57
void
handleVrlTransmitterState(
DtReflectedRadioTransmitter
* tx);
59
virtual
void
addVrlCallback
(
DtExerciseConn
* exConn);
60
virtual
void
removeVrlCallback
(
DtExerciseConn
* exConn);
61
62
DtExerciseConn
*
myExconn
;
63
64
DtMessageDelegate
*
myTransmitterDiscoveredHandler
;
65
DtMessageDelegate
*
myTransmitterRemovedHandler
;
66
DtMessageDelegate
*
myTransmitterStateHandler
;
67
68
DtReflectedRadioTransmitterList
*
myRelTx
;
69
DtPublisherList<DtRadioTransmitterPublisher>
*
myTxPubs
;
70
};
Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)