VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifScriptedMovementObjectsResponse.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
11 #include "vrfmsgs/messageTypes.h"
12 
13 #include <map>
14 #include <string>
15 
22 
23 #include "vrfmsgs/vrfmsgsDefines.h"
24 
26 {
27 public:
29  {
30  std::string name;
31  std::string description;
32  std::string categories;
33  };
34 
35  typedef std::vector<ScriptedMovementObject> ScriptedMovementObjects;
36 
39 
41  virtual ~DtIfScriptedMovementObjectsResponse() override;
42 
45 
48 
50  virtual int type() const override;
51 
52  virtual DtSimInterfaceContent * clone() const override;
53 
55  virtual const ScriptedMovementObjects& scriptedMovementObjects() const;
56  virtual void setScriptedMovementObjects(const ScriptedMovementObjects&);
57 
58  virtual int netRepSize() const override;
59  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
60  virtual bool setToNet() override;
61 
62  virtual void printDataToString(DtString& str) override;
63 
64  static DtSimInterfaceContent* creator();
65 
66 protected:
68 };
69 
70 namespace DtBufferSerialize
71 {
75 }
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
std::string categories
Definition: ifScriptedMovementObjectsResponse.h:32
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
Definition: ifScriptedMovementObjectsResponse.h:28
virtual void printDataToString(DtString &str)
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
ScriptedMovementObjects myScriptedMovementObjects
Definition: ifScriptedMovementObjectsResponse.h:67
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
std::vector< ScriptedMovementObject > ScriptedMovementObjects
Definition: ifScriptedMovementObjectsResponse.h:35
std::string description
Definition: ifScriptedMovementObjectsResponse.h:31
virtual bool setToNet()
Definition: simInterfaceContent.h:83
class DtIfScriptedMovementObjectsResponse:
Definition: ifScriptedMovementObjectsResponse.h:25
Definition: simInterfaceContent.h:45
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
std::string name
Definition: ifScriptedMovementObjectsResponse.h:30
virtual DtSimInterfaceContent * clone() const =0

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)