chrono::ChCheckpointASCII Class Reference

Description

ASCII text Chrono checkpoint database.

#include <ChCheckpointASCII.h>

Inheritance diagram for chrono::ChCheckpointASCII:
Collaboration diagram for chrono::ChCheckpointASCII:

Public Member Functions

 ChCheckpointASCII (Type type)
 
virtual void Initialize () override
 Initialize the checkpoint DB.
 
virtual void ReadFile (const std::string &filename) override
 Open the checkpoint database from the disk file with the specified name and read the checkpoint.
 
virtual void WriteFile (const std::string &filename) override
 Write the checkpoint database to a disk file with the specified name.
 
- Public Member Functions inherited from chrono::ChCheckpoint
void SetTime (double time)
 
double GetTime () const
 
void Save (ChSystem *sys)
 
void Save (double time, const ChAssembly::Components &components)
 
void Save (const ChAssembly::Components &components)
 
void Load (ChSystem *sys)
 
void Load (double &time, ChAssembly::Components &components)
 
void Load (ChAssembly::Components &components)
 

Additional Inherited Members

- Public Types inherited from chrono::ChCheckpoint
enum  Format { Format::ASCII }
 Checkpoint output format. More...
 
enum  Type { Type::SYSTEM, Type::COMPONENT }
 Checkpoint type. More...
 
- Static Public Member Functions inherited from chrono::ChCheckpoint
static std::string GetFormatAsString (Format format)
 Return the provided checkpoint format as a string.
 
static std::string GetTypeAsString (Type type)
 Return the provided checkpoint type as a string.
 
- Protected Member Functions inherited from chrono::ChCheckpoint
 ChCheckpoint (Type type)
 
void CheckIfSystemType () const
 Verify that the checkpoint is of type SYSTEM.
 
void CheckIfComponentType () const
 Verify that the checkpoint is of type COMPONENT.
 
- Protected Attributes inherited from chrono::ChCheckpoint
Type m_type
 checkpoint database type
 
double m_time
 time stamp of the checkpoint
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/input_output/ChCheckpointASCII.h
  • /builds/uwsbel/chrono/src/chrono/input_output/ChCheckpointASCII.cpp