Script module

class Script
#include <script.h>

Script module.

Public Functions

inline Script(const hmodule_t &hmodule, const Memory::Pointer &func, const path &name)

Script object constructor.

Parameters
  • hmodule – Handle to module where script is

  • func – Pointer to script main function

  • name – Script name string

inline ~Script()

Script object destructor.

inline constexpr path &GetName() noexcept

Gets script name.

Return values

path& – Script name

inline void operator()()

Call main function.

Private Members

path name_

Script name.

hmodule_t module_

Handle to module.

Memory::Pointer main_