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
vrfobjcore
stringIOPort.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: stringIOPort.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtStringIOPort_H_
16
#define DtStringIOPort_H_
17
18
#include <vlutil/vlString.h>
19
20
#include "
vrfobjcore/singleConnectionInputPort.h
"
21
#include "
vrfobjcore/outputPort.h
"
22
#include "
vrfobjcore/portData.h
"
23
26
#include "
vrfobjcore/vrfobjcoreDefines.h
"
27
class
DT_DLL_vrfobjcore
DtStringInputPort
:
public
DtSingleConnectionInputPort
28
{
29
public
:
31
DtStringInputPort
(
const
DtString
& portName);
32
34
virtual
~
DtStringInputPort
();
35
37
virtual
bool
acceptType
(
const
DtString
& type)
const
;
38
39
virtual
void
receiveData
(
DtPortData
* data);
40
41
virtual
const
DtString
value()
const
;
42
43
protected
:
45
DtStringInputPort
(
const
DtStringInputPort
& orig);
47
const
DtStringInputPort
&
operator=
(
const
DtStringInputPort
& orig);
48
};
49
52
class
DT_DLL_vrfobjcore
DtStringOutputPort
:
public
DtOutputPort
53
{
54
public
:
55
DtStringOutputPort
(
const
DtString
& portName);
56
virtual
~
DtStringOutputPort
();
57
59
virtual
const
DtString
type
()
const
;
60
62
virtual
void
createPortData
();
63
66
virtual
void
setValue(
const
DtString
& str);
67
69
virtual
const
DtString
& value()
const
;
70
71
protected
:
73
DtStringOutputPort
(
const
DtStringOutputPort
& orig);
75
const
DtStringOutputPort
&
operator=
(
const
DtStringOutputPort
& orig);
76
};
77
81
class
DT_DLL_vrfobjcore
DtStringPortData
:
public
DtPortData
82
{
83
public
:
85
DtStringPortData
();
87
virtual
~
DtStringPortData
();
89
DtStringPortData
(
const
DtStringPortData
& orig);
91
DtStringPortData
&
operator=
(
const
DtStringPortData
& orig);
92
94
virtual
const
DtString
type
()
const
;
95
97
virtual
void
setValue(
const
DtString
&);
98
100
virtual
const
DtString
& value()
const
;
101
103
virtual
DtPortData
*
clone
()
const
;
104
105
protected
:
106
DtString
myValue
;
107
};
108
109
#endif
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
)