Pol  Revision:cb584c9
Pol::Core::SaveContext Class Reference

#include <savedata.h>

+ Inheritance diagram for Pol::Core::SaveContext:

Public Member Functions

 SaveContext ()
 
 ~SaveContext ()
 

Static Public Member Functions

static void ready ()
 blocks till possible last commit finishes More...
 

Public Attributes

SaveStrategy datastore
 
SaveStrategy guilds
 
SaveStrategy items
 
SaveStrategy multis
 
SaveStrategy npcequip
 
SaveStrategy npcs
 
SaveStrategy objects
 
SaveStrategy party
 
SaveStrategy pcequip
 
SaveStrategy pcs
 
SaveStrategy pol
 
SaveStrategy resource
 
SaveStrategy storage
 

Static Public Attributes

static std::shared_future< bool > finished
 

Private Types

typedef Clib::OFStreamWriter SaveStrategy
 

Private Attributes

std::ofstream _datastore
 
std::ofstream _guilds
 
std::ofstream _items
 
std::ofstream _multis
 
std::ofstream _npcequip
 
std::ofstream _npcs
 
std::ofstream _objects
 
std::ofstream _party
 
std::ofstream _pcequip
 
std::ofstream _pcs
 
std::ofstream _pol
 
std::ofstream _resource
 
std::ofstream _storage
 

Detailed Description

Definition at line 21 of file savedata.h.

Member Typedef Documentation

Definition at line 24 of file savedata.h.

Constructor & Destructor Documentation

Pol::Core::SaveContext::SaveContext ( )
Pol::Core::SaveContext::~SaveContext ( )

Member Function Documentation

void Pol::Core::SaveContext::ready ( )
static

blocks till possible last commit finishes

Definition at line 798 of file uimport.cpp.

Referenced by Pol::Core::write_data(), and Pol::xmain_inner().

Member Data Documentation

std::ofstream Pol::Core::SaveContext::_datastore
private

Definition at line 38 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_guilds
private

Definition at line 37 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_items
private

Definition at line 33 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_multis
private

Definition at line 34 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_npcequip
private

Definition at line 32 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_npcs
private

Definition at line 31 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_objects
private

Definition at line 28 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_party
private

Definition at line 39 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_pcequip
private

Definition at line 30 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_pcs
private

Definition at line 29 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_pol
private

Definition at line 27 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_resource
private

Definition at line 36 of file savedata.h.

std::ofstream Pol::Core::SaveContext::_storage
private

Definition at line 35 of file savedata.h.

SaveStrategy Pol::Core::SaveContext::datastore

Definition at line 55 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

std::shared_future< bool > Pol::Core::SaveContext::finished
static

Definition at line 57 of file savedata.h.

SaveStrategy Pol::Core::SaveContext::guilds

Definition at line 54 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::items

Definition at line 50 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::multis

Definition at line 51 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::npcequip

Definition at line 49 of file savedata.h.

Referenced by SaveContext(), Pol::Core::write_npcs(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::npcs

Definition at line 48 of file savedata.h.

Referenced by SaveContext(), Pol::Core::write_npcs(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::objects

Definition at line 45 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::party

Definition at line 56 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::pcequip

Definition at line 47 of file savedata.h.

Referenced by SaveContext(), Pol::Core::write_characters(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::pcs

Definition at line 46 of file savedata.h.

Referenced by SaveContext(), Pol::Core::write_characters(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::pol

Definition at line 44 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::resource

Definition at line 53 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().

SaveStrategy Pol::Core::SaveContext::storage

Definition at line 52 of file savedata.h.

Referenced by SaveContext(), and ~SaveContext().


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