Rumba C++ SDK
Cmd.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2018
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 #pragma once
16 
17 #include "NodePlugin.h"
18 
19 namespace maquina
20 {
21 
24 {
25 public:
26  Cmd(Node *node);
27 
28  // Run the command
29  virtual void run();
30 };
31 
33 void cmd_run(const Plug& trigger);
34 
35 
36 }
void cmd_run(const Plug &trigger)
Run the commands connected to that plug.
Derive this class to create your own Node type.
Definition: NodePlugin.h:28
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
Base class for command nodes.
Definition: Cmd.h:23
A node plug.
Definition: Plug.h:59
#define NODES_PLUGIN_EXPORT
Definition: Export.h:37
Base class of all Rumba nodes.
Definition: Node.h:37