diff options
Diffstat (limited to 'src/transfer_function.h')
| -rw-r--r-- | src/transfer_function.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/transfer_function.h b/src/transfer_function.h index 52624c66..508ff934 100644 --- a/src/transfer_function.h +++ b/src/transfer_function.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,26 +31,35 @@ files in the program, then also delete it here. */ + /** @file src/transfer_function.h * @brief TransferFunction class. */ + #ifndef LIBDCP_TRANSFER_FUNCTION_H #define LIBDCP_TRANSFER_FUNCTION_H -#include <boost/noncopyable.hpp> -#include <memory> + #include <boost/thread/mutex.hpp> #include <map> +#include <memory> + namespace dcp { + /** @class TransferFunction * @brief A transfer function represented by a lookup table. */ -class TransferFunction : public boost::noncopyable +class TransferFunction { public: + TransferFunction () {} + + TransferFunction (TransferFunction const&) = delete; + TransferFunction& operator= (TransferFunction const&) = delete; + virtual ~TransferFunction (); /** @return A look-up table (of size 2^bit_depth) whose values range from 0 to 1 */ @@ -68,6 +77,8 @@ private: mutable boost::mutex _mutex; }; + } + #endif |
