VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifMultiplePlanResponse.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifMultiplePlanResponse.h,v $ $Revision: 1.3 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfMultiplePlanResponse_H_
13
#define DtIfMultiplePlanResponse_H_
14
15
#include <vlutil/vlString.h>
16
#include <
vrfExtProtocol/ifaceCont.h
>
17
#include "
vrfutil/bufferSerialize.h
"
18
19
#include <vector>
20
21
class
DtIfPlan
;
22
32
33
#include "
vrfmsgs/vrfmsgsDefines.h
"
34
35
class
DT_DLL_vrfmsgs
DtIfMultiplePlanResponse
:
public
DtSimInterfaceContent
36
{
37
public
:
38
40
DtIfMultiplePlanResponse
();
41
43
virtual
~
DtIfMultiplePlanResponse
();
44
46
DtIfMultiplePlanResponse
(
const
DtIfMultiplePlanResponse
& orig);
47
49
DtIfMultiplePlanResponse
&
operator=
(
const
DtIfMultiplePlanResponse
& orig);
50
52
virtual
int
type
()
const
;
53
54
virtual
DtSimInterfaceContent
*
clone
()
const
;
55
57
virtual
const
std::vector<DtString> & entities()
const
;
58
virtual
void
setEntities(
const
std::vector<DtString> & name);
59
61
virtual
void
setRequestId(
int
);
62
virtual
int
requestId()
const
;
63
65
virtual
void
setPlan(
DtIfPlan
*);
66
virtual
const
DtIfPlan
* plan()
const
;
67
68
virtual
void
setSimulationAddress(
const
DtSimulationAddress&);
69
virtual
const
DtSimulationAddress& simulationAddress()
const
;
70
71
virtual
int
netRepSize
()
const
;
72
virtual
bool
setFromNet
(
const
char
* contentBuffer,
73
unsigned
contentSize);
74
virtual
bool
setToNet
();
75
76
virtual
void
printDataToString
(
DtString
& str);
77
78
static
DtSimInterfaceContent
* creator();
79
80
virtual
bool
hasPlan()
const
;
81
82
protected
:
83
std::vector<DtString>
myEntities
;
84
DtSimulationAddress
mySimulationAddress
;
85
DtU32
myRequestId
;
86
DtIfPlan
*
myPlan
;
87
};
88
89
namespace
DtBufferSerialize
90
{
93
DT_DLL_vrfmsgs
int
getSize
(
const
DtIfPlan
*
const
& messagePtr);
94
99
DT_DLL_vrfmsgs
char
*
encode
(
const
DtIfPlan
*
const
& messagePtr,
char
*buffer);
100
105
DT_DLL_vrfmsgs
const
char
*
decode
(
DtIfPlan
*& messagePtr,
const
char
*buffer);
106
}
107
108
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)