diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-01 23:58:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-01 23:58:04 +0100 |
| commit | b539d468acc3ca73cc58a4434002e511a4995f7d (patch) | |
| tree | 0b87689706f9248853b62179195fa881d17730b0 /src/lib/cinema_sound_processor.h | |
| parent | 4a2efeb3c35babad46eebfbb56fa9a0a7c215d3b (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/cinema_sound_processor.h')
| -rw-r--r-- | src/lib/cinema_sound_processor.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/cinema_sound_processor.h b/src/lib/cinema_sound_processor.h index 25c576003..aa0ffa50f 100644 --- a/src/lib/cinema_sound_processor.h +++ b/src/lib/cinema_sound_processor.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 DCP-o-matic. @@ -18,29 +18,36 @@ */ + /** @file src/cinema_sound_processor.h * @brief CinemaSoundProcessor class */ + #ifndef DCPOMATIC_CINEMA_SOUND_PROCESSOR_H #define DCPOMATIC_CINEMA_SOUND_PROCESSOR_H + #include <boost/utility.hpp> #include <string> #include <vector> + /** @class CinemaSoundProcessor * @brief Class to describe a cimema's sound processor. * * In other words, the box in the rack that handles sound decoding and processing * in a cinema. */ -class CinemaSoundProcessor : public boost::noncopyable +class CinemaSoundProcessor { public: CinemaSoundProcessor (std::string i, std::string n, float knee, float below, float above); virtual ~CinemaSoundProcessor () {} + CinemaSoundProcessor (CinemaSoundProcessor const&) = delete; + CinemaSoundProcessor& operator==(CinemaSoundProcessor const&) = delete; + float db_for_fader_change (float from, float to) const; /** @return id for our use */ @@ -72,4 +79,5 @@ private: static std::vector<CinemaSoundProcessor const *> _cinema_sound_processors; }; + #endif |
