Vuo  2.0.0
VuoCompilerPortClass.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
13 #include "VuoPortClass.hh"
14 
15 class VuoCompilerPort;
16 class VuoPort;
17 class VuoType;
18 
23 {
24 protected:
25  struct json_object *details;
26 
27  VuoCompilerPortClass(string name, VuoPortClass::PortType portType, Type *type);
28 
29 public:
31 
35  virtual VuoCompilerPort * newPort(void) = 0;
36 
40  virtual VuoCompilerPort * newPort(VuoPort *port) = 0;
41 
45  virtual VuoType * getDataVuoType(void) = 0;
46 
50  virtual void setDataVuoType(VuoType *type) = 0;
51 
55  virtual string getDisplayName(void);
56 
57  void setDetails(struct json_object *details);
58  json_object * getDetails(void);
59 };