VR-Forces 4.1 Class Documentation
vrfObjectDataMessenger.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 #pragma once
12 
13 #include <vrfobjcore/cntrlCmpnt.h>
16 
17 class DtSimMessage;
18 class DtVrfObjectMessage;
19 class DtReflectedEntity;
20 
24 {
25 private:
32  const DtVrfObjectDataMessenger& orig);
33 public:
34 
37  DtVrfObjectDataMessenger(const DtString& name, DtVrfObject* owner,
38  DtSimManager* simManager, DtComponentDescriptor* desc=0,
39  DtReaderWriterRegistry *parentRegistry=0);
40 
42  virtual ~DtVrfObjectDataMessenger();
43 
45  virtual bool init();
46 
48 
49  DtTime maxSendInterval() const;
50  void setMaxSendInterval(DtTime ival);
52 
54 
55  DtTime minSendInterval() const;
56  void setMinSendInterval(DtTime ival);
58 
61  virtual bool prepMessage();
62 
64  virtual void processEntityUpdated(DtReflectedEntity* pEnt);
65 
68  virtual bool sendMessage();
69 
70  virtual void setComponentDescriptor(DtComponentDescriptor* componentDescriptor);
71 
74  virtual DtString type() const;
75 
78  virtual void tick();
79 
81  DtTime timeLastSent() const;
82 
84  static void entityUpdatedCallback(DtReflectedEntity* pEnt, void* pUsr);
85 
89  static DtSimComponent * creator(const DtString& name,
90  DtVrfObject* owner,
91  DtSimManager* simManager,
92  DtComponentDescriptor* desc = 0,
93  DtReaderWriterRegistry* parentRegistry = 0);
94 
95 protected:
96 
97 protected:
99 
101 
103 
105 
107 };
108 
110 
112 
115 
117 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)