12 #ifndef DtMomWrapper_H_
13 #define DtMomWrapper_H_
32 DtMomWrapper( DtMomMgr* momMgrPtr );
35 virtual ~DtMomWrapper() throw (
RTI::FederateInternalError);
38 virtual DtMomMgr* momMgr();
45 virtual
unsigned long objectRemoveCount() const;
49 virtual
unsigned long objectDiscoverCount() const;
58 RTI::FederateInternalError );
63 RTI::FederateInternalError );
70 RTI::FederateInternalError );
76 RTI::FederateInternalError );
82 RTI::UnableToPerformSave,
83 RTI::FederateInternalError );
88 RTI::FederateInternalError);
92 RTI::FederateInternalError );
98 RTI::FederateInternalError);
104 RTI::FederateInternalError );
109 RTI::FederateInternalError );
116 RTI::SpecifiedSaveLabelDoesNotExist,
117 RTI::CouldNotRestore,
118 RTI::FederateInternalError );
123 RTI::FederateInternalError );
127 RTI::FederateInternalError );
137 RTI::ObjectClassNotPublished,
138 RTI::FederateInternalError );
144 RTI::ObjectClassNotPublished,
145 RTI::FederateInternalError );
151 RTI::InteractionClassNotPublished,
152 RTI::FederateInternalError );
158 RTI::InteractionClassNotPublished,
159 RTI::FederateInternalError );
169 const
char* theObjectName )
171 RTI::CouldNotDiscover,
172 RTI::ObjectClassNotKnown,
173 RTI::FederateInternalError );
184 RTI::AttributeNotKnown,
185 RTI::FederateOwnsAttributes,
186 RTI::InvalidFederationTime,
187 RTI::FederateInternalError );
195 RTI::AttributeNotKnown,
196 RTI::FederateOwnsAttributes,
197 RTI::FederateInternalError );
207 RTI::InteractionClassNotKnown,
208 RTI::InteractionParameterNotKnown,
209 RTI::InvalidFederationTime,
210 RTI::FederateInternalError );
217 RTI::InteractionClassNotKnown,
218 RTI::InteractionParameterNotKnown,
219 RTI::FederateInternalError );
229 RTI::InvalidFederationTime,
230 RTI::FederateInternalError );
237 RTI::FederateInternalError );
245 RTI::AttributeNotKnown,
246 RTI::FederateInternalError );
254 RTI::AttributeNotKnown,
255 RTI::FederateInternalError );
263 RTI::AttributeNotKnown,
264 RTI::AttributeNotOwned,
265 RTI::FederateInternalError );
273 RTI::AttributeNotOwned,
274 RTI::FederateInternalError );
282 RTI::AttributeNotOwned,
283 RTI::FederateInternalError );
296 RTI::AttributeNotKnown,
297 RTI::AttributeAlreadyOwned,
298 RTI::AttributeNotPublished,
299 RTI::FederateInternalError );
307 RTI::AttributeNotKnown,
308 RTI::AttributeNotOwned,
309 RTI::AttributeDivestitureWasNotRequested,
310 RTI::FederateInternalError );
318 RTI::AttributeNotKnown,
319 RTI::AttributeAcquisitionWasNotRequested,
320 RTI::AttributeAlreadyOwned,
321 RTI::AttributeNotPublished,
322 RTI::FederateInternalError );
330 RTI::AttributeNotKnown,
331 RTI::AttributeAlreadyOwned,
332 RTI::AttributeAcquisitionWasNotRequested,
333 RTI::FederateInternalError );
342 RTI::AttributeNotKnown,
343 RTI::AttributeNotOwned,
344 RTI::FederateInternalError );
352 RTI::AttributeNotKnown,
353 RTI::AttributeAlreadyOwned,
354 RTI::AttributeAcquisitionWasNotCanceled,
355 RTI::FederateInternalError );
364 RTI::AttributeNotKnown,
365 RTI::FederateInternalError );
372 RTI::AttributeNotKnown,
373 RTI::FederateInternalError );
380 RTI::AttributeNotKnown,
381 RTI::FederateInternalError );
391 RTI::InvalidFederationTime,
392 RTI::EnableTimeRegulationWasNotPending,
393 RTI::FederateInternalError );
399 RTI::InvalidFederationTime,
400 RTI::EnableTimeConstrainedWasNotPending,
401 RTI::FederateInternalError );
407 RTI::InvalidFederationTime,
408 RTI::TimeAdvanceWasNotInProgress,
409 RTI::FederateInternalError );
416 RTI::FederateInternalError );
420 virtual
void observe( const MAKRti::DtString& functionName,
422 const DtMomArgument& argument1 = theDfltMomArgument,
423 const DtMomArgument& argument2 = theDfltMomArgument,
424 const DtMomArgument& argument3 = theDfltMomArgument,
425 const DtMomArgument& argument4 = theDfltMomArgument,
426 const DtMomArgument& argument5 = theDfltMomArgument,
427 const DtMomArgument& returnArg = theDfltRetVal );
431 DtMomWrapper( const DtMomWrapper& src );
434 DtMomWrapper& operator=( const DtMomWrapper& src );
438 unsigned long myDiscoverCount;
439 unsigned long myRemoveCount;
443 static const DtMomArgument theDfltMomArgument;
444 static DtMomArgument theDfltRetVal;