VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifResourceMonitorResponse.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
19 
20 #include <list>
21 
25 {
26  DtNetFloat64 myCurrentSimTime;
27  DtNetU32 myRequestId;
29 };
32 
37 
38 typedef std::list<DtIfEntityResourceResponse> DtResourceList;
39 
42 #include "vrfmsgs/vrfmsgsDefines.h"
44 {
45 
46 public:
49 
52 
55 
56  virtual ~DtIfResourceMonitorResponse();
57 
59  virtual int type() const;
60 
61  virtual DtSimInterfaceContent * clone() const;
62 
63  virtual int netRepSize() const;
64  virtual bool setFromNet(const char* contentBuffer,
65  unsigned contentSize);
66  virtual bool setToNet();
67 
68  virtual void printDataToString(DtString& str);
69 
70  static DtSimInterfaceContent* creator();
71 
72 public:
73  virtual void setSimTime(const DtFloat64& simTime);
74  virtual const DtFloat64& simTime() const;
75 
76  virtual void addEntityResourceBlock(const DtIfEntityResourceResponse& res);
77  const DtResourceList& resourceBlocks() const { return myResourceBlocks; };
78 
81  virtual bool resourcesForEntity(const DtUUID& rntity,
82  DtIfEntityResourceResponse& info) const;
83 
84 protected:
87 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)