VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhaveMsgs
ifUpdateSpawnTemplate.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <vrfExtProtocol/ifaceCont.h>
9
#include "
vrfmsgs/rwSpawnData.h
"
10
#include "
bhaveMsgs/bhaveMsgsDefines.h
"
11
12
13
namespace
BHAVE
14
{
18
class
DT_DLL_bhaveMsgs
DtIfUpdateSpawnTemplate
:
19
public
DtSimInterfaceContent
20
{
21
22
public
:
23
25
DtIfUpdateSpawnTemplate
();
26
28
DtIfUpdateSpawnTemplate
(
const
DtIfUpdateSpawnTemplate
& orig);
29
31
static
DtSimInterfaceContent
* creator();
32
34
const
DtIfUpdateSpawnTemplate
& operator=(
35
const
DtIfUpdateSpawnTemplate
& orig);
36
38
virtual
~
DtIfUpdateSpawnTemplate
();
39
41
virtual
int
type()
const
;
42
44
virtual
DtSimInterfaceContent
* clone()
const
;
45
52
virtual
const
DtString
& templateName();
53
virtual
void
setTemplateName(
const
DtString
& name);
55
58
virtual
const
DtRwSpawnData
& spawnData();
59
virtual
void
setSpawnData(
const
DtRwSpawnData
& spawnData);
61
65
virtual
const
bool
doUpdateSpawnPointNames();
66
virtual
void
setDoUpdateSpawnPointNames(
const
bool
doUpdate);
68
70
virtual
int
netRepSize()
const
;
71
73
virtual
bool
setFromNet(
const
char
* contentBuffer,
unsigned
contentSize);
74
76
virtual
bool
setToNet();
77
79
virtual
void
printDataToString(
DtString
& str);
80
81
protected
:
82
DtString
myTemplateName
;
83
DtRwSpawnData
mySpawnData
;
84
bool
myDoUpdateSpawnPointNames
;
85
};
86
87
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)