Vuo  2.0.3
VuoCommandPublishPort.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoCommandCommon.hh"
13 
14 class VuoEditorWindow;
15 class VuoPort;
16 class VuoRendererCable;
17 
22 {
23 public:
25  VuoRendererCable *displacedCable,
26  VuoEditorWindow *window,
27  bool forceEventOnlyPublication,
28  string publishedPortName="",
29  bool merge=false);
30 
31  int id() const;
32  void undo();
33  void redo();
34 
35 private:
36  static const int commandID;
37  VuoEditorWindow *window;
38  string revertedSnapshot;
39  string updatedSnapshot;
40 };