Representation of a session on disk created by the FileFrameWriter.
More...
#include <FileJournal.h>
Representation of a session on disk created by the FileFrameWriter.
Definition at line 118 of file FileJournal.h.
| virtual agxData::agxData::~Session |
( |
| ) |
|
|
protectedvirtual |
- Returns
- Disk path to the folder where the given frame is stored. If the given frame isn't part of the stored session data, then the returned path will point to a folder that doesn't exist.
Create a new empty session to which a recording can be made. Will return nullptr on error.
| virtual void agxData::agxData::finalizeHeader |
( |
| ) |
|
|
overridevirtual |
| virtual void agxData::agxData::getAllPlots |
( |
PlotDataRefVector & |
result | ) |
|
|
overridevirtual |
| virtual agx::String agxData::agxData::getCustomFilesPath |
( |
bool |
create = true | ) |
const |
|
overridevirtual |
- Returns
- The file journal to which the session have been registered.
| const FileJournal* agxData::agxData::getFileJournal |
( |
| ) |
const |
- Returns
- The file journal to which the session have been registered.
| virtual agxData::Frame::Header agxData::agxData::getFrameHeader |
( |
agx::UInt |
frameIndex | ) |
const |
|
overridevirtual |
Load the header data for a particular frame.
- Returns
- Disk path to the folder containing all the frames.
| virtual agx::String agxData::agxData::getPath |
( |
| ) |
const |
|
overridevirtual |
- Returns
- The disk path where the session is stored.
| virtual PlotData* agxData::agxData::getPlot |
( |
const agx::String & |
plotName | ) |
|
|
overridevirtual |
| agx::String agxData::agxData::getPlotDirectoryPath |
( |
| ) |
const |
| virtual agx::String agxData::agxData::getScenePath |
( |
bool |
create = true | ) |
const |
|
overridevirtual |
- Returns
- The disk path to the .agx file for this session.
| agx::String agxData::agxData::getSessionHeaderPath |
( |
| ) |
const |
Load a session from disk. Will return nullptr on error.
| virtual bool agxData::agxData::packSceneData |
( |
std::stringstream & |
sceneData | ) |
|
|
overridevirtual |
Copy the scene data found in the given string stream into the scene file pointed to by getScenePath.
| virtual bool agxData::agxData::packSceneData |
( |
std::istream & |
sceneData | ) |
|
|
overridevirtual |
Copy the scene data found in the given input stream into the scene file pointed to by getScenePath.
| virtual void agxData::agxData::savePlot |
( |
const PlotData * |
plot | ) |
|
|
overridevirtual |
| virtual bool agxData::agxData::truncate |
( |
agx::UInt |
firstFrameToRemove | ) |
|
|
overridevirtual |
Remove all frames from the given index and forward.
| virtual bool agxData::agxData::unpackSceneData |
( |
std::stringstream & |
sceneData | ) |
|
|
overridevirtual |
Copy the scene data from the file pointed to by getScenePath into the given string stream.
| virtual bool agxData::agxData::unpackSceneData |
( |
std::ostream & |
sceneData | ) |
|
|
overridevirtual |
Copy the scene data from the file pointed to by getScenePath into the given output stream.
| virtual bool agxData::agxData::unpackSceneFile |
( |
| ) |
|
|
overridevirtual |
The file journal does not support packing, so this does nothing.
- Returns
- True if a scene file exists at the location returned by getScenePath. False otherwise.
| virtual void agxData::agxData::writeHeader |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: