VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfmsgs
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
10
#include <
vrfExtProtocol/simInterfaceContent.h
>
11
#include "
vrfmsgs/messageTypes.h
"
12
13
#include <map>
14
#include <string>
15
22
23
#include "
vrfmsgs/vrfmsgsDefines.h
"
24
25
class
DT_DLL_vrfmsgs
DtIfScriptedMovementObjectsResponse
:
public
DtSimInterfaceContent
26
{
27
public
:
28
struct
ScriptedMovementObject
29
{
30
std::string
name
;
31
std::string
description
;
32
std::string
categories
;
33
};
34
35
typedef
std::vector<ScriptedMovementObject>
ScriptedMovementObjects
;
36
38
DtIfScriptedMovementObjectsResponse
();
39
41
virtual
~
DtIfScriptedMovementObjectsResponse
();
42
44
DtIfScriptedMovementObjectsResponse
(
const
DtIfScriptedMovementObjectsResponse
& orig);
45
47
DtIfScriptedMovementObjectsResponse
&
operator=
(
const
DtIfScriptedMovementObjectsResponse
& orig);
48
50
virtual
int
type
()
const
;
51
52
virtual
DtSimInterfaceContent
*
clone
()
const
;
53
55
virtual
const
ScriptedMovementObjects
& scriptedMovementObjects()
const
;
56
virtual
void
setScriptedMovementObjects(
const
ScriptedMovementObjects
&);
57
58
virtual
int
netRepSize
()
const
;
59
virtual
bool
setFromNet
(
const
char
* contentBuffer,
60
unsigned
contentSize);
61
virtual
bool
setToNet
();
62
63
virtual
void
printDataToString
(
DtString
& str);
64
65
static
DtSimInterfaceContent
* creator();
66
67
protected
:
68
ScriptedMovementObjects
myScriptedMovementObjects
;
69
};
70
71
namespace
DtBufferSerialize
72
{
73
DT_DLL_vrfmsgs
int
getSize
(
const
DtIfScriptedMovementObjectsResponse::ScriptedMovementObject
&);
74
DT_DLL_vrfmsgs
char
*
encode
(
const
DtIfScriptedMovementObjectsResponse::ScriptedMovementObject
& str,
char
*buffer);
75
DT_DLL_vrfmsgs
const
char
*
decode
(
DtIfScriptedMovementObjectsResponse::ScriptedMovementObject
& str,
const
char
*buffer);
76
}
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)