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.
◆ ~Session()
| virtual agxData::agxData::~Session |
( |
| ) |
|
|
protectedvirtual |
◆ buildFramePath()
- 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()
Create a new empty session to which a recording can be made. Will return nullptr on error.
◆ finalizeHeader()
| virtual void agxData::agxData::finalizeHeader |
( |
| ) |
|
|
overridevirtual |
◆ getAllPlots()
| virtual void agxData::agxData::getAllPlots |
( |
PlotDataRefVector & |
result | ) |
|
|
overridevirtual |
◆ getCustomFilesPath()
| virtual agx::String agxData::agxData::getCustomFilesPath |
( |
bool |
create = true | ) |
const |
|
overridevirtual |
◆ getFileJournal() [1/2]
- Returns
- The file journal to which the session have been registered.
◆ getFileJournal() [2/2]
| const FileJournal * agxData::agxData::getFileJournal |
( |
| ) |
const |
- Returns
- The file journal to which the session have been registered.
◆ getFrameHead()
◆ getFrameHeader()
| virtual agxData::Frame::Header agxData::agxData::getFrameHeader |
( |
agx::UInt |
frameIndex | ) |
const |
|
overridevirtual |
Load the header data for a particular frame.
◆ getFrameInfo()
◆ getFramesPath()
- Returns
- Disk path to the folder containing all the frames.
◆ getNextFrameIndex()
◆ getPath()
| virtual agx::String agxData::agxData::getPath |
( |
| ) |
const |
|
overridevirtual |
- Returns
- The disk path where the session is stored.
◆ getPlot()
| virtual PlotData * agxData::agxData::getPlot |
( |
const agx::String & |
plotName | ) |
|
|
overridevirtual |
◆ getPlotDirectoryPath()
| agx::String agxData::agxData::getPlotDirectoryPath |
( |
| ) |
const |
◆ getPlotList()
◆ getScenePath()
| virtual agx::String agxData::agxData::getScenePath |
( |
bool |
create = true | ) |
const |
|
overridevirtual |
- Returns
- The disk path to the .agx file for this session.
◆ getSessionHeaderPath()
| agx::String agxData::agxData::getSessionHeaderPath |
( |
| ) |
const |
◆ load()
Load a session from disk. Will return nullptr on error.
◆ packSceneData() [1/2]
| 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.
◆ packSceneData() [2/2]
| 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.
◆ recordExtraData()
◆ removePlot()
| virtual void agxData::agxData::removePlot |
( |
const agx::String & |
plotName | ) |
|
|
overridevirtual |
◆ retrieveExtraData()
◆ savePlot()
| virtual void agxData::agxData::savePlot |
( |
const PlotData * |
plot | ) |
|
|
overridevirtual |
◆ setFrameHead()
| void agxData::agxData::setFrameHead |
( |
agx::UInt64 |
head | ) |
|
◆ truncate()
| virtual bool agxData::agxData::truncate |
( |
agx::UInt |
firstFrameToRemove | ) |
|
|
overridevirtual |
Remove all frames from the given index and forward.
◆ unpackSceneData() [1/2]
| 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.
◆ unpackSceneData() [2/2]
| 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.
◆ unpackSceneFile()
| 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.
◆ writeHeader()
| virtual void agxData::agxData::writeHeader |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: