TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DataManager Class Reference

Public Member Functions

void setMapToLoad (const std::string &name)
 
std::string getMapToLoad ()
 
bool getManagerChangeRequested ()
 
void setManagerChangeRequested (bool m_request)
 
void setPathLoading (bool loading)
 
bool isSaving ()
 
void setNewMap (bool m_startingNew)
 
void setLoading (bool m_loading)
 
bool isStartingNew ()
 
bool isLoading ()
 
bool isLoadingPath ()
 
bool isGoingBack ()
 
std::string getPathLoading ()
 
void SetGoingBack (bool m_goingBack)
 
void updateFileNamesInAssets ()
 
void updatePathFileNamesInAssets ()
 
void ReloadAccessibleFiles ()
 
void applyStep (Manager &manager, int transitionToStep)
 
SimulationStep deepCopySimulationStepTo (Manager &manager, sim_dump::UInt32 sourceStepIndex)
 
void reindexSteps (Manager &manager)
 
void addSimulationStep (Manager &manager)
 
void addSimulationStep (Manager &manager, sim_dump::UInt32 step, double timestamp, sim_dump::UInt32 copyStep)
 
void removeSimulationStep (Manager &manager, sim_dump::UInt32 step)
 
std::string simulationStepToString (const SimulationStep &step)
 
std::string simulationStepToString (const Manager &manager, int stepIndex)
 
void connectClient (int port)
 

Static Public Member Functions

static DataManagergetInstance ()
 

Public Attributes

ImGui::ComboAutoSelectData data
 
ImGui::ComboAutoSelectData pathData
 
std::vector< std::string > fileNames
 
std::vector< std::string > pollingFileNames
 
std::vector< std::string > pathsFileNames
 
std::string pathLoading
 
bool filesLoaded = false
 
bool saving = false
 
bool startingNew = false
 
bool loading = false
 
bool loadingPath = false
 
bool goingBack = false
 
std::map< int, NodeEntity * > mapSimToGraphNodes
 
std::map< int, LinkEntity * > mapSimToGraphLinks
 
std::map< int, EmptyEntity * > mapSimToGraphPaths
 

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