SourceXtractorPlusPlus  0.13
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_ */
std::shared_ptr
STL class.
SourceXtractor::DetectionFrame::m_detection_frame
std::shared_ptr< DetectionImageFrame > m_detection_frame
Definition: DetectionFrame.h:73
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition: Property.h:33
SourceXtractor::DefaultMeasurementFrameTask
Definition: MeasurementFrameTask.h:50
SourceXtractor::DetectionFrame::EncapsulatedDetectionImageFrame::getFrame
std::shared_ptr< DetectionImageFrame > getFrame() const
Definition: DetectionFrame.h:41
SourceXtractor::DetectionFrame::EncapsulatedDetectionImageFrame::EncapsulatedDetectionImageFrame
EncapsulatedDetectionImageFrame(std::shared_ptr< DetectionImageFrame > frame)
Definition: DetectionFrame.h:37
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::DetectionFrame::getFrame
std::shared_ptr< DetectionImageFrame > getFrame() const
Definition: DetectionFrame.h:62
SourceXtractor::DetectionFrame::DetectionFrame
DetectionFrame(std::shared_ptr< DetectionImageFrame > detection_frame)
Definition: DetectionFrame.h:51
Property.h
SourceXtractor::DetectionFrame::DetectionFrame
DetectionFrame(EncapsulatedDetectionImageFrame encapsulated_frame)
Definition: DetectionFrame.h:54
SourceXtractor::DetectionFrame
Definition: DetectionFrame.h:33
SourceXtractor::DetectionFrameInfoTask
Definition: DetectionFrameInfoTask.h:30
SourceXtractor::DetectionFrameCoordinatesTask
Definition: DetectionFrameCoordinatesTask.h:30
SourceXtractor::MeasurementFrame
Definition: MeasurementFrame.h:36
Frame.h
SourceXtractor::DetectionFrame::EncapsulatedDetectionImageFrame
Definition: DetectionFrame.h:35
SourceXtractor::DetectionFrame::getEncapsulatedFrame
EncapsulatedDetectionImageFrame getEncapsulatedFrame() const
Definition: DetectionFrame.h:57
SourceXtractor::DetectionFrame::EncapsulatedDetectionImageFrame::m_frame
std::shared_ptr< DetectionImageFrame > m_frame
Definition: DetectionFrame.h:45
SourceXtractor::DetectionFrameImagesTask
Definition: DetectionFrameImagesTask.h:30