Vuo  2.3.2
VuoCompilerEventPort.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoCompilerPort.hh"
13 
14 class VuoCompilerData;
15 class VuoCompilerType;
16 
21 {
22 public:
23  Value * generateCreatePortContext(Module *module, BasicBlock *block);
24  Value * generateLoadEvent(Module *module, BasicBlock *block, Value *nodeContextValue, Value *portContextValue=NULL);
25  void generateStoreEvent(Module *module, BasicBlock *block, Value *nodeContextValue, Value *eventValue, Value *portContextValue=NULL);
26  void generateStoreEvent(Module *module, BasicBlock *block, Value *nodeContextValue, bool event, Value *portContextValue=NULL);
27  Value * generateRetrieveData(Module *module, BasicBlock *block, Value *nodeContextValue, Value *portContextValue=NULL);
28  void generateReplaceData(Module *module, BasicBlock *block, Value *nodeContextValue, Value *dataPointer, Value *portContextValue=NULL);
29 
33  virtual VuoCompilerData * getData(void) = 0;
34 
36 
37 protected:
39 
40  VuoCompilerEventPort(VuoPort *basePort);
41 };