VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
breachObjectEncoder.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
15 
17 
20 #define DtDECLARE_BREACH_OBJ_ATTR_CHECKER( attrName ) \
21  DtDECLARE_ATTR_CHECKER( DtLinearObjectRepository, attrName )
22 
25 #define DtDECLARE_BREACH_OBJ_ATTR_ENCODER( attrName ) \
26  DtDECLARE_ATTR_ENCODER( DtLinearObjectRepository, attrName )
27 
33 {
34 public:
35 
38  static DtHlaStateEncoder* create( DtExerciseConn* exConn,
39  DtObjClassDesc* classDesc );
40 
43 
46 
48  virtual ~DtBreachObjectEncoder();
49 
52 
53 protected:
54 
55  DtDECLARE_BREACH_OBJ_ATTR_CHECKER( SegmentRecords );
56 
57  DtDECLARE_BREACH_OBJ_ATTR_ENCODER( SegmentRecords );
58 
59 };
60 
66 #define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_ENCODER( \
67  attrName, netType, inspector ) \
68  DtDEFINE_SIMPLE_ATTR_ENCODER( DtLinearObjectEncoder, \
69  DtLinearObjectRepository, \
70  attrName, netType, inspector )
71 
77 #define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_CHECKER( \
78  attrName, inspector ) \
79  DtDEFINE_SIMPLE_ATTR_CHECKER( DtLinearObjectEncoder, \
80  DtLinearObjectRepository, \
81  attrName, inspector )
82 
83 #endif //DtHLA
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Used to encode breach objects DtBreachObjectEncoder is a DtEnvironmentObjectEncoder that is used to e...
Definition: breachObjectEncoder.h:32
#define DtDECLARE_BREACH_OBJ_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: breachObjectEncoder.h:20
#define DtDECLARE_BREACH_OBJ_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: breachObjectEncoder.h:25
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
class DtEnvironmentObjectEncoder:
Definition: environmentObjectEncoder.h:36
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
This file provides a declaration of the class DtEnvironmentObjectEncoder.
Instances of DtLinearObjectRepository are used to maintain state information needed by linear object ...
Definition: linearObjectRepository.h:49
DtEnvironmentObjectEncoder & operator=(const DtEnvironmentObjectEncoder &orig)
assignment operator

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)