Vuo
2.3.2
compiler
VuoCompilerTriggerPortClass.cc
Go to the documentation of this file.
1
10
#include "
VuoCompilerTriggerPortClass.hh
"
11
#include "
VuoCompilerTriggerPort.hh
"
12
#include "
VuoPort.hh
"
13
#include "
VuoCompilerCodeGenUtilities.hh
"
14
20
VuoCompilerTriggerPortClass::VuoCompilerTriggerPortClass
(
string
name)
21
:
VuoCompilerPortClass
(name,
VuoPortClass
::triggerPort)
22
{
23
vuoType = NULL;
24
}
25
29
VuoCompilerPort
*
VuoCompilerTriggerPortClass::newPort
(
void
)
30
{
31
return
new
VuoCompilerTriggerPort
(
new
VuoPort
(
getBase
()));
32
}
33
37
VuoCompilerPort
*
VuoCompilerTriggerPortClass::newPort
(
VuoPort
*port)
38
{
39
return
new
VuoCompilerTriggerPort
(port);
40
}
41
46
FunctionType *
VuoCompilerTriggerPortClass::getFunctionType
(Module *module)
47
{
48
return
VuoCompilerCodeGenUtilities::getFunctionType
(module, vuoType);
49
}
50
54
VuoType
*
VuoCompilerTriggerPortClass::getDataVuoType
(
void
)
55
{
56
return
vuoType;
57
}
58
65
void
VuoCompilerTriggerPortClass::setDataVuoType
(
VuoType
*type)
66
{
67
this->vuoType = type;
68
}
Generated on Sat Jun 19 2021 10:17:42 for Vuo by
1.9.1