Vuo
2.4.4
Loading...
Searching...
No Matches
compiler
VuoCompilerTriggerPortClass.cc
Go to the documentation of this file.
1
10
#include "
VuoCompilerTriggerPortClass.hh
"
11
#include "
VuoCompilerTriggerPort.hh
"
12
#include "
VuoCompilerType.hh
"
13
#include "
VuoGenericType.hh
"
14
#include "
VuoPort.hh
"
15
#include "
VuoCompilerCodeGenUtilities.hh
"
16
22
VuoCompilerTriggerPortClass::VuoCompilerTriggerPortClass
(
string
name)
23
:
VuoCompilerPortClass
(name,
VuoPortClass
::triggerPort)
24
{
25
vuoType = NULL;
26
}
27
31
VuoCompilerPort
*
VuoCompilerTriggerPortClass::newPort
(
void
)
32
{
33
return
new
VuoCompilerTriggerPort
(
new
VuoPort
(
getBase
()));
34
}
35
39
VuoCompilerPort
*
VuoCompilerTriggerPortClass::newPort
(
VuoPort
*port)
40
{
41
return
new
VuoCompilerTriggerPort
(port);
42
}
43
48
FunctionType *
VuoCompilerTriggerPortClass::getFunctionType
(Module *module)
49
{
50
return
VuoCompilerCodeGenUtilities::getFunctionType
(module, vuoType);
51
}
52
56
VuoType
*
VuoCompilerTriggerPortClass::getDataVuoType
(
void
)
57
{
58
return
vuoType;
59
}
60
67
void
VuoCompilerTriggerPortClass::setDataVuoType
(
VuoType
*type)
68
{
69
this->vuoType = type;
70
}
Generated on Thu Nov 9 2023 16:59:29 for Vuo by
1.9.8