Rumba C++ SDK
BaseLayer.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2019
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 #pragma once
16 
17 #include "Maquina/Maquina.h"
18 
19  namespace maquina
20  {
21  // Layer Node
23  {
24  public:
25  BaseLayer(Node *node);
26 
27  void on_delete(bool undo_stack) override;
28  void on_add_to_document() override;
29  void on_remove_from_document() override;
30 
31  void relationship(NodeSet& set) const override;
32  void on_input_connection(const Plug& output, const Plug& input, bool serial) override;
33  };
34  }
Definition: NodeSet.h:21
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
#define MAQUINA_EXPORT
Definition: Export.h:31
A node plug.
Definition: Plug.h:52
Definition: BaseLayer.h:22
Base class of all Rumba nodes.
Definition: Node.h:36