|
Pol
Revision:cb584c9
|
#include <state.h>
Inheritance diagram for Pol::Core::StateManager:Public Member Functions | |
| StateManager () | |
| ~StateManager () | |
| void | deinitialize () |
| size_t | estimateSize () const |
Public Attributes | |
| u32 | charserialnumber |
| std::atomic< int > | checkin_clock_times_out_at |
| size_t | cycles_per_decay_worldzone |
| size_t | cycles_until_decay_worldzone |
| struct { | |
| Clib::OnlineStatistics active_decay | |
| Clib::OnlineStatistics decayed | |
| u32 temp_count_active | |
| u32 temp_count_decayed | |
| } | decay_statistics |
| bool | gflag_enforce_container_limits |
| bool | gflag_in_system_load |
| bool | gflag_in_system_startup |
| u32 | itemserialnumber |
| const char * | last_checkpoint |
| std::atomic< clock_t > | polclock_paused_at |
| PolSig | polsig |
| ProfileVars | profilevars |
| unsigned int | stored_last_char_serial |
| unsigned int | stored_last_item_serial |
| UObjCount | uobjcount |
| Pol::Core::StateManager::StateManager | ( | ) |
Definition at line 10 of file state.cpp.
Referenced by estimateSize().
| size_t Pol::Core::StateManager::estimateSize | ( | ) | const |
Definition at line 35 of file state.cpp.
References StateManager().
Referenced by Pol::Core::MemoryUsage::log().
| Clib::OnlineStatistics Pol::Core::StateManager::active_decay |
Definition at line 59 of file state.h.
Referenced by Pol::Core::decay_single_thread().
| u32 Pol::Core::StateManager::charserialnumber |
Definition at line 52 of file state.h.
Referenced by Pol::Core::GetCurrentCharSerialNumber(), Pol::Core::GetNextSerialNumber(), Pol::Core::SetCurrentCharSerialNumber(), and Pol::Core::UseCharSerialNumber().
| std::atomic<int> Pol::Core::StateManager::checkin_clock_times_out_at |
Definition at line 64 of file state.h.
Referenced by Pol::Core::polclock_checkin(), and Pol::Core::threadstatus_thread().
| size_t Pol::Core::StateManager::cycles_per_decay_worldzone |
Definition at line 35 of file state.h.
Referenced by Pol::Core::decay_items(), and Pol::Core::update_rpm().
| size_t Pol::Core::StateManager::cycles_until_decay_worldzone |
Definition at line 36 of file state.h.
Referenced by Pol::Core::decay_items(), and Pol::Core::update_rpm().
| struct { ... } Pol::Core::StateManager::decay_statistics |
Referenced by Pol::Core::decay_single_thread(), and Pol::Core::decay_worldzone().
| Clib::OnlineStatistics Pol::Core::StateManager::decayed |
Definition at line 58 of file state.h.
Referenced by Pol::Core::decay_single_thread().
| bool Pol::Core::StateManager::gflag_enforce_container_limits |
Definition at line 38 of file state.h.
Referenced by Pol::Core::add_loaded_item(), Pol::Core::UContainer::can_add_bulk(), and Pol::Core::equip_loaded_item().
| bool Pol::Core::StateManager::gflag_in_system_load |
Definition at line 39 of file state.h.
Referenced by Pol::Core::read_data(), and Pol::Mobile::Character::readAttributesAndVitals().
| bool Pol::Core::StateManager::gflag_in_system_startup |
Definition at line 40 of file state.h.
Referenced by Pol::xmain_inner().
| u32 Pol::Core::StateManager::itemserialnumber |
Definition at line 51 of file state.h.
Referenced by Pol::Core::GetCurrentItemSerialNumber(), Pol::Core::GetNewItemSerialNumber(), Pol::Core::SetCurrentItemSerialNumber(), and Pol::Core::UseItemSerialNumber().
| const char* Pol::Core::StateManager::last_checkpoint |
Definition at line 33 of file state.h.
Referenced by Pol::Core::checkpoint(), Pol::xmain_inner(), and Pol::xmain_outer().
| std::atomic<clock_t> Pol::Core::StateManager::polclock_paused_at |
Definition at line 42 of file state.h.
Referenced by Pol::Core::pause_polclock(), Pol::Core::restart_polclock(), and Pol::Core::threadstatus_thread().
| PolSig Pol::Core::StateManager::polsig |
Definition at line 54 of file state.h.
Referenced by Pol::Core::catch_signals_thread(), Pol::Core::console_thread(), Pol::Core::ConsoleCommand::exec_console_cmd(), Pol::Core::handle_HUP(), Pol::Core::handle_SIGUSR1(), and Pol::Core::threadstatus_thread().
| ProfileVars Pol::Core::StateManager::profilevars |
Definition at line 47 of file state.h.
Referenced by Pol::Core::check_blocked(), Pol::Core::combined_thread(), Pol::Module::GetCoreVariable(), Pol::Core::log_all_script_cycle_counts(), Pol::Core::ScriptScheduler::run_ready(), Pol::Core::scripts_thread(), Pol::Core::setup_update_rpm(), Pol::Core::update_rpm(), Pol::Core::update_sysload(), and Pol::xmain_inner().
| unsigned int Pol::Core::StateManager::stored_last_char_serial |
Definition at line 45 of file state.h.
Referenced by Pol::Core::read_data(), and Pol::Core::read_system_vars().
| unsigned int Pol::Core::StateManager::stored_last_item_serial |
Definition at line 44 of file state.h.
Referenced by Pol::Core::read_data(), and Pol::Core::read_system_vars().
| u32 Pol::Core::StateManager::temp_count_active |
Definition at line 61 of file state.h.
Referenced by Pol::Core::decay_single_thread(), and Pol::Core::decay_worldzone().
| u32 Pol::Core::StateManager::temp_count_decayed |
Definition at line 60 of file state.h.
Referenced by Pol::Core::decay_single_thread(), and Pol::Core::decay_worldzone().
| UObjCount Pol::Core::StateManager::uobjcount |
Definition at line 49 of file state.h.
Referenced by Pol::Mobile::Character::Character(), Pol::Core::UObject::destroy(), Pol::Core::display_leftover_objects(), Pol::Module::ECharacterRefObjImp::ECharacterRefObjImp(), Pol::Items::Item::Item(), Pol::Mobile::NPC::NPC(), Pol::Core::textcmd_orphans(), Pol::Multi::UMulti::UMulti(), Pol::Core::UObject::UObject(), Pol::Mobile::Character::~Character(), Pol::Module::ECharacterRefObjImp::~ECharacterRefObjImp(), Pol::Items::Item::~Item(), Pol::Mobile::NPC::~NPC(), Pol::Multi::UMulti::~UMulti(), and Pol::Core::UObject::~UObject().