VR-Link API Documentation for HLA 1516
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
utility.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2015 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
6
#pragma once
7
11
12
/*
13
* This file acts like a DAO (Data Access Object) or a simple database of resources used
14
* by an application, such as entities, reflected lists, publishers, etc. Rather than
15
* expose global variables directly, service functions are used to reduce coupling
16
* between definition and use of the resources and services.
17
*/
18
19
#include "
managedInterface/plugin.h
"
20
#include "
matrix/vlVector.h
"
21
22
#include <string>
23
#include <list>
24
25
class
DtExerciseConn
;
26
class
DtClock
;
27
class
DtReflectedEntity
;
28
class
DtReflectedEntityList
;
29
class
DtEntityPublisher
;
30
class
DtReflectedEmitterSystem
;
31
class
DtReflectedEmitterSystemList
;
32
class
DtEmitterSystemPublisher
;
33
class
DtTaitBryan
;
34
35
#ifdef DtHLA
36
// Some services are only applicable for HLA, such as emitter beams.
37
class
DtReflectedEmitterBeam
;
38
class
DtReflectedEmitterBeamList
;
39
class
DtEmitterBeamPublisher
;
40
#endif
41
43
//{@
44
MANAGEDINTERFACE_DLL
extern
const
char
*
EXERCISE_CONNECTION_NAME
;
45
MANAGEDINTERFACE_DLL
extern
const
char
*
CLOCK_NAME
;
46
MANAGEDINTERFACE_DLL
extern
const
char
*
REFLECTED_ENTITY_LIST_NAME
;
47
MANAGEDINTERFACE_DLL
extern
const
char
*
ENTITY_PUBLISHER_LIST_NAME
;
48
MANAGEDINTERFACE_DLL
extern
const
char
*
RECEIVER_PUBLISHER_LIST
;
49
MANAGEDINTERFACE_DLL
extern
const
char
*
REFLECTED_RECEIVER_LIST
;
50
MANAGEDINTERFACE_DLL
extern
const
char
*
REFLECTED_TRANSMITTER_LIST
;
51
MANAGEDINTERFACE_DLL
extern
const
char
*
TRANSMITTER_PUBLISHER_LIST
;
53
55
//{@
56
MANAGEDINTERFACE_DLL
DtExerciseConn
*
findExConnResource
();
57
MANAGEDINTERFACE_DLL
void
setExConnResource
(
DtExerciseConn
* conn);
58
60
MANAGEDINTERFACE_DLL
DtReflectedEntity
*
findReflectedEntityResource
(std::string
id
);
61
MANAGEDINTERFACE_DLL
void
setReflectedEntityResource
(std::string
id
,
DtReflectedEntity
* ent);
62
64
MANAGEDINTERFACE_DLL
DtEntityPublisher
*
findEntityPublisherResource
(std::string
id
);
65
MANAGEDINTERFACE_DLL
void
setEntityPublisherResource
(std::string
id
,
DtEntityPublisher
* pub);
66
67
MANAGEDINTERFACE_DLL
DtClock
*
findClockResource
();
68
MANAGEDINTERFACE_DLL
void
setClockResource
(
DtClock
* clock);
69
70
MANAGEDINTERFACE_DLL
DtReflectedEntityList
*
findReflectedEntityListResource
();
71
MANAGEDINTERFACE_DLL
void
setReflectedEntityListResource
(
DtReflectedEntityList
* rel);
72
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)