CommonLibVR
|
#include <RegistrationMap.h>
Public Member Functions | |
RegistrationMapBase ()=delete | |
RegistrationMapBase (const std::string_view &a_eventName) | |
RegistrationMapBase (const RegistrationMapBase &a_rhs) | |
RegistrationMapBase (RegistrationMapBase &&a_rhs) | |
~RegistrationMapBase () | |
RegistrationMapBase & | operator= (const RegistrationMapBase &a_rhs) |
RegistrationMapBase & | operator= (RegistrationMapBase &&a_rhs) |
bool | Register (const RE::TESForm *a_form, Filter a_filter) |
bool | Register (const RE::BGSBaseAlias *a_alias, Filter a_filter) |
bool | Register (const RE::ActiveEffect *a_activeEffect, Filter a_filter) |
bool | Unregister (const RE::TESForm *a_form, Filter a_filter) |
bool | Unregister (const RE::BGSBaseAlias *a_alias, Filter a_filter) |
bool | Unregister (const RE::ActiveEffect *a_activeEffect, Filter a_filter) |
void | UnregisterAll (const RE::TESForm *a_form) |
void | UnregisterAll (const RE::BGSBaseAlias *a_alias) |
void | UnregisterAll (const RE::ActiveEffect *a_activeEffect) |
void | UnregisterAll (RE::VMHandle a_handle) |
void | Clear () |
bool | Save (SerializationInterface *a_intfc, std::uint32_t a_type, std::uint32_t a_version) |
bool | Save (SerializationInterface *a_intfc) |
bool | Load (SerializationInterface *a_intfc) |
void | Revert (SerializationInterface *) |
Protected Types | |
using | Lock = std::recursive_mutex |
using | Locker = std::lock_guard< Lock > |
Protected Member Functions | |
bool | Register (const void *a_object, Filter a_filter, RE::VMTypeID a_typeID) |
bool | Unregister (const void *a_object, Filter a_filter, RE::VMTypeID a_typeID) |
void | UnregisterAll (const void *a_object, RE::VMTypeID a_typeID) |
bool | SaveFilter (SerializationInterface *a_intfc, Filter a_filter) |
bool | LoadFilter (SerializationInterface *a_intfc, Filter &a_filter) |
Protected Attributes | |
std::map< Filter, std::set< RE::VMHandle > > | _regs |
std::string | _eventName |
Lock | _lock |
|
protected |
|
protected |
|
delete |
SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::RegistrationMapBase | ( | const std::string_view & | a_eventName | ) |
SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::RegistrationMapBase | ( | const RegistrationMapBase & | a_rhs | ) |
SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::RegistrationMapBase | ( | RegistrationMapBase && | a_rhs | ) |
SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::~RegistrationMapBase |
void SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Clear |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Load | ( | SerializationInterface * | a_intfc | ) |
|
protected |
EventFilter< Filter >::RegistrationMapBase & SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::operator= | ( | const RegistrationMapBase & | a_rhs | ) |
EventFilter< Filter >::RegistrationMapBase & SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::operator= | ( | RegistrationMapBase && | a_rhs | ) |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Register | ( | const RE::ActiveEffect * | a_activeEffect, |
Filter | a_filter | ||
) |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Register | ( | const RE::BGSBaseAlias * | a_alias, |
Filter | a_filter | ||
) |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Register | ( | const RE::TESForm * | a_form, |
Filter | a_filter | ||
) |
|
protected |
void SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Revert | ( | SerializationInterface * | ) |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Save | ( | SerializationInterface * | a_intfc | ) |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Save | ( | SerializationInterface * | a_intfc, |
std::uint32_t | a_type, | ||
std::uint32_t | a_version | ||
) |
|
protected |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Unregister | ( | const RE::ActiveEffect * | a_activeEffect, |
Filter | a_filter | ||
) |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Unregister | ( | const RE::BGSBaseAlias * | a_alias, |
Filter | a_filter | ||
) |
bool SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::Unregister | ( | const RE::TESForm * | a_form, |
Filter | a_filter | ||
) |
|
protected |
void SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::UnregisterAll | ( | const RE::ActiveEffect * | a_activeEffect | ) |
void SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::UnregisterAll | ( | const RE::BGSBaseAlias * | a_alias | ) |
void SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::UnregisterAll | ( | const RE::TESForm * | a_form | ) |
|
protected |
void SKSE::Impl::EventFilter< Filter >::RegistrationMapBase::UnregisterAll | ( | RE::VMHandle | a_handle | ) |
|
protected |
|
mutableprotected |
|
protected |