WebLVC 1.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pTimeMgmtObj.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/pObject.h>
16 
21 {
22 public:
23 
26 
29 
31  virtual ~DtPortalTimeMgmtObject();
32 
35 
38 
39  int operator == ( const DtPortalTimeMgmtObject& rightOperand ) const;
40  int operator != ( const DtPortalTimeMgmtObject& rightOperand ) const;
41 
43 
46 
48  DtDEC_ATTRIBUTE( DtFloat64, Lbts, lbts );
49 
51 
53 public:
54 
56 
57  static DtPortalMessage* create();
58 
59  virtual unsigned int netSize() const;
60  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const ;
61  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
62 
63  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
64 
65 };
66 
67 
69 {
70  return new DtPortalTimeMgmtObject();
71 }
72 
73 
Contains the DtPortalObjectPublisher and helper template version.
static const MAKVrExchange::DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pTimeMgmtObj.h:55
int operator==(const DtPortalTimeMgmtObject &rightOperand) const
DtPortalObject are messages which also serve as state repositories for simulated objects.
Definition: pObject.h:23
The base class for all messages passed through the portal.
Definition: pMessage.h:66
A simple template class to hold different types of State Repositories.
Definition: pObjectPublisher.h:68
MAKVrExchange::DtPortalObjectPublisherTemplate< DtPortalTimeMgmtObject > DtPortalTimeMgmtObjectPublisher
Definition: pTimeMgmtObj.h:76
Contains the DtPortalReflectedObjectManager class declaration.
Contains the DtPortalReflectedObject and DtPortalReflectedObjectTemplate class declarations.
int operator!=(const DtPortalTimeMgmtObject &rightOperand) const
DtPortalTimeMgmtObject & operator=(const DtPortalTimeMgmtObject &original)
Assignment operator.
virtual ~DtPortalTimeMgmtObject()
Virtual DTOR.
virtual void readSelfFromBuffer(const void *buffer, int bufferSize)
Reads this message from the memory buffer into this object.
virtual unsigned int netSize() const
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
virtual std::ostream & printDataToStream(std::ostream &stream) const
Prints the current state of this message to the stream specified by str.
A template to create reflected object types for each type of object message.
Definition: pReflectedObject.h:58
MAKVrExchange::DtPortalReflectedObjectTemplate< DtPortalTimeMgmtObject > DtPortalReflectedTimeMgmtObject
Definition: pTimeMgmtObj.h:74
Represents the current time state of the broker.
Definition: pTimeMgmtObj.h:20
DtDEC_ATTRIBUTE(DtFloat64, Lbts, lbts)
The Entity identifier of the Host Object.
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Contains the DtPortalObject class declaration.
DtPortalMessage(DtPortalMessageKind kind)
CTOR.
virtual void writeSelfToBuffer(void *buffer, int bufferSize) const
Writes this message into the memory buffer provided by buffer.
static DtPortalMessage * create()
Definition: pTimeMgmtObj.h:68
MAKVrExchange::DtPortalReflectedObjectManager< DtPortalReflectedTimeMgmtObject > DtPortalReflectedTimeMgmtObjectManager
Definition: pTimeMgmtObj.h:75

Document ID: Generated on Wed Mar 12 15:05:17 EDT 2025 from SVN revision 274272
Copyright © 2005-2025 MAK Technologies. All Rights Reserved (www.mak.com)