using RealTimeGraphEx.Controllers;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Threading;
namespace RealTimeGraphEx.ReachGraphs
{
public class RealTimeGraphExReachCircle : RealTimeGraphExBase
{
#region Protected Fields
protected int updateCounter;
protected Ellipse ellipse;
protected double lastValue;
#endregion
#region Cross Thread Fields
protected Brush _stroke;
protected Brush _fill;
protected GraphController _graphController;
#endregion
#region Properties
/// <summary>
/// Gets or sets the graph strokes color.
/// </summary>
public Brush Stroke
{
get { return (Brush)GetValue(StrokeProperty); }
set { SetValue(StrokeProperty, value); }
}
public static readonly DependencyProperty StrokeProperty =
DependencyProperty.Register("Stroke", typeof(Brush), typeof(RealTimeGraphExReachCircle), new PropertyMetadata(Brushes.Black, new PropertyChangedCallback(CrossModelChanged)));
/// <summary>
/// Gets or sets the graph fill color.
/// </summary>
public Brush Fill
{
get { return (Brush)GetValue(FillProperty); }
set { SetValue(FillProperty, value); }
}
public static readonly DependencyProperty FillProperty =
DependencyProperty.Register("Fill", typeof(Brush), typeof(RealTimeGraphExReachCircle), new PropertyMetadata(Brushes.Gray, new PropertyChangedCallback(CrossModelChanged)));
/// <summary>
/// Gets or sets the IDataSeries used to push data points to the graph.
/// </summary>
public GraphController Controller
{
get { return (GraphController)GetValue(ControllerProperty); }
set { SetValue(ControllerProperty, value); }
}
public static readonly DependencyProperty ControllerProperty =
DependencyProperty.Register("Controller", typeof(GraphController), typeof(RealTimeGraphExReachCircle), new PropertyMetadata(null, new PropertyChangedCallback(GraphControllerChanged)));
private static void GraphControllerChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var control = d as RealTimeGraphExReachCircle;
if (control.Controller != null)
{
control.Controller.RegisterMethods(control.ClearGraph, control.StartPushThread, control.SetPaused, control.ChangeRenderMode, null);
control._graphController = control.Controller;
}
}
/// <summary>
/// Gets or sets the collection of VU range data determines how to fill the VU graph.
/// </summary>
public ObservableCollection<Models.RangeData> Ranges
{
get { return (ObservableCollection<Models.RangeData>)GetValue(RangesProperty); }
set { SetValue(RangesProperty, value); }
}
public static readonly DependencyProperty RangesProperty =
DependencyProperty.Register("Ranges", typeof(ObservableCollection<Models.RangeData>), typeof(RealTimeGraphExReachCircle), new PropertyMetadata(null));
/// <summary>
/// Gets or sets whether to animate the circle when when it's value doens not change.
/// </summary>
public bool Animate
{
get { return (bool)GetValue(AnimateProperty); }
set { SetValue(AnimateProperty, valuepre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ConversionInput.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "ConversionInput.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
namespace Tango {
namespace PMR {
namespace ColorLab {
class ConversionInputDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<ConversionInput>
_instance;
} _ConversionInput_default_instance_;
namespace protobuf_ConversionInput_2eproto {
namespace {
::google::protobuf::Metadata file_level_metadata[1];
} // namespace
PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField
const TableStruct::entries[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0},
};
PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField
const TableStruct::aux[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
::google::protobuf::internal::AuxillaryParseTableField(),
};
PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const
TableStruct::schema[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{ NULL, NULL, 0, -1, -1, -1, -1, NULL, false },
};
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, threadl_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, threada_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, threadb_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, colorspace_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, inputcoordinates_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, forwarddata_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, inversedata_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, segmentlength_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, deltachroma_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionInput, deltal_),
};
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, sizeof(ConversionInput)},
};
static ::google::protobuf::Message const * const file_default_instances[] = {
reinterpret_cast<const ::google::protobuf::Message*>(&_ConversionInput_default_instance_),
};
namespace {
void protobuf_AssignDescriptors() {
AddDescriptors();
::google::protobuf::MessageFactory* factory = NULL;
AssignDescriptors(
"ConversionInput.proto", schemas, file_default_instances, TableStruct::offsets, factory,
file_level_metadata, NULL, NULL);
}
void protobuf_AssignDescriptorsOnce() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
}
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1);
}
} // namespace
void TableStruct::InitDefaultsImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::internal::InitProtobufDefaults();
::Tango::PMR::ColorLab::protobuf_InputCoordinates_2eproto::InitDefaults();
::Tango::PMR::ColorLab::protobuf_ColorSpace_2eproto::InitDefaults();
_ConversionInput_default_instance_._instance.DefaultConstruct();
::google::protobuf::internal::OnShutdownDestroyMessage(
&_ConversionInput_default_instance_);_ConversionInput_default_instance_._instance.get_mutable()->inputcoordinates_ = const_cast< ::Tango::PMR::ColorLab::InputCoordinates*>(
::Tango::PMR::ColorLab::InputCoordinates::internal_default_instance());
}
void InitDefaults() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl);
}
namespace {
void AddDescriptorsImpl() {
InitDefaults();
static const char descriptor[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
"\n\025ConversionInput.proto\022\022Tango.PMR.Color"
"Lab\032\026InputCoordinates.proto\032\020ColorSpace."
"proto\"\236\002\n\017ConversionInput\022\017\n\007ThreadL\030\001 \001"
"(\001\022\017\n\007ThreadA\030\002 \001(\001\022\017\n\007ThreadB\030\003 \001(\001\0222\n\n"
"ColorSpace\030\004 \001(\0162\036.Tango.PMR.ColorLab.Co"
"lorSpace\022>\n\020InputCoordinates\030\005 \001(\0132$.Tan"
"go.PMR.ColorLab.InputCoordinates\022\023\n\013Forw"
"ardData\030\006 \001(\014\022\023\n\013InverseData\030\007 \001(\014\022\025\n\rSe"
"gmentLength\030\010 \001(\001\022\023\n\013DeltaChroma\030\t \001(\001\022\016"
"\n\006DeltaL\030\n \001(\001B\036\n\034com.twine.tango.pmr.co"
"lorlabb\006proto3"
};
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
descriptor, 414);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"ConversionInput.proto", &protobuf_RegisterTypes);
::Tango::PMR::ColorLab::protobuf_InputCoordinates_2eproto::AddDescriptors();
::Tango::PMR::ColorLab::protobuf_ColorSpace_2eproto::AddDescriptors();
}
} // anonymous namespace
void AddDescriptors() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
}
// Force AddDescriptors() to be called at dynamic initialization time.
struct StaticDescriptorInitializer {
StaticDescriptorInitializer() {
AddDescriptors();
}
} static_descriptor_initializer;
} // namespace protobuf_ConversionInput_2eproto
// ===================================================================
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int ConversionInput::kThreadLFieldNumber;
const int ConversionInput::kThreadAFieldNumber;
const int ConversionInput::kThreadBFieldNumber;
const int ConversionInput::kColorSpaceFieldNumber;
const int ConversionInput::kInputCoordinatesFieldNumber;
const int ConversionInput::kForwardDataFieldNumber;
const int ConversionInput::kInverseDataFieldNumber;
const int ConversionInput::kSegmentLengthFieldNumber;
const int ConversionInput::kDeltaChromaFieldNumber;
const int ConversionInput::kDeltaLFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
ConversionInput::ConversionInput()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
protobuf_ConversionInput_2eproto::InitDefaults();
}
SharedCtor();
// @@protoc_insertion_point(constructor:Tango.PMR.ColorLab.ConversionInput)
}
ConversionInput::ConversionInput(const ConversionInput& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
forwarddata_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.forwarddata().size() > 0) {
forwarddata_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.forwarddata_);
}
inversedata_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.inversedata().size() > 0) {
inversedata_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.inversedata_);
}
if (from.has_inputcoordinates()) {
inputcoordinates_ = new ::Tango::PMR::ColorLab::InputCoordinates(*from.inputcoordinates_);
} else {
inputcoordinates_ = NULL;
}
::memcpy(&threadl_, &from.threadl_,
static_cast<size_t>(reinterpret_cast<char*>(&colorspace_) -
reinterpret_cast<char*>(&threadl_)) + sizeof(colorspace_));
// @@protoc_insertion_point(copy_constructor:Tango.PMR.ColorLab.ConversionInput)
}
void ConversionInput::SharedCtor() {
forwarddata_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
inversedata_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&inputcoordinates_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&colorspace_) -
reinterpret_cast<char*>(&inputcoordinates_)) + sizeof(colorspace_));
_cached_size_ = 0;
}
ConversionInput::~ConversionInput() {
// @@protoc_insertion_point(destructor:Tango.PMR.ColorLab.ConversionInput)
SharedDtor();
}
void ConversionInput::SharedDtor() {
forwarddata_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
inversedata_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (this != internal_default_instance()) delete inputcoordinates_;
}
void ConversionInput::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* ConversionInput::descriptor() {
protobuf_ConversionInput_2eproto::protobuf_AssignDescriptorsOnce();
return protobuf_ConversionInput_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const ConversionInput& ConversionInput::default_instance() {
protobuf_ConversionInput_2eproto::InitDefaults();
return *internal_default_instance();
}
ConversionInput* ConversionInput::New(::google::protobuf::Arena* arena) const {
ConversionInput* n = new ConversionInput;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void ConversionInput::Clear() {
// @@protoc_insertion_point(message_clear_start:Tango.PMR.ColorLab.ConversionInput)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
forwarddata_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
inversedata_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (GetArenaNoVirtual() == NULL && inputcoordinates_ != NULL) {
delete inputcoordinates_;
}
inputcoordinates_ = NULL;
::memset(&threadl_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&colorspace_) -
reinterpret_cast<char*>(&threadl_)) + sizeof(colorspace_));
_internal_metadata_.Clear();
}
bool ConversionInput::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:Tango.PMR.ColorLab.ConversionInput)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// double ThreadL = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
input, &threadl_)));
} else {
goto handle_unusual;
}
break;
}
// double ThreadA = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
input, &threada_)));
} else {
goto handle_unusual;
}
break;
}
// double ThreadB = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
input, &threadb_)));
} else {
goto handle_unusual;
}
break;
}
// .Tango.PMR.ColorLab.ColorSpace ColorSpace = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
int value;
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
input, &value)));
set_colorspace(static_cast< ::Tango::PMR::ColorLab::ColorSpace >(value));
} else {
goto handle_unusual;
}
break;
}
// .Tango.PMR.ColorLab.InputCoordinates InputCoordinates = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
input, mutable_inputcoordinates()));
} else {
goto handle_unusual;
}
break;
}
// bytes ForwardData = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
input, this->mutable_forwarddata()));
} else {
goto handle_unusual;
}
break;
}
// bytes InverseData = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
input, this->mutable_inversedata()));
} else {
goto handle_unusual;
}
break;
}
// double SegmentLength = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(65u /* 65 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
input, &segmentlength_)));
} else {
goto handle_unusual;
}
break;
}
// double DeltaChroma = 9;
case 9: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(73u /* 73 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
input, &deltachroma_)));
} else {
goto handle_unusual;
}
break;
}
// double DeltaL = 10;
case 10: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(81u /* 81 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
input, &deltal_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:Tango.PMR.ColorLab.ConversionInput)
return true;
failure:
// @@protoc_insertion_point(parse_failure:Tango.PMR.ColorLab.ConversionInput)
return false;
#undef DO_
}
void ConversionInput::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:Tango.PMR.ColorLab.ConversionInput)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// double ThreadL = 1;
if (this->threadl() != 0) {
::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->threadl(), output);
}
// double ThreadA = 2;
if (this->threada() != 0) {
::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->threada(), output);
}
// double ThreadB = 3;
if (this->threadb() != 0) {
::google::protobuf::internal::WireFormatLite::WriteDouble(3, this->threadb(), output);
}
// .Tango.PMR.ColorLab.ColorSpace ColorSpace = 4;
if (this->colorspace() != 0) {
::google::protobuf::internal::WireFormatLite::WriteEnum(
4, this->colorspace(), output);
}
// .Tango.PMR.ColorLab.InputCoordinates InputCoordinates = 5;
if (this->has_inputcoordinates()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5, *this->inputcoordinates_, output);
}
// bytes ForwardData = 6;
if (this->forwarddata().size() > 0) {
::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6, this->forwarddata(), output);
}
// bytes InverseData = 7;
if (this->inversedata().size() > 0) {
::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7, this->inversedata(), output);
}
// double SegmentLength = 8;
if (this->segmentlength() != 0) {
::google::protobuf::internal::WireFormatLite::WriteDouble(8, this->segmentlength(), output);
}
// double DeltaChroma = 9;
if (this->deltachroma() != 0) {
::google::protobuf::internal::WireFormatLite::WriteDouble(9, this->deltachroma(), output);
}
// double DeltaL = 10;
if (this->deltal() != 0) {
::google::protobuf::internal::WireFormatLite::WriteDouble(10, this->deltal(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:Tango.PMR.ColorLab.ConversionInput)
}
::google::protobuf::uint8* ConversionInput::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.ColorLab.ConversionInput)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// double ThreadL = 1;
if (this->threadl() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->threadl(), target);
}
// double ThreadA = 2;
if (this->threada() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->threada(), target);
}
// double ThreadB = 3;
if (this->threadb() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(3, this->threadb(), target);
}
// .Tango.PMR.ColorLab.ColorSpace ColorSpace = 4;
if (this->colorspace() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4, this->colorspace(), target);
}
// .Tango.PMR.ColorLab.InputCoordinates InputCoordinates = 5;
if (this->has_inputcoordinates()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageNoVirtualToArray(
5, *this->inputcoordinates_, deterministic, target);
}
// bytes ForwardData = 6;
if (this->forwarddata().size() > 0) {
target =
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6, this->forwarddata(), target);
}
// bytes InverseData = 7;
if (this->inversedata().size() > 0) {
target =
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7, this->inversedata(), target);
}
// double SegmentLength = 8;
if (this->segmentlength() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(8, this->segmentlength(), target);
}
// double DeltaChroma = 9;
if (this->deltachroma() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(9, this->deltachroma(), target);
}
// double DeltaL = 10;
if (this->deltal() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(10, this->deltal(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:Tango.PMR.ColorLab.ConversionInput)
return target;
}
size_t ConversionInput::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:Tango.PMR.ColorLab.ConversionInput)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// bytes ForwardData = 6;
if (this->forwarddata().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::BytesSize(
this->forwarddata());
}
// bytes InverseData = 7;
if (this->inversedata().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::BytesSize(
this->inversedata());
}
// .Tango.PMR.ColorLab.InputCoordinates InputCoordinates = 5;
if (this->has_inputcoordinates()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
*this->inputcoordinates_);
}
// double ThreadL = 1;
if (this->threadl() != 0) {
total_size += 1 + 8;
}
// double ThreadA = 2;
if (this->threada() != 0) {
total_size += 1 + 8;
}
// double ThreadB = 3;
if (this->threadb() != 0) {
total_size += 1 + 8;
}
// double SegmentLength = 8;
if (this->segmentlength() != 0) {
total_size += 1 + 8;
}
// double DeltaChroma = 9;
if (this->deltachroma() != 0) {
total_size += 1 + 8;
}
// double DeltaL = 10;
if (this->deltal() != 0) {
total_size += 1 + 8;
}
// .Tango.PMR.ColorLab.ColorSpace ColorSpace = 4;
if (this->colorspace() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::EnumSize(this->colorspace());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void ConversionInput::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.ColorLab.ConversionInput)
GOOGLE_DCHECK_NE(&from, this);
const ConversionInput* source =
::google::protobuf::internal::DynamicCastToGenerated<const ConversionInput>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.ColorLab.ConversionInput)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.ColorLab.ConversionInput)
MergeFrom(*source);
}
}
void ConversionInput::MergeFrom(const ConversionInput& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.ColorLab.ConversionInput)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.forwarddata().size() > 0) {
forwarddata_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.forwarddata_);
}
if (from.inversedata().size() > 0) {
inversedata_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.inversedata_);
}
if (from.has_inputcoordinates()) {
mutable_inputcoordinates()->::Tango::PMR::ColorLab::InputCoordinates::MergeFrom(from.inputcoordinates());
}
if (from.threadl() != 0) {
set_threadl(from.threadl());
}
if (from.threada() != 0) {
set_threada(from.threada());
}
if (from.threadb() != 0) {
set_threadb(from.threadb());
}
if (from.segmentlength() != 0) {
set_segmentlength(from.segmentlength());
}
if (from.deltachroma() != 0) {
set_deltachroma(from.deltachroma());
}
if (from.deltal() != 0) {
set_deltal(from.deltal());
}
if (from.colorspace() != 0) {
set_colorspace(from.colorspace());
}
}
void ConversionInput::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.ColorLab.ConversionInput)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void ConversionInput::CopyFrom(const ConversionInput& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.ColorLab.ConversionInput)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool ConversionInput::IsInitialized() const {
return true;
}
void ConversionInput::Swap(ConversionInput* other) {
if (other == this) return;
InternalSwap(other);
}
void ConversionInput::InternalSwap(ConversionInput* other) {
using std::swap;
forwarddata_.Swap(&other->forwarddata_);
inversedata_.Swap(&other->inversedata_);
swap(inputcoordinates_, other->inputcoordinates_);
swap(threadl_, other->threadl_);
swap(threada_, other->threada_);
swap(threadb_, other->threadb_);
swap(segmentlength_, other->segmentlength_);
swap(deltachroma_, other->deltachroma_);
swap(deltal_, other->deltal_);
swap(colorspace_, other->colorspace_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata ConversionInput::GetMetadata() const {
protobuf_ConversionInput_2eproto::protobuf_AssignDescriptorsOnce();
return protobuf_ConversionInput_2eproto::file_level_metadata[kIndexInFileMessages];
}
#if PROTOBUF_INLINE_NOT_IN_HEADERS
// ConversionInput
// double ThreadL = 1;
void ConversionInput::clear_threadl() {
threadl_ = 0;
}
double ConversionInput::threadl() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.ThreadL)
return threadl_;
}
void ConversionInput::set_threadl(double value) {
threadl_ = value;
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.ThreadL)
}
// double ThreadA = 2;
void ConversionInput::clear_threada() {
threada_ = 0;
}
double ConversionInput::threada() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.ThreadA)
return threada_;
}
void ConversionInput::set_threada(double value) {
threada_ = value;
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.ThreadA)
}
// double ThreadB = 3;
void ConversionInput::clear_threadb() {
threadb_ = 0;
}
double ConversionInput::threadb() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.ThreadB)
return threadb_;
}
void ConversionInput::set_threadb(double value) {
threadb_ = value;
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.ThreadB)
}
// .Tango.PMR.ColorLab.ColorSpace ColorSpace = 4;
void ConversionInput::clear_colorspace() {
colorspace_ = 0;
}
::Tango::PMR::ColorLab::ColorSpace ConversionInput::colorspace() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.ColorSpace)
return static_cast< ::Tango::PMR::ColorLab::ColorSpace >(colorspace_);
}
void ConversionInput::set_colorspace(::Tango::PMR::ColorLab::ColorSpace value) {
colorspace_ = value;
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.ColorSpace)
}
// .Tango.PMR.ColorLab.InputCoordinates InputCoordinates = 5;
bool ConversionInput::has_inputcoordinates() const {
return this != internal_default_instance() && inputcoordinates_ != NULL;
}
void ConversionInput::clear_inputcoordinates() {
if (GetArenaNoVirtual() == NULL && inputcoordinates_ != NULL) delete inputcoordinates_;
inputcoordinates_ = NULL;
}
const ::Tango::PMR::ColorLab::InputCoordinates& ConversionInput::inputcoordinates() const {
const ::Tango::PMR::ColorLab::InputCoordinates* p = inputcoordinates_;
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.InputCoordinates)
return p != NULL ? *p : *reinterpret_cast<const ::Tango::PMR::ColorLab::InputCoordinates*>(
&::Tango::PMR::ColorLab::_InputCoordinates_default_instance_);
}
::Tango::PMR::ColorLab::InputCoordinates* ConversionInput::mutable_inputcoordinates() {
if (inputcoordinates_ == NULL) {
inputcoordinates_ = new ::Tango::PMR::ColorLab::InputCoordinates;
}
// @@protoc_insertion_point(field_mutable:Tango.PMR.ColorLab.ConversionInput.InputCoordinates)
return inputcoordinates_;
}
::Tango::PMR::ColorLab::InputCoordinates* ConversionInput::release_inputcoordinates() {
// @@protoc_insertion_point(field_release:Tango.PMR.ColorLab.ConversionInput.InputCoordinates)
::Tango::PMR::ColorLab::InputCoordinates* temp = inputcoordinates_;
inputcoordinates_ = NULL;
return temp;
}
void ConversionInput::set_allocated_inputcoordinates(::Tango::PMR::ColorLab::InputCoordinates* inputcoordinates) {
delete inputcoordinates_;
inputcoordinates_ = inputcoordinates;
if (inputcoordinates) {
} else {
}
// @@protoc_insertion_point(field_set_allocated:Tango.PMR.ColorLab.ConversionInput.InputCoordinates)
}
// bytes ForwardData = 6;
void ConversionInput::clear_forwarddata() {
forwarddata_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
const ::std::string& ConversionInput::forwarddata() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.ForwardData)
return forwarddata_.GetNoArena();
}
void ConversionInput::set_forwarddata(const ::std::string& value) {
forwarddata_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.ForwardData)
}
#if LANG_CXX11
void ConversionInput::set_forwarddata(::std::string&& value) {
forwarddata_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:Tango.PMR.ColorLab.ConversionInput.ForwardData)
}
#endif
void ConversionInput::set_forwarddata(const char* value) {
GOOGLE_DCHECK(value != NULL);
forwarddata_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:Tango.PMR.ColorLab.ConversionInput.ForwardData)
}
void ConversionInput::set_forwarddata(const void* value, size_t size) {
forwarddata_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:Tango.PMR.ColorLab.ConversionInput.ForwardData)
}
::std::string* ConversionInput::mutable_forwarddata() {
// @@protoc_insertion_point(field_mutable:Tango.PMR.ColorLab.ConversionInput.ForwardData)
return forwarddata_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* ConversionInput::release_forwarddata() {
// @@protoc_insertion_point(field_release:Tango.PMR.ColorLab.ConversionInput.ForwardData)
return forwarddata_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void ConversionInput::set_allocated_forwarddata(::std::string* forwarddata) {
if (forwarddata != NULL) {
} else {
}
forwarddata_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), forwarddata);
// @@protoc_insertion_point(field_set_allocated:Tango.PMR.ColorLab.ConversionInput.ForwardData)
}
// bytes InverseData = 7;
void ConversionInput::clear_inversedata() {
inversedata_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
const ::std::string& ConversionInput::inversedata() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.InverseData)
return inversedata_.GetNoArena();
}
void ConversionInput::set_inversedata(const ::std::string& value) {
inversedata_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.InverseData)
}
#if LANG_CXX11
void ConversionInput::set_inversedata(::std::string&& value) {
inversedata_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:Tango.PMR.ColorLab.ConversionInput.InverseData)
}
#endif
void ConversionInput::set_inversedata(const char* value) {
GOOGLE_DCHECK(value != NULL);
inversedata_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:Tango.PMR.ColorLab.ConversionInput.InverseData)
}
void ConversionInput::set_inversedata(const void* value, size_t size) {
inversedata_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:Tango.PMR.ColorLab.ConversionInput.InverseData)
}
::std::string* ConversionInput::mutable_inversedata() {
// @@protoc_insertion_point(field_mutable:Tango.PMR.ColorLab.ConversionInput.InverseData)
return inversedata_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* ConversionInput::release_inversedata() {
// @@protoc_insertion_point(field_release:Tango.PMR.ColorLab.ConversionInput.InverseData)
return inversedata_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void ConversionInput::set_allocated_inversedata(::std::string* inversedata) {
if (inversedata != NULL) {
} else {
}
inversedata_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), inversedata);
// @@protoc_insertion_point(field_set_allocated:Tango.PMR.ColorLab.ConversionInput.InverseData)
}
// double SegmentLength = 8;
void ConversionInput::clear_segmentlength() {
segmentlength_ = 0;
}
double ConversionInput::segmentlength() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.SegmentLength)
return segmentlength_;
}
void ConversionInput::set_segmentlength(double value) {
segmentlength_ = value;
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.SegmentLength)
}
// double DeltaChroma = 9;
void ConversionInput::clear_deltachroma() {
deltachroma_ = 0;
}
double ConversionInput::deltachroma() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.DeltaChroma)
return deltachroma_;
}
void ConversionInput::set_deltachroma(double value) {
deltachroma_ = value;
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.DeltaChroma)
}
// double DeltaL = 10;
void ConversionInput::clear_deltal() {
deltal_ = 0;
}
double ConversionInput::deltal() const {
// @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionInput.DeltaL)
return deltal_;
}
void ConversionInput::set_deltal(double value) {
deltal_ = value;
// @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionInput.DeltaL)
}
#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
// @@protoc_insertion_point(namespace_scope)
} // namespace ColorLab
} // namespace PMR
} // namespace Tango
// @@protoc_insertion_point(global_scope)