Class StreamData

Class Documentation

class StreamData

Public Functions

StreamData(serialization::Stream *stream, memory::Allocator *allocator = nullptr)
~StreamData()
Callable Current() const
bool MoveNext()
Callable MoveTo(uint64_t threadId, uint64_t offset) const
Callable Next()
Callable Next(uint64_t threadId)
Callable At(uint64_t threadId, uint64_t offset) const
void Reset()
uint64_t StartTimestamp() const

Returns starting timestamp of the stream, or UINT64_MAX if timestamp not available.

uint64_t EndTimestamp() const

Returns ending timestamp of the stream, or UINT64_MAX if timestamp not available.

int64_t StartFrameNumber() const

Returns the stream's starting capture-time frame number, or -1 if information not present or otherwise invalid.

double GetNormalizedCoordinate(uint64_t timestamp) const

Return the normalized position (in the range [0..1) of the timestamps in the stream) corresponding to the provided timestamp, or -1.0 if coordinate otherwise not available.

StreamDataBookmark CreateBookmark() const
void ApplyBookmark(StreamDataBookmark const &bookmark)
serialization::Stream *GetStream() const
serialization::metadata::Keyframe const *FindKeyframeForNormalizedOffset(double offset) const
serialization::metadata::Keyframe const *FindDeferredCaptureKeyframe() const
serialization::metadata::Keyframe const *FindMandatoryInitialKeyframe() const
serialization::metadata::Keyframe const *GetKeyframe(uint64_t index) const
serialization::metadata::StreamInfoHeader const *GetStreamInfoHeader() const
uint64_t GetKeyframeCount(bool includeDeferred) const
std::vector<serialization::metadata::QueueHeader> const &GetQueuesMetadata() const
char const *GetCapturedProcessName() const
serialization::metadata::StreamCaptureArgsInfo const *GetStreamCaptureArgInfo(size_t index) const
size_t GetStreamCaptureHistoryCount() const
serialization::metadata::DeviceFeatureInfo const *GetDeviceFeatureInfo() const
TCHAR const *GetAgilitySDKPath() const