MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fedAmbCallback1516.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2012 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #if DtHLA_1516
10 #if !DtHLA_1516_EVOLVED
11 
12 #pragma once
13 
15 #include "fedAmbCallback.h"
16 
17 #include <memory>
18 
19 namespace MAKTrafficClientServerExConn
20 {
21 
22  class DtTaCallbackMsg;
23 
26  {
30 
47 
51 
56 
60 
84 
88 
98 
102 
107 
110  };
111 
112  // Call takes LogicalTime
113  template<int callbackKindValue>
115  {
116  public:
119  std::auto_ptr<RTI::LogicalTime> time);
121  virtual ~DtTaCallbackWithTime();
122  private:
126  public:
128  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
129  protected:
130  std::auto_ptr<RTI::LogicalTime> myTime;
131  };
132 
133  // Call takes object handle, attribute set, and optional user tag
134  template<int callbackKindValue>
136  {
137  public:
140  RTI::ObjectInstanceHandle theObject,
141  RTI::AttributeHandleSet const& theAttributes);
142 
144  RTI::ObjectInstanceHandle theObject,
145  RTI::AttributeHandleSet const& theAttributes,
146  RTI::VariableLengthData const& theUserTag);
147 
150  private:
154  public:
156  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
157  protected:
158  RTI::ObjectInstanceHandle myObject;
159  RTI::AttributeHandleSet myAttributes;
160  RTI::VariableLengthData myTag;
161  };
162 
166 
170  {
171  public:
174  std::wstring const & label,
175  RTI::SynchronizationFailureReason reason);
178  private:
182  public:
184  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
185  protected:
186  std::wstring myLabel;
187  RTI::SynchronizationFailureReason myReason;
188  };
189 
191  {
192  public:
195  std::wstring const & label,
196  const RTI::VariableLengthData& theUserSuppliedTag);
199  private:
203  public:
205  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
206  protected:
207  std::wstring myLabel;
208  RTI::VariableLengthData myTag;
209  };
210 
212 
214  {
215  public:
218  std::wstring const & label);
220  std::wstring const & label,
221  std::auto_ptr<RTI::LogicalTime> theTime);
222 
224  virtual ~DtTaCbInitiateFederateSave();
225  private:
229  public:
231  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
232  protected:
233  std::wstring myLabel;
234  std::auto_ptr<RTI::LogicalTime> myTime;
235  };
236 
238 
240  {
241  public:
244  RTI::SaveFailureReason failureReason);
246  virtual ~DtTaCbFederationNotSaved();
247  private:
251  public:
253  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
254  protected:
255  RTI::SaveFailureReason mySaveFailureReason;
256  };
257 
258  // not implemented DtTaFedAmbCall_federationSaveStatusResponse,
262 
264  {
265  public:
268  const std::wstring& label,
269  RTI::FederateHandle handle);
270 
273  private:
277  public:
279  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
280  protected:
281  std::wstring myLabel;
282  RTI::FederateHandle myFederateHandle;
283  };
284 
286 
288  {
289  public:
292  RTI::RestoreFailureReason failureReason);
295  private:
299  public:
301  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
302  protected:
303  RTI::RestoreFailureReason myRestoreFailureReason;
304  };
305 
306  // not implemented DtTaFedAmbCall_federationRestoreStatusResponse,
307 
311 
316 
320 
323 
325  {
326  public:
329  RTI::ObjectInstanceHandle theObject,
330  RTI::ObjectClassHandle theObjectClass,
331  const std::wstring& theObjectInstanceName);
334  private:
338  public:
340  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
341  protected:
342  RTI::ObjectInstanceHandle myObjectInstanceHandle;
343  RTI::ObjectClassHandle myObjectClassHandle;
344  std::wstring myString;
345  };
346 
348  {
349  public:
352  RTI::ObjectInstanceHandle theObject,
353  const RTI::AttributeHandleValueMap& theAttributeValues,
354  const RTI::VariableLengthData& theUserSuppliedTag,
355  RTI::OrderType sentOrder,
356  RTI::TransportationType theType);
357 
359  RTI::ObjectInstanceHandle theObject,
360  const RTI::AttributeHandleValueMap& theAttributeValues,
361  const RTI::VariableLengthData& theUserSuppliedTag,
362  RTI::OrderType sentOrder,
363  RTI::TransportationType theType,
364  const RTI::RegionHandleSet& theSentRegionHandleSet);
365 
367  RTI::ObjectInstanceHandle theObject,
368  const RTI::AttributeHandleValueMap& theAttributeValues,
369  const RTI::VariableLengthData& theUserSuppliedTag,
370  RTI::OrderType sentOrder,
371  RTI::TransportationType theType,
372  std::auto_ptr<RTI::LogicalTime> theTime,
373  RTI::OrderType receivedOrder);
374 
376  RTI::ObjectInstanceHandle theObject,
377  const RTI::AttributeHandleValueMap& theAttributeValues,
378  const RTI::VariableLengthData& theUserSuppliedTag,
379  RTI::OrderType sentOrder,
380  RTI::TransportationType theType,
381  std::auto_ptr<RTI::LogicalTime> theTime,
382  RTI::OrderType receivedOrder,
383  const RTI::RegionHandleSet& theSentRegionHandleSet);
384 
386  RTI::ObjectInstanceHandle theObject,
387  const RTI::AttributeHandleValueMap& theAttributeValues,
388  const RTI::VariableLengthData& theUserSuppliedTag,
389  RTI::OrderType sentOrder,
390  RTI::TransportationType theType,
391  std::auto_ptr<RTI::LogicalTime> theTime,
392  RTI::OrderType receivedOrder,
393  RTI::MessageRetractionHandle theHandle);
394 
396  RTI::ObjectInstanceHandle theObject,
397  const RTI::AttributeHandleValueMap& theAttributeValues,
398  const RTI::VariableLengthData& theUserSuppliedTag,
399  RTI::OrderType sentOrder,
400  RTI::TransportationType theType,
401  std::auto_ptr<RTI::LogicalTime> theTime,
402  RTI::OrderType receivedOrder,
403  RTI::MessageRetractionHandle theHandle,
404  const RTI::RegionHandleSet& theSentRegionHandleSet);
405 
406 
409  private:
413  public:
415  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
416 
417  protected:
418  RTI::ObjectInstanceHandle myObject;
419  RTI::AttributeHandleValueMap myAttributeValues;
420  RTI::VariableLengthData myTag;
421  RTI::OrderType mySentOrder;
422  RTI::TransportationType myType;
423  std::auto_ptr<RTI::LogicalTime> myTime;
424  RTI::OrderType myReceivedOrder;
425  RTI::MessageRetractionHandle myRetractHandle;
426  RTI::RegionHandleSet myRegionSet;
427  };
428 
430  {
431  public:
434  RTI::InteractionClassHandle theInteraction,
435  const RTI::ParameterHandleValueMap& theParameterValues,
436  const RTI::VariableLengthData& theUserSuppliedTag,
437  RTI::OrderType sentOrder,
438  RTI::TransportationType theType);
439 
441  RTI::InteractionClassHandle theInteraction,
442  const RTI::ParameterHandleValueMap& theParameterValues,
443  const RTI::VariableLengthData& theUserSuppliedTag,
444  RTI::OrderType sentOrder,
445  RTI::TransportationType theType,
446  const RTI::RegionHandleSet& theSentRegionHandleSet);
447 
449  RTI::InteractionClassHandle theInteraction,
450  const RTI::ParameterHandleValueMap& theParameterValues,
451  const RTI::VariableLengthData& theUserSuppliedTag,
452  RTI::OrderType sentOrder,
453  RTI::TransportationType theType,
454  std::auto_ptr<RTI::LogicalTime> theTime,
455  RTI::OrderType receivedOrder);
456 
458  RTI::InteractionClassHandle theInteraction,
459  const RTI::ParameterHandleValueMap& theParameterValues,
460  const RTI::VariableLengthData& theUserSuppliedTag,
461  RTI::OrderType sentOrder,
462  RTI::TransportationType theType,
463  std::auto_ptr<RTI::LogicalTime> theTime,
464  RTI::OrderType receivedOrder,
465  const RTI::RegionHandleSet& theSentRegionHandleSet);
466 
468  RTI::InteractionClassHandle theInteraction,
469  const RTI::ParameterHandleValueMap& theParameterValues,
470  const RTI::VariableLengthData& theUserSuppliedTag,
471  RTI::OrderType sentOrder,
472  RTI::TransportationType theType,
473  std::auto_ptr<RTI::LogicalTime> theTime,
474  RTI::OrderType receivedOrder,
475  RTI::MessageRetractionHandle theHandle);
476 
478  RTI::InteractionClassHandle theInteraction,
479  const RTI::ParameterHandleValueMap& theParameterValues,
480  const RTI::VariableLengthData& theUserSuppliedTag,
481  RTI::OrderType sentOrder,
482  RTI::TransportationType theType,
483  std::auto_ptr<RTI::LogicalTime> theTime,
484  RTI::OrderType receivedOrder,
485  RTI::MessageRetractionHandle theHandle,
486  const RTI::RegionHandleSet& theSentRegionHandleSet);
487 
489  virtual ~DtTaCbReceiveInteraction();
490  private:
494  public:
496  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
497 
498  protected:
499  RTI::InteractionClassHandle myInteractionClass;
500  RTI::ParameterHandleValueMap myParameterValues;
501  RTI::VariableLengthData myTag;
502  RTI::OrderType mySentOrder;
503  RTI::TransportationType myType;
504  std::auto_ptr<RTI::LogicalTime> myTime;
505  RTI::OrderType myReceivedOrder;
506  RTI::MessageRetractionHandle myRetractHandle;
507  RTI::RegionHandleSet myRegionSet;
508  };
509 
511  {
512  public:
515  RTI::ObjectInstanceHandle theObject,
516  const RTI::VariableLengthData& theUserSuppliedTag,
517  RTI::OrderType sentOrder);
518 
520  RTI::ObjectInstanceHandle theObject,
521  const RTI::VariableLengthData& theUserSuppliedTag,
522  RTI::OrderType sentOrder,
523  std::auto_ptr<RTI::LogicalTime> theTime,
524  RTI::OrderType receivedOrder);
525 
527  RTI::ObjectInstanceHandle theObject,
528  const RTI::VariableLengthData& theUserSuppliedTag,
529  RTI::OrderType sentOrder,
530  std::auto_ptr<RTI::LogicalTime> theTime,
531  RTI::OrderType receivedOrder,
532  RTI::MessageRetractionHandle theHandle);
533 
535  virtual ~DtTaCbRemoveObjectInstance();
536  private:
540  public:
542  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
543  protected:
544  RTI::ObjectInstanceHandle myObjectInstanceHandle;
545  RTI::VariableLengthData myTag;
546  RTI::OrderType mySentOrder;
547  std::auto_ptr<RTI::LogicalTime> myTime;
548  RTI::OrderType myReceivedOrder;
549  RTI::MessageRetractionHandle myRetractHandle;
550  };
551 
557 
561 
568 
572 
576 
580 
582  {
583  public:
585  DtTaCbRequestRetraction(RTI::MessageRetractionHandle handle);
587  virtual ~DtTaCbRequestRetraction();
588  private:
592  public:
594  virtual void invokeCallback(RTI::FederateAmbassador* fedAmb) const;
595  protected:
596  RTI::MessageRetractionHandle myRetractHandle;
597  };
598 
600  DT_DLL_CSEC const char * callbackKindToString(int kind);
601 
602  #define fedAmbCallback1516_inl_
603  #include "fedAmbCallback1516.inl"
604  #undef fedAmbCallback1516_inl_
605 
606 }
607 
608 #endif
609 #endif

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)