![]() |
TrinityCore
|
#include <ScriptReloadMgr.h>
Public Member Functions | |
| ScriptReloadMgr (ScriptReloadMgr const &)=delete | |
| ScriptReloadMgr (ScriptReloadMgr &&)=delete | |
| ScriptReloadMgr & | operator= (ScriptReloadMgr const &)=delete |
| ScriptReloadMgr & | operator= (ScriptReloadMgr &&)=delete |
| virtual | ~ScriptReloadMgr ()=default |
| virtual void | Initialize () |
| Initializes the ScriptReloadMgr. | |
| virtual void | Update () |
| virtual void | Unload () |
| Unloads the ScriptReloadMgr. | |
Static Public Member Functions | |
| static std::shared_ptr< ModuleReference > | AcquireModuleReferenceOfContext (std::string const &context) |
| Returns an owning reference to the current module of the given context. | |
| static ScriptReloadMgr * | instance () |
| Returns the unique ScriptReloadMgr singleton instance. | |
Protected Member Functions | |
| ScriptReloadMgr ()=default | |
Provides the whole physical dynamic library unloading capability. Loads, Reloads and Unloads dynamic libraries on changes and informs the ScriptMgr about changes which were made. The ScriptReloadMgr is also responsible for watching the source directory and to invoke a build on changes.
Definition at line 56 of file ScriptReloadMgr.h.
|
protecteddefault |
|
delete |
|
delete |
|
virtualdefault |
|
static |
Returns an owning reference to the current module of the given context.
Definition at line 25 of file ScriptReloadMgr.cpp.
Here is the caller graph for this function:
|
inlinevirtual |
Initializes the ScriptReloadMgr.
Definition at line 69 of file ScriptReloadMgr.h.
|
static |
Returns the unique ScriptReloadMgr singleton instance.
Definition at line 31 of file ScriptReloadMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
delete |
|
inlinevirtual |
Unloads the ScriptReloadMgr.
Definition at line 77 of file ScriptReloadMgr.h.
|
inlinevirtual |
Needs to be called periodically to check for updates on script modules. Expects to be invoked in a thread safe way which means it's required that the current thread is the only one which accesses the world data.
Definition at line 74 of file ScriptReloadMgr.h.