VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvUtil
DtDriverConfiguration.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtDriverConfiguration.h,v $ $Revision: 1.19 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtDriverConfiguration_H_
14
#define DtDriverConfiguration_H_
15
16
#include <
vrvUtil/vrvUtil.h
>
17
#include <
vrvUtil/DtConfiguration.h
>
18
19
namespace
makVrv
20
{
23
class
DT_DLL_VRVUTIL
DtDriverConfiguration
:
public
DtConfiguration
24
{
25
public
:
26
28
static
const
int
theDefaultPort = 22563;
29
31
DtDriverConfiguration
(
const
std::string& name =
""
);
32
34
DtDriverConfiguration
(
const
DtDriverConfiguration
&);
35
37
DtDriverConfiguration
& operator=(
const
DtDriverConfiguration
&);
38
40
virtual
~
DtDriverConfiguration
();
41
47
DT_DECLARE_serialize_FUNCTIONS
48
50
virtual
const
std::string& masterDriverAddress()
const
;
51
53
virtual
void
setMasterDriverAddress(
const
std::string& addr);
54
56
virtual
int
masterDriverPort()
const
;
57
59
virtual
void
setMasterDriverPort(
int
port);
60
61
protected
:
62
63
template
<
class
Archive>
64
void
_serialize(Archive & ar,
const
unsigned
int
version)
65
{
66
ar &
DT_SERIALIZE_BASE
(
DtConfiguration
);
67
ar &
DT_SERIALIZE_MEMBER
(myMasterDriverAddress);
68
ar &
DT_SERIALIZE_MEMBER
(myMasterDriverPort);
69
}
70
71
std::string
myMasterDriverAddress
;
72
int
myMasterDriverPort
;
73
74
};
75
}
76
77
BOOST_CLASS_VERSION
(
makVrv::DtDriverConfiguration
,1)
78
79
#endif
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)