Vuo
2.0.0
compiler
VuoCompilerNodeArgumentClass.cc
Go to the documentation of this file.
1
10
#include "
VuoCompilerNodeArgumentClass.hh
"
11
12
16
VuoCompilerNodeArgumentClass::VuoCompilerNodeArgumentClass
(
string
name,
enum
VuoPortClass::PortType
portType, Type *type)
17
:
VuoBaseDetail
<
VuoPortClass
>(
"VuoPortClass"
, new
VuoPortClass
(name,portType))
18
{
19
getBase
()->
setCompiler
(
this
);
20
21
this->type =
type
;
22
23
inEventFunction
=
false
;
24
inInitFunction
=
false
;
25
inCallbackStartFunction
=
false
;
26
inCallbackUpdateFunction
=
false
;
27
inCallbackStopFunction
=
false
;
28
}
29
33
VuoCompilerNodeArgumentClass::~VuoCompilerNodeArgumentClass
(
void
)
34
{
35
}
36
40
Type *
VuoCompilerNodeArgumentClass::getType
(
void
)
41
{
42
return
type
;
43
}
44
48
bool
VuoCompilerNodeArgumentClass::isInEventFunction
(
void
)
49
{
50
return
inEventFunction
;
51
}
52
58
size_t
VuoCompilerNodeArgumentClass::getIndexInEventFunction
(
void
)
59
{
60
return
indexInEventFunction
;
61
}
62
66
void
VuoCompilerNodeArgumentClass::setIndexInEventFunction
(
size_t
indexInEventFunction)
67
{
68
this->indexInEventFunction =
indexInEventFunction
;
69
inEventFunction
=
true
;
70
}
71
75
bool
VuoCompilerNodeArgumentClass::isInInitFunction
(
void
)
76
{
77
return
inInitFunction
;
78
}
79
85
size_t
VuoCompilerNodeArgumentClass::getIndexInInitFunction
(
void
)
86
{
87
return
indexInInitFunction
;
88
}
89
93
void
VuoCompilerNodeArgumentClass::setIndexInInitFunction
(
size_t
indexInInitFunction)
94
{
95
this->indexInInitFunction =
indexInInitFunction
;
96
inInitFunction
=
true
;
97
}
98
102
bool
VuoCompilerNodeArgumentClass::isInCallbackStartFunction
(
void
)
103
{
104
return
inCallbackStartFunction
;
105
}
106
112
size_t
VuoCompilerNodeArgumentClass::getIndexInCallbackStartFunction
(
void
)
113
{
114
return
indexInCallbackStartFunction
;
115
}
116
120
void
VuoCompilerNodeArgumentClass::setIndexInCallbackStartFunction
(
size_t
indexInCallbackStartFunction)
121
{
122
this->indexInCallbackStartFunction =
indexInCallbackStartFunction
;
123
inCallbackStartFunction
=
true
;
124
}
125
129
bool
VuoCompilerNodeArgumentClass::isInCallbackUpdateFunction
(
void
)
130
{
131
return
inCallbackUpdateFunction
;
132
}
133
139
size_t
VuoCompilerNodeArgumentClass::getIndexInCallbackUpdateFunction
(
void
)
140
{
141
return
indexInCallbackUpdateFunction
;
142
}
143
147
void
VuoCompilerNodeArgumentClass::setIndexInCallbackUpdateFunction
(
size_t
indexInCallbackUpdateFunction)
148
{
149
this->indexInCallbackUpdateFunction =
indexInCallbackUpdateFunction
;
150
inCallbackUpdateFunction
=
true
;
151
}
152
156
bool
VuoCompilerNodeArgumentClass::isInCallbackStopFunction
(
void
)
157
{
158
return
inCallbackStopFunction
;
159
}
160
166
size_t
VuoCompilerNodeArgumentClass::getIndexInCallbackStopFunction
(
void
)
167
{
168
return
indexInCallbackStopFunction
;
169
}
170
174
void
VuoCompilerNodeArgumentClass::setIndexInCallbackStopFunction
(
size_t
indexInCallbackStopFunction)
175
{
176
this->indexInCallbackStopFunction =
indexInCallbackStopFunction
;
177
inCallbackStopFunction
=
true
;
178
}
Generated on Tue Oct 22 2019 18:07:47 for Vuo by
1.8.16