MAK RTIspy API Documentation for HLA 1516
 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 
10 
11 
12 #ifndef DtMomPublisher_H_
13 #define DtMomPublisher_H_
14 
15 #include "objMgr.h"
16 
17 class DtMomSR;
18 class DtConnectionMgr;
19 class DtFomClassMgr;
20 class DtObjectMgr;
21 class DtRtiObject;
22 class DtRegion;
23 
24 class DT_DLL_LRC DtMomPublisher
25 {
26 public:
27 
29  DtMomPublisher(DtConnectionMgr* connMgrPtr, DtFomClassMgr* fomPtr,
30  DtObjectMgr* objMgrPtr);
31 
33  virtual ~DtMomPublisher();
34 
36  virtual bool isObject(DtObjectInstanceHandle handle);
37 
39  virtual bool isClass(DtHandle handle);
40 
42  virtual void sendRegister();
43 
45  virtual void resendRegister();
46 
48  virtual void forceUpdate();
49 
51  virtual void forceUpdate(const DtAttributeHandleSet& set);
52 
53 #ifdef DDM
54 
55  virtual void setRegion(DtRegion* regionPtr);
56  virtual DtRegion* region();
57 #endif
58 
59 
61  virtual unsigned int encodedLength() const;
62  virtual void encode(const char *buff);
63 
66  virtual bool decode(const char *buff);
67 
69  virtual void tick()=0;
70 
71 protected:
72 
74  DtMomPublisher(const DtMomPublisher& orig);
75 
77  DtMomPublisher& operator=(const DtMomPublisher& orig);
78 
79 protected:
80 
81  DtConnectionMgr* myConnMgr;
82  DtFomClassMgr* myFom;
83  DtObjectMgr* myObjMgr;
84  DtRtiObject* myObject;
85  DtUpdateType myUpdateType;
86  DtMomSR* myRepository;
87  MAKRti::DtClock myClock;
88 #ifdef DDM
89  DtRegion* myRegion;
90 #endif
91 };
92 
93 #endif
94 #endif

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)