VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifScriptedTaskResponseMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfmsgs/vrfmsgsDefines.h"
12 #include "vrfmsgs/messageTypes.h"
15 
21 
23 {
24 public:
25  typedef std::vector<DtScriptedTaskMetaData> ScriptedTaskMetaDataList;
26 
27 public:
30 
33 
36 
38 
40  virtual int type() const;
41 
42  virtual DtSimInterfaceContent * clone() const;
43 
44  virtual int netRepSize() const;
45  virtual bool setFromNet(const char* contentBuffer,
46  unsigned contentSize);
47  virtual bool setToNet();
48 
49  virtual void printDataToString(DtString& str);
50 
51  static DtSimInterfaceContent* creator();
52 
54  virtual DtU32 responseId() const;
55  virtual void setResponseId(DtU32);
56 
57  virtual void addScriptedTask(const DtScriptedTaskMetaData&);
58  virtual const ScriptedTaskMetaDataList& scriptedTasks() const;
59 
60 protected:
61  DtU32 myResponseId;
63 
64  mutable DtU32 myUncompressedSize;
65  mutable DtU32 myCompressedSize;
66  mutable bool myCompressed;
67  mutable const char* myCompressedBuffer;
68 };
const char * myCompressedBuffer
Definition: ifScriptedTaskResponseMessage.h:67
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
DtU32 myUncompressedSize
Definition: ifScriptedTaskResponseMessage.h:64
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
DtU32 myResponseId
Definition: ifScriptedTaskResponseMessage.h:61
Content-Type: DtIfScriptedTaskResponseMessage.
Definition: ifScriptedTaskResponseMessage.h:22
std::vector< DtScriptedTaskMetaData > ScriptedTaskMetaDataList
Definition: ifScriptedTaskResponseMessage.h:25
virtual void printDataToString(DtString &str)
ScriptedTaskMetaDataList myScriptedTasks
Definition: ifScriptedTaskResponseMessage.h:62
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
bool myCompressed
Definition: ifScriptedTaskResponseMessage.h:66
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
DtU32 myCompressedSize
Definition: ifScriptedTaskResponseMessage.h:65
virtual DtSimInterfaceContent * clone() const =0
Definition: scriptedTaskMetaData.h:48

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)