36 #include <QXmlStreamReader>
39 #include "keyvaluecollection.h"
40 #include "sourcesettings.h"
42 using cavapa::CalibrationPoint;
94 std::map<SourceID, SourceInfo> sources;
95 std::vector<std::string> ignoredKeys;
97 std::vector<GraphMarker> graphMarkers;
99 CalibrationPoint readCalibrationPoint(QXmlStreamReader& xml);
100 void readMarker(QXmlStreamReader& xml);
101 void readSource(QXmlStreamReader& xml);
198 const std::vector<CalibrationPoint>& points);
207 const std::vector<CalibrationPoint>& points);
213 void setMarkers(
const std::vector<GraphMarker>& markers);
unsigned int SourceID
Used to indicate unique source ID-numbers.
Definition: common.h:229
SourceSettings settings
The settings for the source.
Definition: metadata.h:67
Represents a collection of key-value pairs.
Definition: keyvaluecollection.h:51
SourceID id
The id number of the source.
Definition: metadata.h:57
Holds the information related to a source including id number, type, settings, a list of the recorded...
Definition: metadata.h:52
Represents the settings for a video source.
Definition: sourcesettings.h:46
SourceType
Available source types are the following ones: CAMERA = hardware or network camera, NOTHING = not a working source, STREAM = network stream, VIDEO = video file and VIDEOSET = set of multiple files.
Definition: common.h:68
std::uint64_t FrameTime
Used to store milliseconds interval in frame times.
Definition: common.h:138
std::vector< CalibrationPoint > calibrationPoints
The set of the calibration points related to the source.
Definition: metadata.h:82
FrameTime startOffset
The start offset of the source used in analysis.
Definition: metadata.h:72
SourceType type
The type of the source.
Definition: metadata.h:62
std::vector< std::string > recordedVideos
The set of the video files related to the source.
Definition: metadata.h:77