VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
managedInterface
subscribeStrategy.h
Go to the documentation of this file.
1
/*********************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************************/
5
6
#pragma once
7
11
12
#include "
managedInterface/linkStrategy.h
"
13
#include "
managedInterface/plugin.h
"
14
#include "
messages/subscribe.h
"
15
#include "
managedInterface/delegate.h
"
16
17
#include <
vlutil/vlPrint.h
>
18
19
#include <string>
20
#include <list>
21
22
class
DtMessage
;
23
class
DtManagedInterface
;
24
class
DtExerciseConn
;
25
27
class
MANAGEDINTERFACE_DLL
DtSubscribeStrategy
:
public
DtLinkStrategy
28
{
29
public
:
31
DtSubscribeStrategy
(std::string name,
DtManagedInterface
* link, std::string subscribeClassName,
SubscribeMessage::SubscribeType
subscribeType);
32
34
virtual
~
DtSubscribeStrategy
();
35
37
virtual
void
shutdown
();
38
void
handleSubscriptionChange(
DtMessage
* msg);
39
40
protected
:
41
43
virtual
void
addVrlCallback(
DtExerciseConn
* exConn) = 0;
44
virtual
void
removeVrlCallback(
DtExerciseConn
* exConn) = 0;
45
46
DtMessageDelegate
*
mySubscriptionChangeHandler
;
47
bool
mySubscribed
;
48
std::string
myClassName
;
49
SubscribeMessage::SubscribeType
mySubscriptionType
;
50
};
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)