SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
WriteableImage.h
Go to the documentation of this file.
1
17/*
18 * WriteableImage.h
19 *
20 * Created on: Mar 8, 2018
21 * Author: mschefer
22 */
23
24#ifndef _SEFRAMEWORK_IMAGE_WRITEABLEIMAGE_H_
25#define _SEFRAMEWORK_IMAGE_WRITEABLEIMAGE_H_
26
28#include <mutex>
29
30namespace SourceXtractor {
31
32template <typename T>
33class WriteableImage : public virtual Image<T> {
34public:
35
36 virtual void setValue(int x, int y, T value) = 0;
37
38 // This mutex can be used to lock the writeable image if used multithreaded
40};
41
42}
43
44#endif /* _SEFRAMEWORK_IMAGE_WRITEABLEIMAGE_H_ */
Interface representing an image.
Definition Image.h:44
virtual void setValue(int x, int y, T value)=0