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
entListIOPort.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: entListIOPort.h,v $ $Revision: 1.6 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtEntityListInputPort_H_
16
#define DtEntityListInputPort_H_
17
18
#include "
vrfobjcore/singleConnectionInputPort.h
"
19
#include "
vrfobjcore/outputPort.h
"
20
#include "
vrfobjcore/portData.h
"
21
#include "
vrfobjcore/entityTargetInformation.h
"
22
26
#include "
vrfobjcore/vrfobjcoreDefines.h
"
27
class
DT_DLL_vrfobjcore
DtEntityListInputPort
:
public
DtSingleConnectionInputPort
28
{
29
public
:
30
DtEntityListInputPort
(
const
DtString
& portName);
31
virtual
~
DtEntityListInputPort
();
32
34
virtual
bool
acceptType
(
const
DtString
& type)
const
;
35
37
virtual
const
DtEntityTargetList* value()
const
;
38
};
39
43
class
DT_DLL_vrfobjcore
DtEntityListOutputPort
:
public
DtOutputPort
44
{
45
public
:
46
DtEntityListOutputPort
(
const
DtString
& portName);
47
virtual
~
DtEntityListOutputPort
();
48
50
virtual
const
DtString
type
()
const
;
51
53
virtual
void
createPortData
();
54
57
virtual
void
emptyList();
58
60
virtual
void
addEntity(
const
DtEntityIdentifier &
id
);
61
64
virtual
void
addEntity(
const
DtEntityTargetInformation
& info);
65
68
virtual
void
removeEntity(
const
DtEntityIdentifier &
id
);
69
70
virtual
const
DtEntityTargetList* value()
const
;
71
72
protected
:
73
DtEntityTargetList
myEntityList
;
74
};
75
79
class
DT_DLL_vrfobjcore
DtEntityListPortData
:
public
DtPortData
80
{
81
public
:
83
DtEntityListPortData
();
85
virtual
~
DtEntityListPortData
();
87
DtEntityListPortData
(
const
DtEntityListPortData
& orig);
89
DtEntityListPortData
&
operator=
(
const
DtEntityListPortData
& orig);
90
92
virtual
const
DtString
type
()
const
;
93
95
virtual
void
setValue(DtEntityTargetList* v);
96
98
virtual
DtEntityTargetList* value()
const
;
99
101
virtual
DtPortData
*
clone
()
const
;
102
103
protected
:
104
DtEntityTargetList*
myValue
;
105
};
106
107
#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
)