MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
momPublisher.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright(c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: momPublisher.h,v $ $Revision: 1.23 $ $State: Exp $
7 *********************************************************************/
8 #ifdef DtMOM
9 
12 #ifndef DtMomPublisher_H_
13 #define DtMomPublisher_H_
14 
15 #include "objMgr.h"
16 
17 class DtMomSR;
18 class DtConnectionMgr;
19 class DtFomModuleManager;
20 class DtFomClassMgr;
21 class DtObjectMgr;
22 class DtRtiObject;
23 class DtRegion;
24 
25 class DT_DLL_LRC DtMomPublisher
26 {
27 public:
28 
30  DtMomPublisher(DtConnectionMgr* connMgrPtr, DtFomModuleManager* fomMgrPtr, DtObjectMgr* objMgrPtr);
31 
33  virtual ~DtMomPublisher();
34 
36 
37  virtual DtFomClassMgr* fom();
38  virtual const DtFomClassMgr* fom() const;
40 
42  virtual bool isObject(DtObjectInstanceHandle handle);
43 
45  virtual bool isClass(DtHandle handle);
46 
48  virtual void sendRegister();
49 
51  virtual void resendRegister();
52 
54  virtual void forceUpdate();
55 
57  virtual void forceUpdate(const DtAttributeHandleSet& set);
58 
59 #ifdef DDM
60  virtual void setRegion(DtRegion* regionPtr);
62  virtual DtRegion* region();
63 #endif
64 
65 
67  virtual unsigned int encodedLength() const;
68  virtual void encode(const char *buff);
69 
72  virtual bool decode(const char *buff);
73 
75  virtual void tick()=0;
76 
77 protected:
78 
80  DtMomPublisher(const DtMomPublisher& orig);
81 
83  DtMomPublisher& operator=(const DtMomPublisher& orig);
84 
85 protected:
86 
87  DtConnectionMgr* myConnMgr;
88  DtFomModuleManager* myFomMgr;
89  DtObjectMgr* myObjMgr;
90  DtRtiObject* myObject;
91  DtUpdateType myUpdateType;
92  DtMomSR* myRepository;
93  MAKRti::DtClock myClock;
94 #ifdef DDM
95  DtRegion* myRegion;
96 #endif
97 };
98 
99 #endif
100 #endif
The declaration of the object manager class.
DtUpdateType
Update type for object.
Definition: rtiObject.h:94
Defines the internal representation of attribute/parameter handle sets.
Definition: attrHandSet.h:30
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
DtHandle DtObjectInstanceHandle
Definition: internalTypes.h:50
The RTI object maintains the internal RTI object state.
Definition: rtiObject.h:123
Definition: fomMgr.h:49
The object manager class processes the object management services.
Definition: objMgr.h:81
unsigned long DtHandle
The internal types.
Definition: internalTypes.h:41
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
Definition: fomModuleManager.h:39

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)