MAK RTIspy API Documentation for HLA 1.3
setExcLog.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: setExcLog.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 #ifdef DtMOM
9 
12 
13 #ifndef DtSetExceptionLoggingInteraction_H_
14 #define DtSetExceptionLoggingInteraction_H_
15 
16 #include "rtiMsConfig.h"
17 #include "internalTypes.h"
18 #include "mInteraction.h"
19 #include <vlutil/vlList.h>
20 
21 class DtMomInterCbMgr;
22 class DtSetExceptionLoggingInteraction;
23 typedef void (*DtSetExceptionLoggingInteractionCb)
24  (const DtSetExceptionLoggingInteraction& inter, void* usr);
25 
26 class DT_DLL_LRC DtSetExceptionLoggingInteraction :
27  public DtAdjustInteraction
28 {
29 public:
30 
32  DtSetExceptionLoggingInteraction();
33 
35  virtual ~DtSetExceptionLoggingInteraction();
36 
38  DtSetExceptionLoggingInteraction(
39  const DtSetExceptionLoggingInteraction& orig);
40 
42  DtSetExceptionLoggingInteraction& operator=(
43  const DtSetExceptionLoggingInteraction& orig);
44 
47  virtual const DtPhvps& phvps();
48 
51  virtual bool setFromPhvps(const DtPhvps& phvps);
52 
54  virtual bool loggingState() const;
55  virtual void setLoggingState(bool data);
56 
57 
58 public:
60  static DtAdjustInteraction* create();
61 
63  static void addCallback(DtMomInterCbMgr* callBackManager,
64  DtSetExceptionLoggingInteractionCb cb, void* usr);
65  static void removeCallback(DtMomInterCbMgr* callBackManager,
66  DtSetExceptionLoggingInteractionCb cb, void* usr);
67 
68 protected:
69 
71  virtual void encodeLoggingState(
72  const DtMomInteraction& data,
73  DtPhvps* parameters,
74  DtParameterHandle parameterHandle);
75 
77  virtual void decodeLoggingState(
78  DtMomInteraction* data,
79  const DtPhvps& parameters,
80  int index);
81 
82 public:
83  static const char* theInteractionName;
84 
85 protected:
87  bool myLoggingState;
88  bool myReceivedLoggingState;
89 
90  const char *LOGGING_STATE_PARAMETER_NAME;
91 
92 };
93 
94 #endif
95 #endif

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)