- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScriptableFunction.cpp
More file actions
Latest commit
17 lines (15 loc) · 498 Bytes
/
Copy pathScriptableFunction.cpp
File metadata and controls
17 lines (15 loc) · 498 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include"ScriptableFunction.h"
/**
* \brief Parameterless constructor.
*/
ScriptableFunction::ScriptableFunction() = default;
/**
* \brief Main constructor.
* \param function_name Name of the function (must match one from the FunctionManager's map).
* \param args List of arguments to pass into the dynamic function.
*/
ScriptableFunction::ScriptableFunction(const std::string & function_name, std::vector<std::string> args)
{
FunctionName = function_name;
Arguments = std::move(args);
}