Rumba C++ SDK
NodeLoaderPlugin.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2022
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 #pragma once
16 
17 #include <Maquina/Node.h>
18 
19 namespace maquina
20 {
21 
23 
28 {
29 public:
34  virtual bool match(const std::wstring& file_path) = 0;
40  virtual Node load(const std::wstring& file_path) = 0;
41 };
42 
43 } // namespace collodi
A node loader plug-in interface.
Definition: NodeLoaderPlugin.h:27
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
virtual bool match(const std::wstring &file_path)=0
Returns true if the plug-in is able to load the file. If true is returned, then this plug-in and only...
virtual Node load(const std::wstring &file_path)=0
Load the node from a file.
Base class of all Rumba nodes.
Definition: Node.h:37