MAK RTIspy API Documentation for HLA 1516
hlaBounceFedAmb13.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: rtiSimpleFedAmb1516.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef HlaBounceFederateAmbassador_H_
10 #define HlaBounceFederateAmbassador_H_
11 
12 #pragma warning(disable: 4251)
13 #pragma warning(disable: 4786)
14 #pragma warning(disable: 4290)
15 
16 #include <RTI.hh>
18 #include <string>
19 #include <map>
20 
21 class BallController13;
22 
24 {
25 public:
26 
28 
30  throw ();
31 
32  virtual void discoverObjectInstance(
33  RTI::ObjectHandle theObject,
34  RTI::ObjectClassHandle theObjectClass,
35  const char* theObjectName)
36  throw (RTI::CouldNotDiscover,
37  RTI::ObjectClassNotKnown,
38  RTI::FederateInternalError);
39 
40  virtual void reflectAttributeValues(
41  RTI::ObjectHandle theObject,
42  const RTI::AttributeHandleValuePairSet& theAttributes,
43  const RTI::FedTime& theTime,
44  const char *theTag,
46  throw (RTI::ObjectNotKnown,
47  RTI::AttributeNotKnown,
48  RTI::FederateOwnsAttributes,
49  RTI::InvalidFederationTime,
50  RTI::FederateInternalError);
51 
52  virtual void reflectAttributeValues(
53  RTI::ObjectHandle theObject,
54  const RTI::AttributeHandleValuePairSet& theAttributes,
55  const char *theTag)
56  throw (RTI::ObjectNotKnown,
57  RTI::AttributeNotKnown,
58  RTI::FederateOwnsAttributes,
59  RTI::FederateInternalError);
60 
61  virtual void receiveInteraction (
62  RTI::InteractionClassHandle theInteraction,
63  const RTI::ParameterHandleValuePairSet& theParameters,
64  const RTI::FedTime& theTime,
65  const char *theTag,
67  throw (RTI::InteractionClassNotKnown,
68  RTI::InteractionParameterNotKnown,
69  RTI::InvalidFederationTime,
70  RTI::FederateInternalError);
71 
72  virtual void receiveInteraction (
73  RTI::InteractionClassHandle theInteraction,
74  const RTI::ParameterHandleValuePairSet& theParameters,
75  const char *theTag)
76  throw (RTI::InteractionClassNotKnown,
77  RTI::InteractionParameterNotKnown,
78  RTI::FederateInternalError);
79 
80  virtual void removeObjectInstance (
81  RTI::ObjectHandle theObject,
82  const RTI::FedTime& theTime,
83  const char *theTag,
85  throw (RTI::ObjectNotKnown,
86  RTI::InvalidFederationTime,
87  RTI::FederateInternalError);
88 
89  virtual void removeObjectInstance (
90  RTI::ObjectHandle theObject,
91  const char *theTag)
92  throw (RTI::ObjectNotKnown,
93  RTI::FederateInternalError);
94 
95  virtual void attributesInScope(
96  RTI::ObjectHandle theObject,
97  const RTI::AttributeHandleSet& theAttributes)
98  throw (RTI::ObjectNotKnown,
99  RTI::AttributeNotKnown,
100  RTI::FederateInternalError);
101 
102  virtual void attributesOutOfScope(
103  RTI::ObjectHandle theObject,
104  const RTI::AttributeHandleSet& theAttributes)
105  throw (RTI::ObjectNotKnown,
106  RTI::AttributeNotKnown,
107  RTI::FederateInternalError);
108 
110  RTI::ObjectHandle theObject,
111  const RTI::AttributeHandleSet& candidateAttributes,
112  const char* theTag)
113  throw (RTI::ObjectNotKnown,
114  RTI::AttributeNotKnown,
115  RTI::AttributeNotOwned,
116  RTI::FederateInternalError);
117 
119  RTI::ObjectHandle theObject,
120  RTI::AttributeHandleSet const & securedAttributes)
121  throw (RTI::ObjectNotKnown,
122  RTI::AttributeNotKnown,
123  RTI::AttributeAcquisitionWasNotRequested,
124  RTI::AttributeAlreadyOwned,
125  RTI::AttributeNotPublished,
126  RTI::FederateInternalError);
127 
129  RTI::ObjectHandle theObject,
130  const RTI::AttributeHandleSet& offeredAttributes,
131  const char* theTag)
132  throw (RTI::ObjectNotKnown,
133  RTI::AttributeNotKnown,
134  RTI::AttributeAlreadyOwned,
135  RTI::AttributeNotPublished,
136  RTI::FederateInternalError);
137 
139  RTI::ObjectHandle theObject,
140  const RTI::AttributeHandleSet& releasedAttributes)
141  throw (RTI::ObjectNotKnown,
142  RTI::AttributeNotKnown,
143  RTI::AttributeNotOwned,
144  RTI::AttributeDivestitureWasNotRequested,
145  RTI::FederateInternalError);
146 
147 protected:
148 
150 
151 };
152 
153 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)