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 

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)