MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
repSyncPoints.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: repSyncPoints.h,v $ $Revision: 1.5 $ $State: Exp $
7 *********************************************************************/
10 
11 #ifndef DtReportSynchronizationPointsInteraction_H_
12 #define DtReportSynchronizationPointsInteraction_H_
13 #ifdef DtMOM
14 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E) || defined(DtIFSPEC1516_2025)
15 
16 #include "rtiMsConfig.h"
17 #include "internalTypes.h"
18 #include "mInteraction.h"
19 #include <vlutil/vlList.h>
20 
21 class DtMomInterCbMgr;
22 class DtReportSynchronizationPointsInteraction;
23 typedef void (*DtReportSynchronizationPointsInteractionCb)
24  (const DtReportSynchronizationPointsInteraction& inter, void* usr);
25 
26 class DT_DLL_LRC DtReportSynchronizationPointsInteraction :
27  public DtReportInteraction
28 {
29 public:
30 
32  DtReportSynchronizationPointsInteraction();
33 
35  virtual ~DtReportSynchronizationPointsInteraction();
36 
38  DtReportSynchronizationPointsInteraction(
39  const DtReportSynchronizationPointsInteraction& orig);
40 
42  DtReportSynchronizationPointsInteraction& operator=(
43  const DtReportSynchronizationPointsInteraction& orig);
44 
47  virtual const DtPhvps& phvps();
48 
51  virtual bool setFromPhvps(const DtPhvps& phvps);
52 
54  virtual std::vector<std::wstring> const & syncPoints() const;
55  virtual std::vector<std::wstring> & syncPoints();
56  virtual void setSyncPoints(std::vector<std::wstring> const & data);
57 
58 protected:
59 
61  virtual void encodeSyncPoints(
62  DtReportInteraction const & data,
63  DtPhvps* parameters,
64  DtParameterHandle parameterHandle);
65 
67  virtual void decodeSyncPoints(
68  DtReportInteraction* data,
69  const DtPhvps& parameters,
70  int index);
71 
72 public:
74  static DtReportInteraction* create();
75 
77  static void addCallback(DtMomInterCbMgr* callBackManager,
78  DtReportSynchronizationPointsInteractionCb cb, void* usr);
79  static void removeCallback(DtMomInterCbMgr* callBackManager,
80  DtReportSynchronizationPointsInteractionCb cb, void* usr);
81 
82 public:
83  static const char* theInteractionName;
84 
85 protected:
87  std::vector<std::wstring> mySyncPoints;
88 
89  const char *SYNC_POINTS_PARAMETER_NAME;
90 
91 };
92 
93 #endif
94 #endif
95 #endif
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
Definition: pHandValSet.h:38
The declaration of internal types.
DtHandle DtParameterHandle
Definition: internalTypes.h:56

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)