VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifSaveScen.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifSaveScen.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfSaveScenario_H_
13
#define DtIfSaveScenario_H_
14
15
#include <vrfExtProtocol/ifaceCont.h>
16
#include <vlpi/NetStructs.h>
17
#include <vlutil/vlFilename.h>
18
#include <vlutil/vlInetSocket.h>
19
#include <vlutil/vlInetAddr.h>
20
25
26
#include "
vrfmsgs/vrfmsgsDefines.h
"
27
class
DT_DLL_vrfmsgs
DtIfSaveScenario
:
public
DtSimInterfaceContent
28
{
29
public
:
30
32
DtIfSaveScenario
();
33
35
virtual
~
DtIfSaveScenario
();
36
38
DtIfSaveScenario
(
const
DtIfSaveScenario
& orig);
39
41
DtIfSaveScenario
& operator=(
const
DtIfSaveScenario
& orig);
42
44
virtual
int
type()
const
;
45
46
virtual
unsigned
int
requestId()
const
;
47
virtual
void
setRequestId(
unsigned
int
id
);
48
49
virtual
DtInetAddr address()
const
;
50
virtual
void
setAddress(DtInetAddr a);
51
52
virtual
int
port()
const
;
53
virtual
void
setPort(
int
p);
54
55
virtual
DtSimInterfaceContent
* clone()
const
;
56
57
virtual
void
printDataToString(
DtString
& str);
58
59
virtual
int
netRepSize()
const
;
60
virtual
bool
setFromNet(
const
char
* contentBuffer,
61
unsigned
contentSize);
62
virtual
bool
setToNet();
63
64
static
DtSimInterfaceContent
* creator();
65
66
protected
:
67
68
DtU32
myRequestId
;
69
DtU32
myPort
;
70
DtInetAddr
myAddress
;
71
};
72
73
#endif
74
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
)