VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stopFreezeInteractionHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
15 #include <vlpi/entityIdentifier.h>
16 #include <matrix/vlMath.h>
17 
18 class DtExerciseConn;
20 
23  void* usr );
24 
29 {
30 public:
31 
34  static DtInteraction* create();
35 
38 
41 
43  virtual ~DtStopFreezeInteraction();
44 
47 
49  virtual void printData() const;
50 
52  virtual void printDataToStream( std::ostream& stream ) const;
53 
55  virtual void setSenderId( const DtEntityIdentifier& id );
56  virtual const DtEntityIdentifier& senderId() const;
57 
59  virtual void setReceiverId( const DtEntityIdentifier& id );
60  virtual const DtEntityIdentifier& receiverId() const;
61 
63  virtual void setRealWorldTime( const DtTime time );
64  virtual DtTime realWorldTime() const;
65 
68  DtTimeStampType realWorldTimeType() const;
69  void setRealWorldTimeType( const DtTimeStampType type );
70 
72  virtual void setRequestId( int id );
73  virtual int requestId() const;
74 
76  virtual DtStopReason reason() const;
77  virtual void setReason( DtStopReason reason );
78 
80  virtual bool reflectWhenFrozen() const;
81  virtual void setReflectWhenFrozen( bool flag );
82 
84  virtual bool runClockWhenFrozen() const;
85  virtual void setRunClockWhenFrozen( bool flag );
86 
88  virtual bool updateWhenFrozen() const;
89  virtual void setUpdateWhenFrozen( bool flag );
90 
92  virtual const char* name() const;
93 
96  static void addCallback( DtExerciseConn* conn,
97  DtStopFreezeInteractionCb cb, void* usr,
98  DtDDMRegionSP region = DtDDMRegionSP() );
99  static void removeCallback( DtExerciseConn* conn,
100  DtStopFreezeInteractionCb cb, void* usr,
101  DtDDMRegionSP region = DtDDMRegionSP() );
102 
103 protected:
104 
111  bool myReflect;
112  bool myUpdate;
114 
115 };
116 
117 #endif

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)