18#ifndef AGXDATA_FILE_TRACK_H
19#define AGXDATA_FILE_TRACK_H
21#include <agx/config/AGX_USE_AIO.h>
92 using DiskFrameReader::readFrame;
99 void removeUnwantedBuffers( agx::TiXmlElement*
eElement,
const agxData::Frame::DataBindingRefVector&
bindings,
const agx::String& path );
112 std::ifstream m_journalFile;
114 bool m_activeMergeSequence;
182 virtual void writeFrame(
const agxData::Frame* frame)
override;
183 virtual const JournalArchive::Session*
getSession()
const override;
#define AGX_DECLARE_POINTER_TYPES(type)
Helper class for the FrameReaders that are backed by a file on disk.
Base class for the FrameReaders that are backed by a file on disk.
Frame reader that supports the files-and-foldes prototype format.
FileFrameReader(agxData::JournalArchive::Session *session)
agx::UInt getFrameOffset() const
virtual bool jumpToTime(agx::Real time) override
virtual bool jumpToFrame(agx::UInt frameIndex) override
Select which frame that should be returned by the next call to 'readFrame'.
virtual const agxData::JournalArchive::Session * getSession() const override
BinaryReadStrategy getBinaryReadStrategy() const
virtual ~FileFrameReader()
virtual void prepareSequence(agx::UInt startFrame, agx::UInt lastFrame) override
void setBinaryReadStrategy(BinaryReadStrategy strategy)
virtual void endSequence() override
BinaryReadStrategy
Controls how the binary data of a frame is read from disk.
virtual void writeFrame(const agxData::Frame *frame) override
FileFrameWriter(agxData::JournalArchive::Session *session)
NOTE: Buffer compression is default disabled due to decompression being slow for large datasets,...
virtual const JournalArchive::Session * getSession() const override
virtual void endOfStream() override
virtual ~FileFrameWriter()
Session(const agx::Name &name)
Only use as member allocated variable.
Base class providing referencing counted objects.
Contains classes for low level data storage for AGX.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.