SourceXtractorPlusPlus  0.12
Please provide a description of the project.
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 
31 namespace SourceXtractor {
32 
33 class DetectionFrame : public Property {
34 public:
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 
61 protected:
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
68  friend class DetectionFrameInfoTask;
71 
72 private:
74 };
75 
76 }
77 
78 #endif /* _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAME_H_ */
DetectionFrame(EncapsulatedDetectionImageFrame encapsulated_frame)
DetectionFrame(std::shared_ptr< DetectionImageFrame > detection_frame)
EncapsulatedDetectionImageFrame getEncapsulatedFrame() const
Base class for all Properties. (has no actual content)
Definition: Property.h:33
std::shared_ptr< DetectionImageFrame > getFrame() const
std::shared_ptr< DetectionImageFrame > m_detection_frame
EncapsulatedDetectionImageFrame(std::shared_ptr< DetectionImageFrame > frame)
std::shared_ptr< DetectionImageFrame > getFrame() const