MAK Data Logger API Documentation for HLA
lgrFedAmb13.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #ifndef lgrFedAmb13_H_
10 #define lgrFedAmb13_H_
11 
12 #if DtHLA
13 #if !DtHLA_1516
14 
15 #include "lgrSim.h"
16 
17 #include <vl/vrlFederateAmbassador13.h>
18 
19 namespace MAKLogger
20 {
24  /************************************************************************/
25  class DT_DLL_LGRSIM DtLgrFederateAmbassador : public DtVrlFederateAmbassador
26  {
27  public:
28  DtLgrFederateAmbassador();
29  virtual ~DtLgrFederateAmbassador() throw();
30 
31  protected:
33  DtLgrFederateAmbassador( const DtLgrFederateAmbassador& rhs );
34 
36  DtLgrFederateAmbassador& operator=( const DtLgrFederateAmbassador& rhs );
37 
38  public:
39  virtual void reflectAttributeValues(
40  RTI::ObjectHandle theObject,
41  const RTI::AttributeHandleValuePairSet& theAttributes,
42  const RTI::FedTime& theTime,
43  const char* theTag,
44  RTI::EventRetractionHandle theHandle )
45  throw( RTI::ObjectNotKnown,
46  RTI::AttributeNotKnown,
47  RTI::FederateOwnsAttributes,
48  RTI::InvalidFederationTime,
49  RTI::FederateInternalError );
50 
51  virtual void reflectAttributeValues(
52  RTI::ObjectHandle theObject,
53  const RTI::AttributeHandleValuePairSet& theAttributes,
54  const char* theTag )
55  throw( RTI::ObjectNotKnown,
56  RTI::AttributeNotKnown,
57  RTI::FederateOwnsAttributes,
58  RTI::FederateInternalError);
59 
60  virtual void receiveInteraction(
61  RTI::InteractionClassHandle theInteraction,
62  const RTI::ParameterHandleValuePairSet& theParameters,
63  const RTI::FedTime& theTime,
64  const char* theTag,
65  RTI::EventRetractionHandle theHandle )
66  throw( RTI::InteractionClassNotKnown,
67  RTI::InteractionParameterNotKnown,
68  RTI::InvalidFederationTime,
69  RTI::FederateInternalError );
70 
71  virtual void receiveInteraction(
72  RTI::InteractionClassHandle theInteraction,
73  const RTI::ParameterHandleValuePairSet& theParameters,
74  const char* theTag )
75  throw( RTI::InteractionClassNotKnown,
76  RTI::InteractionParameterNotKnown,
77  RTI::FederateInternalError );
78 
79  virtual const RTI::Region* recentRegion();
80 
81  public:
82 
84  static DtVrlFederateAmbassador* create();
85 
86  protected:
87  RTI::Region* myRecentRegion;
88  };
89 }
90 
91 #endif
92 #endif
93 #endif
94 

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)