Vuo  2.3.2
VuoCompilerInputEventPort.cc
Go to the documentation of this file.
1 
13 #include "VuoCompilerType.hh"
14 #include "VuoType.hh"
15 
20 {
22 
23  if (type)
24  {
26  dataClass->setVuoType(type);
27  portClass->setDataClass(dataClass);
28  }
29 
30  return static_cast<VuoCompilerInputEventPort *>( portClass->newPort() );
31 }
32 
37  : VuoCompilerEventPort(basePort)
38 {
39 }
40 
45 {
46  return static_cast<VuoCompilerInputData *>(data);
47 }