Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Color scheme abstraction for dot file generation. More...
#include "color_picker.h"
Public Member Functions | |
ColorPicker ()=default | |
Default constructor. | |
virtual | ~ColorPicker ()=default |
Default destructor. | |
virtual std::string | getRGBFromRange (std::chrono::nanoseconds const &value, std::chrono::nanoseconds const &min, std::chrono::nanoseconds const &range)=0 |
Create a RGB value in the form of a string from a value and its range. | |
Color scheme abstraction for dot file generation.
Definition at line 30 of file color_picker.h.
|
default |
Default constructor.
|
virtualdefault |
Default destructor.
|
pure virtual |
Create a RGB value in the form of a string from a value and its range.
value | Time in nanoseconds to represent in RGB |
min | Min range value (in nanoseconds) |
range | Range of values (in nanoseconds) |
Implemented in hh::BlueToRedColor, and hh::JetColor.