Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
SnapshotFrame.h
Go to the documentation of this file.
1
2// Copyright (c) 2016 Digital Barriers
4
21
22#pragma once
23
24#include "YCbCrFrame.h"
25#include "EdgeVisSDK.h"
26#include "Pimpl.h"
27#include <vector>
28
29namespace EdgeVisDecoderSDK
30{
31 class SnapshotFrameImpl;
32
33 class SnapshotFrame : public YCbCrFrame
34 {
35 public:
36 DB_EDGEVIS_SDK SnapshotFrame();
37
38 SnapshotFrame(std::weak_ptr<SnapshotFrameImpl> pimpl);
39
40 DB_EDGEVIS_SDK SnapshotFrame(StreamData data);
41
42 DB_EDGEVIS_SDK SnapshotFrame(const SnapshotFrame& data);
43
44 DB_EDGEVIS_SDK SnapshotFrame(SnapshotFrame&& frame);
45
46 DB_EDGEVIS_SDK SnapshotFrame& operator=(const SnapshotFrame& frame);
47
48 DB_EDGEVIS_SDK SnapshotFrame& operator=(SnapshotFrame&& frame);
49
50 DB_EDGEVIS_SDK virtual ~SnapshotFrame();
51
52 public:
53
58 DB_EDGEVIS_SDK int32_t GetProgress() const;
59
63 DB_EDGEVIS_SDK std::vector<int32_t> GetMissingBlocks() const;
64 };
65}
DB_EDGEVIS_SDK int32_t GetProgress() const
Get the progress of the Snapshot as a percentage.
DB_EDGEVIS_SDK std::vector< int32_t > GetMissingBlocks() const
This is the base class for the StreamData objects.
Definition StreamData.h:28
The EdgeVis Decoder SDK namespace.