SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
DetectionFrame.h
Go to the documentation of this file.
1
17/*
18 * DetectionImage.h
19 *
20 * Created on: Sep 13, 2016
21 * Author: mschefer
22 */
23
24#ifndef _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAME_H_
25#define _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAME_H_
26
29
30
31namespace SourceXtractor {
32
33class DetectionFrame : public Property {
34public:
36 public:
38 : m_frame(frame) {}
39
40 private:
42 return m_frame;
43 }
44
46
47 friend class DetectionFrame;
48 friend class MeasurementFrame;
49 };
50
52 : m_detection_frame(detection_frame) {}
53
55 : m_detection_frame(encapsulated_frame.getFrame()) {}
56
59 }
60
61protected:
63 return m_detection_frame;
64 }
65
66 // To enforce multi-threading safety only those tasks are allowed to use the content of the DetectionFrame property
71
72private:
74};
75
76}
77
78#endif /* _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAME_H_ */
std::shared_ptr< DetectionImageFrame > getFrame() const
EncapsulatedDetectionImageFrame(std::shared_ptr< DetectionImageFrame > frame)
EncapsulatedDetectionImageFrame getEncapsulatedFrame() const
std::shared_ptr< DetectionImageFrame > m_detection_frame
DetectionFrame(EncapsulatedDetectionImageFrame encapsulated_frame)
DetectionFrame(std::shared_ptr< DetectionImageFrame > detection_frame)
std::shared_ptr< DetectionImageFrame > getFrame() const
Base class for all Properties. (has no actual content)
Definition Property.h:33