Vuo
2.0.0
compiler
VuoCompilerTriggerPortClass.cc
Go to the documentation of this file.
1
10
#include "
VuoCompilerTriggerPortClass.hh
"
11
#include "
VuoCompilerTriggerPort.hh
"
12
#include "
VuoPort.hh
"
13
14
22
VuoCompilerTriggerPortClass::VuoCompilerTriggerPortClass
(
string
name, PointerType *type)
23
:
VuoCompilerPortClass
(name,
VuoPortClass
::triggerPort, type)
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
47
FunctionType *
VuoCompilerTriggerPortClass::getFunctionType
(
void
)
48
{
49
return
(FunctionType *)((PointerType *)
type
)->getElementType();
50
}
51
55
VuoType
*
VuoCompilerTriggerPortClass::getDataVuoType
(
void
)
56
{
57
return
vuoType;
58
}
59
66
void
VuoCompilerTriggerPortClass::setDataVuoType
(
VuoType
*type)
67
{
68
this->vuoType =
type
;
69
}
Generated on Tue Oct 22 2019 18:07:47 for Vuo by
1.8.16