Vuo
2.3.2
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)
17
:
VuoBaseDetail
<
VuoPortClass
>(
"VuoPortClass"
, new
VuoPortClass
(name,portType))
18
{
19
getBase
()->
setCompiler
(
this
);
20
21
inEventFunction
=
false
;
22
inInitFunction
=
false
;
23
inCallbackStartFunction
=
false
;
24
inCallbackUpdateFunction
=
false
;
25
inCallbackStopFunction
=
false
;
26
}
27
31
VuoCompilerNodeArgumentClass::~VuoCompilerNodeArgumentClass
(
void
)
32
{
33
}
34
38
bool
VuoCompilerNodeArgumentClass::isInEventFunction
(
void
)
39
{
40
return
inEventFunction
;
41
}
42
48
size_t
VuoCompilerNodeArgumentClass::getIndexInEventFunction
(
void
)
49
{
50
return
indexInEventFunction
;
51
}
52
56
void
VuoCompilerNodeArgumentClass::setIndexInEventFunction
(
size_t
indexInEventFunction)
57
{
58
this->indexInEventFunction =
indexInEventFunction
;
59
inEventFunction
=
true
;
60
}
61
65
bool
VuoCompilerNodeArgumentClass::isInInitFunction
(
void
)
66
{
67
return
inInitFunction
;
68
}
69
75
size_t
VuoCompilerNodeArgumentClass::getIndexInInitFunction
(
void
)
76
{
77
return
indexInInitFunction
;
78
}
79
83
void
VuoCompilerNodeArgumentClass::setIndexInInitFunction
(
size_t
indexInInitFunction)
84
{
85
this->indexInInitFunction =
indexInInitFunction
;
86
inInitFunction
=
true
;
87
}
88
92
bool
VuoCompilerNodeArgumentClass::isInCallbackStartFunction
(
void
)
93
{
94
return
inCallbackStartFunction
;
95
}
96
102
size_t
VuoCompilerNodeArgumentClass::getIndexInCallbackStartFunction
(
void
)
103
{
104
return
indexInCallbackStartFunction
;
105
}
106
110
void
VuoCompilerNodeArgumentClass::setIndexInCallbackStartFunction
(
size_t
indexInCallbackStartFunction)
111
{
112
this->indexInCallbackStartFunction =
indexInCallbackStartFunction
;
113
inCallbackStartFunction
=
true
;
114
}
115
119
bool
VuoCompilerNodeArgumentClass::isInCallbackUpdateFunction
(
void
)
120
{
121
return
inCallbackUpdateFunction
;
122
}
123
129
size_t
VuoCompilerNodeArgumentClass::getIndexInCallbackUpdateFunction
(
void
)
130
{
131
return
indexInCallbackUpdateFunction
;
132
}
133
137
void
VuoCompilerNodeArgumentClass::setIndexInCallbackUpdateFunction
(
size_t
indexInCallbackUpdateFunction)
138
{
139
this->indexInCallbackUpdateFunction =
indexInCallbackUpdateFunction
;
140
inCallbackUpdateFunction
=
true
;
141
}
142
146
bool
VuoCompilerNodeArgumentClass::isInCallbackStopFunction
(
void
)
147
{
148
return
inCallbackStopFunction
;
149
}
150
156
size_t
VuoCompilerNodeArgumentClass::getIndexInCallbackStopFunction
(
void
)
157
{
158
return
indexInCallbackStopFunction
;
159
}
160
164
void
VuoCompilerNodeArgumentClass::setIndexInCallbackStopFunction
(
size_t
indexInCallbackStopFunction)
165
{
166
this->indexInCallbackStopFunction =
indexInCallbackStopFunction
;
167
inCallbackStopFunction
=
true
;
168
}
Generated on Sat Jun 19 2021 10:17:42 for Vuo by
1.9.1