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
vrfutil
rwEmbarkationSlot.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
10
#pragma once
11
12
#include "
vrfutil/readerWriter.h
"
13
#include "
vrfutil/vrfutilDefines.h
"
14
#include "
vrfutil/rwInt.h
"
15
#include "
vrfutil/rwBoolean.h
"
16
18
class
DT_DLL_vrfutil
DtRwEmbarkationSlot
:
public
DtReaderWriter
19
{
20
public
:
21
22
//Default constructor
23
DtRwEmbarkationSlot
();
24
25
//Real constructors
26
DtRwEmbarkationSlot
(
const
DtString
& name,
27
DtReaderWriterRegistry
* parentRegistry = NULL);
28
DtRwEmbarkationSlot
(
const
DtSymbolString
& name,
29
DtReaderWriterRegistry
* parentRegistry = NULL);
30
31
//Copy constructor
32
DtRwEmbarkationSlot
(
const
DtRwEmbarkationSlot
& orig);
33
DtRwEmbarkationSlot
&
operator=
(
const
DtRwEmbarkationSlot
& orig);
34
37
virtual
void
setEmbarkInSlot(
int
);
38
virtual
int
embarkInSlot()
const
;
39
40
virtual
void
setChooseAnyAvailableSlotIfTaken(
bool
);
41
virtual
bool
chooseAnyAvailableSlotIfTaken()
const
;
42
46
virtual
const
char
*
readerWriterType
()
const
;
47
49
static
const
char
*
theXmlType
();
50
51
virtual
const
char
*
xmlType
()
const
52
{
53
return
theXmlType
();
54
}
55
56
protected
:
57
DtRwInt
myEmbarkInSlot
;
58
DtRwBoolean
myChooseAnyAvailableIfSlotTaken
;
59
};
60
61
namespace
DtBufferSerialize
62
{
63
DT_DLL_vrfutil
int
getSize
(
const
DtRwEmbarkationSlot
& val);
64
DT_DLL_vrfutil
char
*
encode
(
const
DtRwEmbarkationSlot
& val,
char
*buffer);
65
DT_DLL_vrfutil
const
char
*
decode
(
DtRwEmbarkationSlot
&val,
const
char
*buffer) ;
66
}
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
)