ACF $AcfVersion:0$
IRgbColor.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
6#include <icmm/CRgb.h>
7#include <icmm/IColorModel.h>
8#include <icmm/IColorObject.h>
9
10
11namespace icmm
12{
13
14
97class IRgbColor : virtual public IColorObject
98{
99public:
100 virtual const icmm::CRgb& GetRgb() const = 0;
102
103private:
104 icmm::CRgb m_Rgb;
105 std::shared_ptr<IColorModel> m_modelPtr;
106};
107
108
109} // namespace icmm
110
111
Primitive for representation of RGB color values.
Definition CRgb.h:168
Common interface for color objects in the ACF color management system.
std::shared_ptr< const IColorSpecification > ConstColorSpecPtr
Interface for RGB color objects with specification support.
Definition IRgbColor.h:98
virtual IColorSpecification::ConstColorSpecPtr GetSpecification() const =0
virtual const icmm::CRgb & GetRgb() const =0
Contains color management classes.