VR-Forces 4.6 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
ifRollbackToSnapshot.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfmsgs/vrfmsgsDefines.h
"
12
#include "
vrfmsgs/ifStatus.h
"
13
#include <vlutil/vlString.h>
14
#include <
vrfExtProtocol/simInterfaceContent.h
>
15
#include "
vrfutil/bufferSerialize.h
"
16
24
25
class
DT_DLL_vrfmsgs
DtIfRollbackToSnapshot
:
public
DtSimInterfaceContent
26
{
27
public
:
28
30
DtIfRollbackToSnapshot
();
31
33
virtual
~
DtIfRollbackToSnapshot
();
34
36
DtIfRollbackToSnapshot
(
const
DtIfRollbackToSnapshot
& orig);
37
39
DtIfRollbackToSnapshot
&
operator=
(
const
DtIfRollbackToSnapshot
& orig);
40
42
virtual
int
type
()
const
;
43
44
virtual
DtSimInterfaceContent
*
clone
()
const
;
45
46
virtual
int
netRepSize
()
const
;
47
virtual
bool
setFromNet
(
const
char
* contentBuffer,
48
unsigned
contentSize);
49
virtual
bool
setToNet
();
50
51
virtual
void
printDataToString
(
DtString
& str);
52
53
static
DtSimInterfaceContent
* creator();
54
57
virtual
void
setSimTime(
double
);
58
virtual
double
simTime()
const
;
59
60
virtual
void
setSnapshotId(
int
);
61
virtual
int
snapshotId()
const
;
62
66
virtual
void
setScenarioRunId(
int
);
67
virtual
int
scenarioRunId()
const
;
68
69
protected
:
70
double
mySimTime
;
71
int
mySnapshotId
;
72
int
myScenarioRunId
;
73
};
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)