From 6c37cc1979b2a01205a888c4c98f3334685ee8dd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 23 Jan 2021 15:35:24 +0100 Subject: Tidying. --- src/transfer_function.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'src/transfer_function.h') 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 + Copyright (C) 2012-2021 Carl Hetherington 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 -#include + #include #include +#include + 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 -- cgit v1.2.3