VR-Link API Documentation for HLA Evolved
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
entityDiscovered.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/managedInterface.h
"
11
#include "
managedInterface/publisherList.h
"
12
13
#include <
vlpi/entityIdentifier.h
>
14
15
#include <string>
16
#include <list>
17
18
class
DtMessage
;
19
class
DtManagedInterface
;
20
class
DtExerciseConn
;
21
class
DtReflectedEntity
;
22
class
DtReflectedEntityList
;
23
class
DtEntityPublisher
;
24
25
class
MANAGEDINTERFACE_MODULE_DLL
DtEntityDiscoveredStrategy
:
public
DtLinkStrategy
26
{
27
public
:
28
virtual
~
DtEntityDiscoveredStrategy
();
29
30
std::string
name
();
31
static
std::string theName();
32
33
virtual
bool
init
();
34
virtual
void
tick
();
35
virtual
void
shutdown
();
36
37
static
DtLinkStrategy
* create(
DtManagedInterface
* gl);
38
39
protected
:
40
DtEntityDiscoveredStrategy
(
DtManagedInterface
* link);
41
void
handleCSharpEntityDiscovered(
DtMessage
* msg);
42
43
static
void
vrlEntityDiscovered(
DtReflectedEntity
* ent,
void
* usr);
44
void
handleVrlEntityDiscovered(
DtReflectedEntity
* ent);
45
46
47
virtual
bool
initReflectedListHandler();
48
49
DtReflectedEntityList
*
myRel
;
50
DtPublisherList<DtEntityPublisher>
*
myPubs
;
51
52
static
std::string
theStrategyName
;
53
DtMessageDelegate
*
myHandler
;
54
bool
isReflectedListHandlerInitialized
;
55
};
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)