VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
emitterSystemEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtEmitterSystemEncoder_H_
10 #define DtEmitterSystemEncoder_H_
11 
12 
14 
18 
20 
23 #define DtDECLARE_EMITTERSYS_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtEmitterSystemRepository, attrName)
25 
28 #define DtDECLARE_EMITTERSYS_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtEmitterSystemRepository, attrName)
30 
35 
37 {
38 public:
39 
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtEmitterSystemEncoder();
47 
50 
53 
54 public:
55 
57  static DtHlaStateEncoder* create(
58  DtExerciseConn* exConn,
59  DtObjClassDesc* classDesc);
60 
61 protected:
62 
64  DtDECLARE_EMITTERSYS_ATTR_CHECKER(EmitterFunction);
66  DtDECLARE_EMITTERSYS_ATTR_CHECKER(EmitterNumber);
69  DtDECLARE_EMITTERSYS_ATTR_CHECKER(EmitterFunctionCode);
71  DtDECLARE_EMITTERSYS_ATTR_CHECKER(EmitterIndex);
72  DtDECLARE_EMITTERSYS_ATTR_CHECKER(EventIdentifier);
73 
75  DtDECLARE_EMITTERSYS_ATTR_ENCODER(EmitterFunction);
77  DtDECLARE_EMITTERSYS_ATTR_ENCODER(EmitterNumber);
80  DtDECLARE_EMITTERSYS_ATTR_ENCODER(EmitterFunctionCode);
83  DtDECLARE_EMITTERSYS_ATTR_ENCODER(EventIdentifier);
84 };
85 
91 #define DtDEFINE_SIMPLE_EMITTERSYS_ATTR_ENCODER( \
92  attrName, netType, inspector) \
93  DtDEFINE_SIMPLE_ATTR_ENCODER(DtEmitterSystemEncoder, \
94  DtEmitterSystemRepository, \
95  attrName, netType, inspector)
96 
102 #define DtDEFINE_SIMPLE_EMITTERSYS_ATTR_CHECKER( \
103  attrName, inspector) \
104  DtDEFINE_SIMPLE_ATTR_CHECKER(DtEmitterSystemEncoder, \
105  DtEmitterSystemRepository, \
106  attrName, inspector)
107 
108 #endif //DtEmitterSystemEncoder_H_
109 
110 #endif //DtHLA
111 
DtBaseEmbeddedSystemEncoder & operator=(const DtBaseEmbeddedSystemEncoder &orig)
assignment operator
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
Instances of DtBaseEmbeddedSystemEncoder are used to encode a base embedded system state repository i...
Definition: baseEmbeddedSystemEncoder.h:35
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
#define DtDECLARE_EMITTERSYS_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: emitterSystemEncoder.h:28
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
This file provides a declaration of the class DtBaseEmbeddedSystemEncoder.
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
class DtEmitterSystemEncoder:
Definition: emitterSystemEncoder.h:36
#define DtDECLARE_EMITTERSYS_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: emitterSystemEncoder.h:23
Instances of DtEmitterSystemRepository are used to store state data for emitter systems in both HLA a...
Definition: emitterSystemRepository.h:29
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)