CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
SKSE::Impl::RegistrationSetBase Class Reference

#include <RegistrationSet.h>

Inheritance diagram for SKSE::Impl::RegistrationSetBase:
SKSE::Impl::RegistrationSet< std::enable_if_t< std::conjunction_v< RE::BSScript::is_return_convertible< Args >... > >, Args... > SKSE::Impl::RegistrationSet< void >

Public Member Functions

 RegistrationSetBase ()=delete
 
 RegistrationSetBase (const std::string_view &a_eventName)
 
 RegistrationSetBase (const RegistrationSetBase &a_rhs)
 
 RegistrationSetBase (RegistrationSetBase &&a_rhs)
 
 ~RegistrationSetBase ()
 
RegistrationSetBaseoperator= (const RegistrationSetBase &a_rhs)
 
RegistrationSetBaseoperator= (RegistrationSetBase &&a_rhs)
 
bool Register (const RE::TESForm *a_form)
 
bool Register (const RE::BGSBaseAlias *a_alias)
 
bool Register (const RE::ActiveEffect *a_effect)
 
bool Unregister (const RE::TESForm *a_form)
 
bool Unregister (const RE::BGSBaseAlias *a_alias)
 
bool Unregister (const RE::ActiveEffect *a_effect)
 
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)
 

Protected Types

using Lock = std::recursive_mutex
 
using Locker = std::lock_guard< Lock >
 

Protected Member Functions

bool Register (const void *a_object, RE::VMTypeID a_typeID)
 
bool Unregister (const void *a_object, RE::VMTypeID a_typeID)
 

Protected Attributes

std::set< RE::VMHandle_handles
 
std::string _eventName
 
Lock _lock
 

Member Typedef Documentation

◆ Lock

using SKSE::Impl::RegistrationSetBase::Lock = std::recursive_mutex
protected

◆ Locker

using SKSE::Impl::RegistrationSetBase::Locker = std::lock_guard<Lock>
protected

Constructor & Destructor Documentation

◆ RegistrationSetBase() [1/4]

SKSE::Impl::RegistrationSetBase::RegistrationSetBase ( )
delete

◆ RegistrationSetBase() [2/4]

SKSE::Impl::RegistrationSetBase::RegistrationSetBase ( const std::string_view &  a_eventName)

◆ RegistrationSetBase() [3/4]

SKSE::Impl::RegistrationSetBase::RegistrationSetBase ( const RegistrationSetBase a_rhs)

◆ RegistrationSetBase() [4/4]

SKSE::Impl::RegistrationSetBase::RegistrationSetBase ( RegistrationSetBase &&  a_rhs)

◆ ~RegistrationSetBase()

SKSE::Impl::RegistrationSetBase::~RegistrationSetBase ( )

Member Function Documentation

◆ Clear()

void SKSE::Impl::RegistrationSetBase::Clear ( )

◆ Load()

bool SKSE::Impl::RegistrationSetBase::Load ( SerializationInterface a_intfc)

◆ operator=() [1/2]

RegistrationSetBase & SKSE::Impl::RegistrationSetBase::operator= ( const RegistrationSetBase a_rhs)

◆ operator=() [2/2]

RegistrationSetBase & SKSE::Impl::RegistrationSetBase::operator= ( RegistrationSetBase &&  a_rhs)

◆ Register() [1/4]

bool SKSE::Impl::RegistrationSetBase::Register ( const RE::ActiveEffect a_effect)

◆ Register() [2/4]

bool SKSE::Impl::RegistrationSetBase::Register ( const RE::BGSBaseAlias a_alias)

◆ Register() [3/4]

bool SKSE::Impl::RegistrationSetBase::Register ( const RE::TESForm a_form)

◆ Register() [4/4]

bool SKSE::Impl::RegistrationSetBase::Register ( const void *  a_object,
RE::VMTypeID  a_typeID 
)
protected

◆ Save() [1/2]

bool SKSE::Impl::RegistrationSetBase::Save ( SerializationInterface a_intfc)

◆ Save() [2/2]

bool SKSE::Impl::RegistrationSetBase::Save ( SerializationInterface a_intfc,
std::uint32_t  a_type,
std::uint32_t  a_version 
)

◆ Unregister() [1/4]

bool SKSE::Impl::RegistrationSetBase::Unregister ( const RE::ActiveEffect a_effect)

◆ Unregister() [2/4]

bool SKSE::Impl::RegistrationSetBase::Unregister ( const RE::BGSBaseAlias a_alias)

◆ Unregister() [3/4]

bool SKSE::Impl::RegistrationSetBase::Unregister ( const RE::TESForm a_form)

◆ Unregister() [4/4]

bool SKSE::Impl::RegistrationSetBase::Unregister ( const void *  a_object,
RE::VMTypeID  a_typeID 
)
protected

Member Data Documentation

◆ _eventName

std::string SKSE::Impl::RegistrationSetBase::_eventName
protected

◆ _handles

std::set<RE::VMHandle> SKSE::Impl::RegistrationSetBase::_handles
protected

◆ _lock

Lock SKSE::Impl::RegistrationSetBase::_lock
mutableprotected

The documentation for this class was generated from the following file: