VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
interactionDecoderFactory.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #ifndef DtInteractionDecoderFactory_H_
11 #define DtInteractionDecoderFactory_H_
12 
13 #if DtHLA
14 
15 #include "interactionDecoder.h"
16 #include <vlutil/vlMachineTypes.h>
17 #include <map>
18 
24 {
25 public:
26 
29 
31  virtual ~DtInteractionDecoderFactory();
32 
36 
39  DtInteractionDecoderFactory& operator=(
40  const DtInteractionDecoderFactory& orig);
41 
45  virtual DtInteractionDecoder* createDecoder(
46  RTI::InteractionClassHandle hand);
47 
53  virtual DtInteractionDecoder* addDecoder(
54  RTI::InteractionClassHandle hand,
55  DtInteractionDecoder* decoder);
56 
64  virtual void addParameterDecoder(
65  RTI::InteractionClassHandle classHand,
66  RTI::ParameterHandle paramHand,
68  bool applyToSubclasses = true);
69 
71  void addParameterDecoder(
72  char* className,
73  RTI::ParameterHandle paramHand,
75  bool applyToSubclasses = true);
76 
78  void addParameterDecoder(
79  RTI::InteractionClassHandle classHand,
80  char* paramName,
82  bool applyToSubclasses = true);
83 
85  void addParameterDecoder(
86  char* className,
87  char* paramName,
89  bool applyToSubclasses = true);
90 
100  virtual DtInteractionDecoder* decoder(
101  RTI::InteractionClassHandle hand, bool copybase = false);
102 
103 protected:
104 
107  typedef std::map<RTI::InteractionClassHandle, DtInteractionDecoder *> InterClassHandleToDecoderMap;
109 
111 };
112 
113 #endif
114 #endif
115 
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtInteractionDecoderFactory are used to create decoders which know how to decode an HLA ...
Definition: interactionDecoderFactory.h:23
This file contains the declaration of DtInteractionDecoder.
DtExerciseConn * myExConn
Definition: interactionDecoderFactory.h:110
std::map< RTI::InteractionClassHandle, DtInteractionDecoder * > InterClassHandleToDecoderMap
A list that maps class handles (DtIntHashKeys) to DtInteractionDecoder pointers.
Definition: interactionDecoderFactory.h:107
void(* DtParameterDecoder)(DtInteractionRep *inter, const RTI::ParameterHandleValuePairSet &pvlist, int i)
Parameter decoder function signature.
Definition: interactionDecoder.h:42
Instances of DtInteractionDecoder are used to decode interactions from the network.
Definition: interactionDecoder.h:37
InterClassHandleToDecoderMap myProtos
Definition: interactionDecoderFactory.h:108
This file contains typedefs for machine dependant types.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)