From 2dfa224ed624075752defff77ef96961ec766bff Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 14 Feb 2018 14:36:47 +0200 Subject: Refactored ColorLab PMR Structs ! --- .../Native/Tango.ColorLib/ColorConverter.cpp | 203 ++++++++---- .../Native/Tango.ColorLib/ColorConverter.h | 3 +- .../Native/Tango.ColorLib/Exports.cpp | 8 +- .../PMR/ColorLab/CalibrationData.pb-c.c | 23 +- .../PMR/ColorLab/CalibrationData.pb-c.h | 5 +- .../PMR/ColorLab/ConversionInput.pb-c.c | 42 +-- .../PMR/ColorLab/ConversionInput.pb-c.h | 11 +- .../PMR/ColorLab/ConversionOutput.pb-c.c | 51 ++- .../PMR/ColorLab/ConversionOutput.pb-c.h | 11 +- .../Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c | 352 --------------------- .../Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h | 113 ------- .../PMR/ColorLab/InputCoordinates.pb-c.c | 248 +++++++++++++++ .../PMR/ColorLab/InputCoordinates.pb-c.h | 97 ++++++ .../Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.c | 131 ++++++++ .../Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.h | 79 +++++ .../Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c | 43 +++ .../Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h | 46 +++ .../Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c | 248 --------------- .../Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h | 96 ------ .../PMR/ColorLab/OutputCoordinates.pb-c.c | 144 +++++++++ .../PMR/ColorLab/OutputCoordinates.pb-c.h | 81 +++++ .../PMR/ColorLab/OutputLiquid.pb-c.c | 106 +++++++ .../PMR/ColorLab/OutputLiquid.pb-c.h | 75 +++++ .../Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c | 12 +- .../Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h | 6 +- .../Tango.ColorLib/PMR/Common/MessageType.pb-c.c | 68 +++- .../Tango.ColorLib/PMR/Common/MessageType.pb-c.h | 25 +- .../PMR/Diagnostics/DataFileFrame.pb-c.c | 105 ++++++ .../PMR/Diagnostics/DataFileFrame.pb-c.h | 74 +++++ .../PMR/Diagnostics/DigitalPin.pb-c.c | 105 ++++++ .../PMR/Diagnostics/DigitalPin.pb-c.h | 74 +++++ .../Diagnostics/DispenserAbortHomingRequest.pb-c.c | 92 ++++++ .../Diagnostics/DispenserAbortHomingRequest.pb-c.h | 72 +++++ .../DispenserAbortHomingResponse.pb-c.c | 72 +++++ .../DispenserAbortHomingResponse.pb-c.h | 70 ++++ .../DispenserAbortJoggingRequest.pb-c.c | 92 ++++++ .../DispenserAbortJoggingRequest.pb-c.h | 72 +++++ .../DispenserAbortJoggingResponse.pb-c.c | 92 ++++++ .../DispenserAbortJoggingResponse.pb-c.h | 72 +++++ .../PMR/Diagnostics/DispenserHomingRequest.pb-c.c | 105 ++++++ .../PMR/Diagnostics/DispenserHomingRequest.pb-c.h | 74 +++++ .../PMR/Diagnostics/DispenserHomingResponse.pb-c.c | 105 ++++++ .../PMR/Diagnostics/DispenserHomingResponse.pb-c.h | 74 +++++ .../PMR/Diagnostics/DispenserJoggingRequest.pb-c.c | 118 +++++++ .../PMR/Diagnostics/DispenserJoggingRequest.pb-c.h | 77 +++++ .../Diagnostics/DispenserJoggingResponse.pb-c.c | 72 +++++ .../Diagnostics/DispenserJoggingResponse.pb-c.h | 70 ++++ .../PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c | 92 ++++++ .../PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h | 72 +++++ .../Diagnostics/MotorAbortHomingResponse.pb-c.c | 72 +++++ .../Diagnostics/MotorAbortHomingResponse.pb-c.h | 70 ++++ .../Diagnostics/MotorAbortJoggingRequest.pb-c.c | 92 ++++++ .../Diagnostics/MotorAbortJoggingRequest.pb-c.h | 72 +++++ .../Diagnostics/MotorAbortJoggingResponse.pb-c.c | 92 ++++++ .../Diagnostics/MotorAbortJoggingResponse.pb-c.h | 72 +++++ .../PMR/Diagnostics/MotorDirection.pb-c.c | 37 +++ .../PMR/Diagnostics/MotorDirection.pb-c.h | 43 +++ .../PMR/Diagnostics/MotorHomingRequest.pb-c.c | 105 ++++++ .../PMR/Diagnostics/MotorHomingRequest.pb-c.h | 74 +++++ .../PMR/Diagnostics/MotorHomingResponse.pb-c.c | 105 ++++++ .../PMR/Diagnostics/MotorHomingResponse.pb-c.h | 74 +++++ .../PMR/Diagnostics/MotorJoggingRequest.pb-c.c | 118 +++++++ .../PMR/Diagnostics/MotorJoggingRequest.pb-c.h | 77 +++++ .../PMR/Diagnostics/MotorJoggingResponse.pb-c.c | 72 +++++ .../PMR/Diagnostics/MotorJoggingResponse.pb-c.h | 70 ++++ .../PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c | 162 +++++++++- .../PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h | 24 +- .../PMR/Diagnostics/SetDigitalOutRequest.pb-c.c | 105 ++++++ .../PMR/Diagnostics/SetDigitalOutRequest.pb-c.h | 74 +++++ .../PMR/Diagnostics/SetDigitalOutResponse.pb-c.c | 72 +++++ .../PMR/Diagnostics/SetDigitalOutResponse.pb-c.h | 70 ++++ .../Diagnostics/ThreadAbortJoggingRequest.pb-c.c | 72 +++++ .../Diagnostics/ThreadAbortJoggingRequest.pb-c.h | 70 ++++ .../Diagnostics/ThreadAbortJoggingResponse.pb-c.c | 72 +++++ .../Diagnostics/ThreadAbortJoggingResponse.pb-c.h | 70 ++++ .../PMR/Diagnostics/ThreadJoggingRequest.pb-c.c | 106 +++++++ .../PMR/Diagnostics/ThreadJoggingRequest.pb-c.h | 75 +++++ .../PMR/Diagnostics/ThreadJoggingResponse.pb-c.c | 72 +++++ .../PMR/Diagnostics/ThreadJoggingResponse.pb-c.h | 70 ++++ .../Native/Tango.ColorLib/Tango.ColorLib.vcxproj | 14 +- .../Tango.ColorLib/Tango.ColorLib.vcxproj.filters | 42 ++- 81 files changed, 5614 insertions(+), 979 deletions(-) delete mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c delete mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h delete mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c delete mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.h create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.c create mode 100644 Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.h (limited to 'Software/Visual_Studio/Native') diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp index 6dfb3c5b1..77c82573d 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp +++ b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp @@ -4,8 +4,11 @@ #include "PMR\ColorLab/ColorSpace.pb-c.h" #include "PMR\ColorLab/ConversionInput.pb-c.h" #include "PMR\ColorLab/ConversionOutput.pb-c.h" -#include "PMR\ColorLab/InputColor.pb-c.h" -#include "PMR\ColorLab/OutputColor.pb-c.h" +#include "PMR\ColorLab/InputCoordinates.pb-c.h" +#include "PMR\ColorLab/OutputCoordinates.pb-c.h" +#include "PMR\ColorLab/OutputLiquid.pb-c.h" +#include "PMR\ColorLab/InputLiquid.pb-c.h" +#include "PMR\ColorLab/LiquidType.pb-c.h" Tango::ColorLib::ColorConverter::ColorConverter() { @@ -18,84 +21,146 @@ Tango::ColorLib::ColorConverter::~ColorConverter() } -size_t Tango::ColorLib::ColorConverter::ForwardConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer) +size_t Tango::ColorLib::ColorConverter::Convert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer) { - //Get Input... - ConversionInput* input = conversion_input__unpack(NULL, input_buffer_size, input_buffer); + //Unpack conversion input... + ConversionInput* conversionInput = conversion_input__unpack(NULL, input_buffer_size, input_buffer); //Initialize Output... + ConversionOutput conversionOutput = CONVERSION_OUTPUT__INIT; - ConversionOutput output = CONVERSION_OUTPUT__INIT; - - //How To Fill... - - int suggestion_count = 3; - - OutputColor** suggestions = (OutputColor**)malloc(sizeof(OutputColor*) * suggestion_count); - - for (size_t i = 0; i < suggestion_count; i++) + //The request is for RGB to Volume... + if (conversionInput->colorspace == COLOR_SPACE__RGB) { - OutputColor* color = (OutputColor*)malloc(sizeof(OutputColor)); - output_color__init(color); - - color->red = 1; - color->green = 2; - color->blue = 3; - - color->has_red = true; - color->has_green = true; - color->has_blue = true; - - suggestions[i] = color; + //Get RGB values... + int r = conversionInput->inputcoordinates->red; + int g = conversionInput->inputcoordinates->green; + int b = conversionInput->inputcoordinates->blue; + + //iterate over input liquids... + for (size_t i = 0; i < conversionInput->inputcoordinates->n_inputliquids; i++) + { + InputLiquid* inputLiquid = conversionInput->inputcoordinates->inputliquids[i]; + + //Get cyan liquid for example... + if (inputLiquid->liquidtype == LIQUID_TYPE__Cyan) + { + //Get liquid max nl per cm. + double maxNlPerCM = inputLiquid->maxnanoliterpercentimeter; + + //Get liquid calibration data. + CalibrationData* calibrationData = inputLiquid->calibrationdata; + + //Iterate over calibration points.. + for (size_t j = 0; j < calibrationData->n_calibrationpoints; j++) + { + //Calibration Point + CalibrationPoint* point = calibrationData->calibrationpoints[j]; + + double x = point->x; + double y = point->y; + } + } + } + + //Set conversion output with proper volumes... + + //Set Cyan liquid volume... + OutputLiquid cyanLiquid = OUTPUT_LIQUID__INIT; + cyanLiquid.has_volume = true; + cyanLiquid.has_liquidtype = true; + cyanLiquid.liquidtype = LIQUID_TYPE__Cyan; + cyanLiquid.volume = 20; + + //Set Magenta liquid volume... + OutputLiquid magentaLiquid = OUTPUT_LIQUID__INIT; + magentaLiquid.has_volume = true; + magentaLiquid.has_liquidtype = true; + magentaLiquid.liquidtype = LIQUID_TYPE__Magenta; + magentaLiquid.volume = 30; + + OutputLiquid** outputLiquids = (OutputLiquid**)malloc(sizeof(OutputLiquid*) * 2); + + //Add cyan and magenta to output liquids array. + outputLiquids[0] = &cyanLiquid; + outputLiquids[1] = &magentaLiquid; + + conversionOutput.singlecoordinates->outputliquids = outputLiquids; } - output.suggestions = suggestions; - output.n_suggestions = suggestion_count; - - //Generate Output... - - output_buffer = (uint8_t*)malloc(conversion_output__get_packed_size(&output)); - - return conversion_output__pack(&output, output_buffer); -} - - - -size_t Tango::ColorLib::ColorConverter::InverseConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer) -{ - //Get Input... - ConversionInput* input = conversion_input__unpack(NULL, input_buffer_size, input_buffer); - - //Initialize Output... - - ConversionOutput output = CONVERSION_OUTPUT__INIT; - - //How To Fill... - - int suggestion_count = 3; - - OutputColor** suggestions = (OutputColor**)malloc(sizeof(OutputColor*) * suggestion_count); - - for (size_t i = 0; i < suggestion_count; i++) + //The request is for volumes to RGB... + else if (conversionInput->colorspace = COLOR_SPACE__Volume) { - OutputColor* color = (OutputColor*)malloc(sizeof(OutputColor)); - output_color__init(color); - - color->red = 1; - color->green = 2; - color->blue = 3; - - suggestions[i] = color; + //iterate over input liquids... + for (size_t i = 0; i < conversionInput->inputcoordinates->n_inputliquids; i++) + { + InputLiquid* inputLiquid = conversionInput->inputcoordinates->inputliquids[i]; + + //Get cyan liquid for example... + if (inputLiquid->liquidtype == LIQUID_TYPE__Cyan) + { + //Get liquid max nl per cm. + double maxNlPerCM = inputLiquid->maxnanoliterpercentimeter; + + //Get liquid volume. + double volume = inputLiquid->volume; + + //Get liquid calibration data. + CalibrationData* calibrationData = inputLiquid->calibrationdata; + + //Iterate over calibration points.. + for (size_t j = 0; j < calibrationData->n_calibrationpoints; j++) + { + //Calibration Point + CalibrationPoint* point = calibrationData->calibrationpoints[j]; + + double x = point->x; + double y = point->y; + } + } + else if (inputLiquid->liquidtype == LIQUID_TYPE__Magenta) + { + //Same as above... + } + } + + //Set conversion output (single) with proper RGB values... + OutputCoordinates outputCoords = OUTPUT_COORDINATES__INIT; + outputCoords.has_red = true; + outputCoords.has_green = true; + outputCoords.has_blue = true; + outputCoords.red = 50; + outputCoords.green = 100; + outputCoords.blue = 150; + + conversionOutput.singlecoordinates = &outputCoords; + + //Set conversion output (hive) with proper RGB values... + + int hiveCellCount = 10; + + OutputCoordinates** hiveCoordinates = (OutputCoordinates**)malloc(sizeof(OutputCoordinates*) * hiveCellCount); + + for (size_t i = 0; i < hiveCellCount; i++) + { + OutputCoordinates cellCoords = OUTPUT_COORDINATES__INIT; + cellCoords.has_red = true; + cellCoords.has_green = true; + cellCoords.has_blue = true; + cellCoords.red = 10; + cellCoords.green = 20; + cellCoords.blue = 30; + + hiveCoordinates[i] = &cellCoords; + } + + conversionOutput.hivecoordinates = hiveCoordinates; } - output.suggestions = suggestions; - output.n_suggestions = suggestion_count; - - //Generate Output... - - output_buffer = (uint8_t*)malloc(conversion_output__get_packed_size(&output)); + //Pack output... + output_buffer = (uint8_t*)malloc(conversion_output__get_packed_size(&conversionOutput)); - return conversion_output__pack(&output, output_buffer); + return conversion_output__pack(&conversionOutput, output_buffer); } diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h index 97995340d..165f7f733 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h @@ -11,8 +11,7 @@ namespace Tango public: ColorConverter(); ~ColorConverter(); - size_t ForwardConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer); - size_t InverseConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer); + size_t Convert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer); }; } } diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp b/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp index 27790818b..db94a6609 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp +++ b/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp @@ -19,12 +19,6 @@ extern "C" EXPORT_API size_t __cdecl Calculate(uint8_t* request_buffer, size_t r extern "C" EXPORT_API size_t __cdecl ForwardConvert(uint8_t* input_buffer, size_t input_buffer_size, uint8_t*& output_buffer) { ColorConverter converter; - return converter.ForwardConvert(input_buffer, input_buffer_size, output_buffer); -} - -extern "C" EXPORT_API size_t __cdecl InverseConvert(uint8_t* input_buffer, size_t input_buffer_size, uint8_t*& output_buffer) -{ - ColorConverter converter; - return converter.InverseConvert(input_buffer, input_buffer_size, output_buffer); + return converter.Convert(input_buffer, input_buffer_size, output_buffer); } diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.c index 16d4bba56..981988d99 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.c @@ -52,11 +52,23 @@ void calibration_data__free_unpacked assert(message->base.descriptor == &calibration_data__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor calibration_data__field_descriptors[1] = +static const ProtobufCFieldDescriptor calibration_data__field_descriptors[2] = { { - "CalibrationPoints", + "LiquidType", 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(CalibrationData, has_liquidtype), + offsetof(CalibrationData, liquidtype), + &liquid_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "CalibrationPoints", + 2, PROTOBUF_C_LABEL_REPEATED, PROTOBUF_C_TYPE_MESSAGE, offsetof(CalibrationData, n_calibrationpoints), @@ -68,12 +80,13 @@ static const ProtobufCFieldDescriptor calibration_data__field_descriptors[1] = }, }; static const unsigned calibration_data__field_indices_by_name[] = { - 0, /* field[0] = CalibrationPoints */ + 1, /* field[1] = CalibrationPoints */ + 0, /* field[0] = LiquidType */ }; static const ProtobufCIntRange calibration_data__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; const ProtobufCMessageDescriptor calibration_data__descriptor = { @@ -83,7 +96,7 @@ const ProtobufCMessageDescriptor calibration_data__descriptor = "CalibrationData", "", sizeof(CalibrationData), - 1, + 2, calibration_data__field_descriptors, calibration_data__field_indices_by_name, 1, calibration_data__number_ranges, diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.h index 993056a04..ccecc327e 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationData.pb-c.h @@ -15,6 +15,7 @@ PROTOBUF_C__BEGIN_DECLS #endif #include "CalibrationPoint.pb-c.h" +#include "LiquidType.pb-c.h" typedef struct _CalibrationData CalibrationData; @@ -27,12 +28,14 @@ typedef struct _CalibrationData CalibrationData; struct _CalibrationData { ProtobufCMessage base; + protobuf_c_boolean has_liquidtype; + LiquidType liquidtype; size_t n_calibrationpoints; CalibrationPoint **calibrationpoints; }; #define CALIBRATION_DATA__INIT \ { PROTOBUF_C_MESSAGE_INIT (&calibration_data__descriptor) \ - , 0,NULL } + , 0, LIQUID_TYPE__Cyan, 0,NULL } /* CalibrationData methods */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c index 7fbeb8d03..a6221c8ba 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c @@ -91,20 +91,32 @@ static const ProtobufCFieldDescriptor conversion_input__field_descriptors[8] = 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "Input", + "ColorSpace", 4, PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(ConversionInput, has_colorspace), + offsetof(ConversionInput, colorspace), + &color_space__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "InputCoordinates", + 5, + PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(ConversionInput, input), - &input_color__descriptor, + offsetof(ConversionInput, inputcoordinates), + &input_coordinates__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "ForwardData", - 5, + 6, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BYTES, offsetof(ConversionInput, has_forwarddata), @@ -116,7 +128,7 @@ static const ProtobufCFieldDescriptor conversion_input__field_descriptors[8] = }, { "InverseData", - 6, + 7, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BYTES, offsetof(ConversionInput, has_inversedata), @@ -126,18 +138,6 @@ static const ProtobufCFieldDescriptor conversion_input__field_descriptors[8] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, - { - "CalibrationData", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(ConversionInput, calibrationdata), - &calibration_data__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, { "SegmentLength", 8, @@ -152,10 +152,10 @@ static const ProtobufCFieldDescriptor conversion_input__field_descriptors[8] = }, }; static const unsigned conversion_input__field_indices_by_name[] = { - 6, /* field[6] = CalibrationData */ - 4, /* field[4] = ForwardData */ - 3, /* field[3] = Input */ - 5, /* field[5] = InverseData */ + 3, /* field[3] = ColorSpace */ + 5, /* field[5] = ForwardData */ + 4, /* field[4] = InputCoordinates */ + 6, /* field[6] = InverseData */ 7, /* field[7] = SegmentLength */ 1, /* field[1] = ThreadA */ 2, /* field[2] = ThreadB */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h index 101f82b7d..6b929033a 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h @@ -14,8 +14,8 @@ PROTOBUF_C__BEGIN_DECLS # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif -#include "InputColor.pb-c.h" -#include "CalibrationData.pb-c.h" +#include "InputCoordinates.pb-c.h" +#include "ColorSpace.pb-c.h" typedef struct _ConversionInput ConversionInput; @@ -34,18 +34,19 @@ struct _ConversionInput double threada; protobuf_c_boolean has_threadb; double threadb; - InputColor *input; + protobuf_c_boolean has_colorspace; + ColorSpace colorspace; + InputCoordinates *inputcoordinates; protobuf_c_boolean has_forwarddata; ProtobufCBinaryData forwarddata; protobuf_c_boolean has_inversedata; ProtobufCBinaryData inversedata; - CalibrationData *calibrationdata; protobuf_c_boolean has_segmentlength; double segmentlength; }; #define CONVERSION_INPUT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&conversion_input__descriptor) \ - , 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0 } + , 0, 0, 0, 0, 0, 0, 0, COLOR_SPACE__Volume, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, 0 } /* ConversionInput methods */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c index 224f4c973..bfc40f0a3 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c @@ -52,23 +52,47 @@ void conversion_output__free_unpacked assert(message->base.descriptor == &conversion_output__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor conversion_output__field_descriptors[2] = +static const ProtobufCFieldDescriptor conversion_output__field_descriptors[4] = { { - "Suggestions", + "HiveCoordinates", 1, PROTOBUF_C_LABEL_REPEATED, PROTOBUF_C_TYPE_MESSAGE, - offsetof(ConversionOutput, n_suggestions), - offsetof(ConversionOutput, suggestions), - &output_color__descriptor, + offsetof(ConversionOutput, n_hivecoordinates), + offsetof(ConversionOutput, hivecoordinates), + &output_coordinates__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "OutOfGamut", + "TripleCoordinates", 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(ConversionOutput, n_triplecoordinates), + offsetof(ConversionOutput, triplecoordinates), + &output_coordinates__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "SingleCoordinates", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(ConversionOutput, singlecoordinates), + &output_coordinates__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "OutOfGamut", + 5, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BOOL, offsetof(ConversionOutput, has_outofgamut), @@ -80,13 +104,16 @@ static const ProtobufCFieldDescriptor conversion_output__field_descriptors[2] = }, }; static const unsigned conversion_output__field_indices_by_name[] = { - 1, /* field[1] = OutOfGamut */ - 0, /* field[0] = Suggestions */ + 0, /* field[0] = HiveCoordinates */ + 3, /* field[3] = OutOfGamut */ + 2, /* field[2] = SingleCoordinates */ + 1, /* field[1] = TripleCoordinates */ }; -static const ProtobufCIntRange conversion_output__number_ranges[1 + 1] = +static const ProtobufCIntRange conversion_output__number_ranges[2 + 1] = { { 1, 0 }, - { 0, 2 } + { 5, 3 }, + { 0, 4 } }; const ProtobufCMessageDescriptor conversion_output__descriptor = { @@ -96,10 +123,10 @@ const ProtobufCMessageDescriptor conversion_output__descriptor = "ConversionOutput", "", sizeof(ConversionOutput), - 2, + 4, conversion_output__field_descriptors, conversion_output__field_indices_by_name, - 1, conversion_output__number_ranges, + 2, conversion_output__number_ranges, (ProtobufCMessageInit) conversion_output__init, NULL,NULL,NULL /* reserved[123] */ }; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h index 7830ec580..0c58721db 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h @@ -14,7 +14,7 @@ PROTOBUF_C__BEGIN_DECLS # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif -#include "OutputColor.pb-c.h" +#include "OutputCoordinates.pb-c.h" typedef struct _ConversionOutput ConversionOutput; @@ -27,14 +27,17 @@ typedef struct _ConversionOutput ConversionOutput; struct _ConversionOutput { ProtobufCMessage base; - size_t n_suggestions; - OutputColor **suggestions; + size_t n_hivecoordinates; + OutputCoordinates **hivecoordinates; + size_t n_triplecoordinates; + OutputCoordinates **triplecoordinates; + OutputCoordinates *singlecoordinates; protobuf_c_boolean has_outofgamut; protobuf_c_boolean outofgamut; }; #define CONVERSION_OUTPUT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&conversion_output__descriptor) \ - , 0,NULL, 0, 0 } + , 0,NULL, 0,NULL, NULL, 0, 0 } /* ConversionOutput methods */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c deleted file mode 100644 index 2e5424bd8..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c +++ /dev/null @@ -1,352 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: InputColor.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "InputColor.pb-c.h" -void input_color__init - (InputColor *message) -{ - static const InputColor init_value = INPUT_COLOR__INIT; - *message = init_value; -} -size_t input_color__get_packed_size - (const InputColor *message) -{ - assert(message->base.descriptor == &input_color__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t input_color__pack - (const InputColor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &input_color__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t input_color__pack_to_buffer - (const InputColor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &input_color__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -InputColor * - input_color__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (InputColor *) - protobuf_c_message_unpack (&input_color__descriptor, - allocator, len, data); -} -void input_color__free_unpacked - (InputColor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &input_color__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor input_color__field_descriptors[21] = -{ - { - "ColorSpace", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(InputColor, has_colorspace), - offsetof(InputColor, colorspace), - &color_space__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Length", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_length), - offsetof(InputColor, length), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Red", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(InputColor, has_red), - offsetof(InputColor, red), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Green", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(InputColor, has_green), - offsetof(InputColor, green), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Blue", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(InputColor, has_blue), - offsetof(InputColor, blue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Cyan", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_cyan), - offsetof(InputColor, cyan), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Magenta", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_magenta), - offsetof(InputColor, magenta), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Yellow", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_yellow), - offsetof(InputColor, yellow), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Black", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_black), - offsetof(InputColor, black), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "L", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_l), - offsetof(InputColor, l), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "A", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_a), - offsetof(InputColor, a), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "B", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_b), - offsetof(InputColor, b), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CV", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_cv), - offsetof(InputColor, cv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MV", - 14, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_mv), - offsetof(InputColor, mv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "YV", - 15, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_yv), - offsetof(InputColor, yv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "KV", - 16, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_kv), - offsetof(InputColor, kv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V4", - 17, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_v4), - offsetof(InputColor, v4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V5", - 18, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_v5), - offsetof(InputColor, v5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V6", - 19, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_v6), - offsetof(InputColor, v6), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V7", - 20, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(InputColor, has_v7), - offsetof(InputColor, v7), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "PantonCode", - 21, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(InputColor, has_pantoncode), - offsetof(InputColor, pantoncode), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned input_color__field_indices_by_name[] = { - 10, /* field[10] = A */ - 11, /* field[11] = B */ - 8, /* field[8] = Black */ - 4, /* field[4] = Blue */ - 12, /* field[12] = CV */ - 0, /* field[0] = ColorSpace */ - 5, /* field[5] = Cyan */ - 3, /* field[3] = Green */ - 15, /* field[15] = KV */ - 9, /* field[9] = L */ - 1, /* field[1] = Length */ - 13, /* field[13] = MV */ - 6, /* field[6] = Magenta */ - 20, /* field[20] = PantonCode */ - 2, /* field[2] = Red */ - 16, /* field[16] = V4 */ - 17, /* field[17] = V5 */ - 18, /* field[18] = V6 */ - 19, /* field[19] = V7 */ - 14, /* field[14] = YV */ - 7, /* field[7] = Yellow */ -}; -static const ProtobufCIntRange input_color__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 21 } -}; -const ProtobufCMessageDescriptor input_color__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "InputColor", - "InputColor", - "InputColor", - "", - sizeof(InputColor), - 21, - input_color__field_descriptors, - input_color__field_indices_by_name, - 1, input_color__number_ranges, - (ProtobufCMessageInit) input_color__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h deleted file mode 100644 index d9f67383a..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h +++ /dev/null @@ -1,113 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: InputColor.proto */ - -#ifndef PROTOBUF_C_InputColor_2eproto__INCLUDED -#define PROTOBUF_C_InputColor_2eproto__INCLUDED - -#include - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - -#include "ColorSpace.pb-c.h" - -typedef struct _InputColor InputColor; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _InputColor -{ - ProtobufCMessage base; - protobuf_c_boolean has_colorspace; - ColorSpace colorspace; - protobuf_c_boolean has_length; - double length; - protobuf_c_boolean has_red; - int32_t red; - protobuf_c_boolean has_green; - int32_t green; - protobuf_c_boolean has_blue; - int32_t blue; - protobuf_c_boolean has_cyan; - double cyan; - protobuf_c_boolean has_magenta; - double magenta; - protobuf_c_boolean has_yellow; - double yellow; - protobuf_c_boolean has_black; - double black; - protobuf_c_boolean has_l; - double l; - protobuf_c_boolean has_a; - double a; - protobuf_c_boolean has_b; - double b; - protobuf_c_boolean has_cv; - double cv; - protobuf_c_boolean has_mv; - double mv; - protobuf_c_boolean has_yv; - double yv; - protobuf_c_boolean has_kv; - double kv; - protobuf_c_boolean has_v4; - double v4; - protobuf_c_boolean has_v5; - double v5; - protobuf_c_boolean has_v6; - double v6; - protobuf_c_boolean has_v7; - double v7; - protobuf_c_boolean has_pantoncode; - int32_t pantoncode; -}; -#define INPUT_COLOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&input_color__descriptor) \ - , 0, COLOR_SPACE__Volume, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* InputColor methods */ -void input_color__init - (InputColor *message); -size_t input_color__get_packed_size - (const InputColor *message); -size_t input_color__pack - (const InputColor *message, - uint8_t *out); -size_t input_color__pack_to_buffer - (const InputColor *message, - ProtobufCBuffer *buffer); -InputColor * - input_color__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void input_color__free_unpacked - (InputColor *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*InputColor_Closure) - (const InputColor *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor input_color__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_InputColor_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.c new file mode 100644 index 000000000..a12759a89 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.c @@ -0,0 +1,248 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: InputCoordinates.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "InputCoordinates.pb-c.h" +void input_coordinates__init + (InputCoordinates *message) +{ + static const InputCoordinates init_value = INPUT_COORDINATES__INIT; + *message = init_value; +} +size_t input_coordinates__get_packed_size + (const InputCoordinates *message) +{ + assert(message->base.descriptor == &input_coordinates__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t input_coordinates__pack + (const InputCoordinates *message, + uint8_t *out) +{ + assert(message->base.descriptor == &input_coordinates__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t input_coordinates__pack_to_buffer + (const InputCoordinates *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &input_coordinates__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +InputCoordinates * + input_coordinates__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (InputCoordinates *) + protobuf_c_message_unpack (&input_coordinates__descriptor, + allocator, len, data); +} +void input_coordinates__free_unpacked + (InputCoordinates *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &input_coordinates__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor input_coordinates__field_descriptors[13] = +{ + { + "Length", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_length), + offsetof(InputCoordinates, length), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Red", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(InputCoordinates, has_red), + offsetof(InputCoordinates, red), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Green", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(InputCoordinates, has_green), + offsetof(InputCoordinates, green), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Blue", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(InputCoordinates, has_blue), + offsetof(InputCoordinates, blue), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Cyan", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_cyan), + offsetof(InputCoordinates, cyan), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Magenta", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_magenta), + offsetof(InputCoordinates, magenta), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Yellow", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_yellow), + offsetof(InputCoordinates, yellow), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Key", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_key), + offsetof(InputCoordinates, key), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "L", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_l), + offsetof(InputCoordinates, l), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "A", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_a), + offsetof(InputCoordinates, a), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "B", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputCoordinates, has_b), + offsetof(InputCoordinates, b), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "PantonCode", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(InputCoordinates, has_pantoncode), + offsetof(InputCoordinates, pantoncode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "InputLiquids", + 13, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(InputCoordinates, n_inputliquids), + offsetof(InputCoordinates, inputliquids), + &input_liquid__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned input_coordinates__field_indices_by_name[] = { + 9, /* field[9] = A */ + 10, /* field[10] = B */ + 3, /* field[3] = Blue */ + 4, /* field[4] = Cyan */ + 2, /* field[2] = Green */ + 12, /* field[12] = InputLiquids */ + 7, /* field[7] = Key */ + 8, /* field[8] = L */ + 0, /* field[0] = Length */ + 5, /* field[5] = Magenta */ + 11, /* field[11] = PantonCode */ + 1, /* field[1] = Red */ + 6, /* field[6] = Yellow */ +}; +static const ProtobufCIntRange input_coordinates__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 13 } +}; +const ProtobufCMessageDescriptor input_coordinates__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "InputCoordinates", + "InputCoordinates", + "InputCoordinates", + "", + sizeof(InputCoordinates), + 13, + input_coordinates__field_descriptors, + input_coordinates__field_indices_by_name, + 1, input_coordinates__number_ranges, + (ProtobufCMessageInit) input_coordinates__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.h new file mode 100644 index 000000000..0b159cd59 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputCoordinates.pb-c.h @@ -0,0 +1,97 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: InputCoordinates.proto */ + +#ifndef PROTOBUF_C_InputCoordinates_2eproto__INCLUDED +#define PROTOBUF_C_InputCoordinates_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "InputLiquid.pb-c.h" + +typedef struct _InputCoordinates InputCoordinates; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _InputCoordinates +{ + ProtobufCMessage base; + protobuf_c_boolean has_length; + double length; + protobuf_c_boolean has_red; + int32_t red; + protobuf_c_boolean has_green; + int32_t green; + protobuf_c_boolean has_blue; + int32_t blue; + protobuf_c_boolean has_cyan; + double cyan; + protobuf_c_boolean has_magenta; + double magenta; + protobuf_c_boolean has_yellow; + double yellow; + protobuf_c_boolean has_key; + double key; + protobuf_c_boolean has_l; + double l; + protobuf_c_boolean has_a; + double a; + protobuf_c_boolean has_b; + double b; + protobuf_c_boolean has_pantoncode; + int32_t pantoncode; + size_t n_inputliquids; + InputLiquid **inputliquids; +}; +#define INPUT_COORDINATES__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&input_coordinates__descriptor) \ + , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,NULL } + + +/* InputCoordinates methods */ +void input_coordinates__init + (InputCoordinates *message); +size_t input_coordinates__get_packed_size + (const InputCoordinates *message); +size_t input_coordinates__pack + (const InputCoordinates *message, + uint8_t *out); +size_t input_coordinates__pack_to_buffer + (const InputCoordinates *message, + ProtobufCBuffer *buffer); +InputCoordinates * + input_coordinates__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void input_coordinates__free_unpacked + (InputCoordinates *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*InputCoordinates_Closure) + (const InputCoordinates *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor input_coordinates__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_InputCoordinates_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.c new file mode 100644 index 000000000..2d033e2a1 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.c @@ -0,0 +1,131 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: InputLiquid.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "InputLiquid.pb-c.h" +void input_liquid__init + (InputLiquid *message) +{ + static const InputLiquid init_value = INPUT_LIQUID__INIT; + *message = init_value; +} +size_t input_liquid__get_packed_size + (const InputLiquid *message) +{ + assert(message->base.descriptor == &input_liquid__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t input_liquid__pack + (const InputLiquid *message, + uint8_t *out) +{ + assert(message->base.descriptor == &input_liquid__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t input_liquid__pack_to_buffer + (const InputLiquid *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &input_liquid__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +InputLiquid * + input_liquid__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (InputLiquid *) + protobuf_c_message_unpack (&input_liquid__descriptor, + allocator, len, data); +} +void input_liquid__free_unpacked + (InputLiquid *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &input_liquid__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor input_liquid__field_descriptors[4] = +{ + { + "LiquidType", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(InputLiquid, has_liquidtype), + offsetof(InputLiquid, liquidtype), + &liquid_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "CalibrationData", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(InputLiquid, calibrationdata), + &calibration_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "MaxNanoliterPerCentimeter", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputLiquid, has_maxnanoliterpercentimeter), + offsetof(InputLiquid, maxnanoliterpercentimeter), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Volume", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(InputLiquid, has_volume), + offsetof(InputLiquid, volume), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned input_liquid__field_indices_by_name[] = { + 1, /* field[1] = CalibrationData */ + 0, /* field[0] = LiquidType */ + 2, /* field[2] = MaxNanoliterPerCentimeter */ + 3, /* field[3] = Volume */ +}; +static const ProtobufCIntRange input_liquid__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor input_liquid__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "InputLiquid", + "InputLiquid", + "InputLiquid", + "", + sizeof(InputLiquid), + 4, + input_liquid__field_descriptors, + input_liquid__field_indices_by_name, + 1, input_liquid__number_ranges, + (ProtobufCMessageInit) input_liquid__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.h new file mode 100644 index 000000000..c2a47b166 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputLiquid.pb-c.h @@ -0,0 +1,79 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: InputLiquid.proto */ + +#ifndef PROTOBUF_C_InputLiquid_2eproto__INCLUDED +#define PROTOBUF_C_InputLiquid_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "LiquidType.pb-c.h" +#include "CalibrationData.pb-c.h" + +typedef struct _InputLiquid InputLiquid; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _InputLiquid +{ + ProtobufCMessage base; + protobuf_c_boolean has_liquidtype; + LiquidType liquidtype; + CalibrationData *calibrationdata; + protobuf_c_boolean has_maxnanoliterpercentimeter; + double maxnanoliterpercentimeter; + protobuf_c_boolean has_volume; + double volume; +}; +#define INPUT_LIQUID__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&input_liquid__descriptor) \ + , 0, LIQUID_TYPE__Cyan, NULL, 0, 0, 0, 0 } + + +/* InputLiquid methods */ +void input_liquid__init + (InputLiquid *message); +size_t input_liquid__get_packed_size + (const InputLiquid *message); +size_t input_liquid__pack + (const InputLiquid *message, + uint8_t *out); +size_t input_liquid__pack_to_buffer + (const InputLiquid *message, + ProtobufCBuffer *buffer); +InputLiquid * + input_liquid__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void input_liquid__free_unpacked + (InputLiquid *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*InputLiquid_Closure) + (const InputLiquid *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor input_liquid__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_InputLiquid_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c new file mode 100644 index 000000000..10b061dd6 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.c @@ -0,0 +1,43 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: LiquidType.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "LiquidType.pb-c.h" +static const ProtobufCEnumValue liquid_type__enum_values_by_number[5] = +{ + { "Cyan", "LIQUID_TYPE__Cyan", 0 }, + { "Magenta", "LIQUID_TYPE__Magenta", 1 }, + { "Yellow", "LIQUID_TYPE__Yellow", 2 }, + { "Black", "LIQUID_TYPE__Black", 3 }, + { "TransparentInk", "LIQUID_TYPE__TransparentInk", 4 }, +}; +static const ProtobufCIntRange liquid_type__value_ranges[] = { +{0, 0},{0, 5} +}; +static const ProtobufCEnumValueIndex liquid_type__enum_values_by_name[5] = +{ + { "Black", 3 }, + { "Cyan", 0 }, + { "Magenta", 1 }, + { "TransparentInk", 4 }, + { "Yellow", 2 }, +}; +const ProtobufCEnumDescriptor liquid_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "LiquidType", + "LiquidType", + "LiquidType", + "", + 5, + liquid_type__enum_values_by_number, + 5, + liquid_type__enum_values_by_name, + 1, + liquid_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h new file mode 100644 index 000000000..3559cc09c --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/LiquidType.pb-c.h @@ -0,0 +1,46 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: LiquidType.proto */ + +#ifndef PROTOBUF_C_LiquidType_2eproto__INCLUDED +#define PROTOBUF_C_LiquidType_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + + + +/* --- enums --- */ + +typedef enum _LiquidType { + LIQUID_TYPE__Cyan = 0, + LIQUID_TYPE__Magenta = 1, + LIQUID_TYPE__Yellow = 2, + LIQUID_TYPE__Black = 3, + LIQUID_TYPE__TransparentInk = 4 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LIQUID_TYPE) +} LiquidType; + +/* --- messages --- */ + +/* --- per-message closures --- */ + + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCEnumDescriptor liquid_type__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_LiquidType_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c deleted file mode 100644 index 35d507fac..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c +++ /dev/null @@ -1,248 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: OutputColor.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "OutputColor.pb-c.h" -void output_color__init - (OutputColor *message) -{ - static const OutputColor init_value = OUTPUT_COLOR__INIT; - *message = init_value; -} -size_t output_color__get_packed_size - (const OutputColor *message) -{ - assert(message->base.descriptor == &output_color__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t output_color__pack - (const OutputColor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &output_color__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t output_color__pack_to_buffer - (const OutputColor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &output_color__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -OutputColor * - output_color__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (OutputColor *) - protobuf_c_message_unpack (&output_color__descriptor, - allocator, len, data); -} -void output_color__free_unpacked - (OutputColor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &output_color__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor output_color__field_descriptors[13] = -{ - { - "Red", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(OutputColor, has_red), - offsetof(OutputColor, red), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Green", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(OutputColor, has_green), - offsetof(OutputColor, green), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Blue", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(OutputColor, has_blue), - offsetof(OutputColor, blue), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "CV", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_cv), - offsetof(OutputColor, cv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "MV", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_mv), - offsetof(OutputColor, mv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "YV", - 6, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_yv), - offsetof(OutputColor, yv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "KV", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_kv), - offsetof(OutputColor, kv), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V4", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_v4), - offsetof(OutputColor, v4), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V5", - 9, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_v5), - offsetof(OutputColor, v5), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V6", - 10, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_v6), - offsetof(OutputColor, v6), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "V7", - 11, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_v7), - offsetof(OutputColor, v7), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "Length", - 12, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_DOUBLE, - offsetof(OutputColor, has_length), - offsetof(OutputColor, length), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ProcessParametersTableIndex", - 13, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(OutputColor, has_processparameterstableindex), - offsetof(OutputColor, processparameterstableindex), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned output_color__field_indices_by_name[] = { - 2, /* field[2] = Blue */ - 3, /* field[3] = CV */ - 1, /* field[1] = Green */ - 6, /* field[6] = KV */ - 11, /* field[11] = Length */ - 4, /* field[4] = MV */ - 12, /* field[12] = ProcessParametersTableIndex */ - 0, /* field[0] = Red */ - 7, /* field[7] = V4 */ - 8, /* field[8] = V5 */ - 9, /* field[9] = V6 */ - 10, /* field[10] = V7 */ - 5, /* field[5] = YV */ -}; -static const ProtobufCIntRange output_color__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 13 } -}; -const ProtobufCMessageDescriptor output_color__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "OutputColor", - "OutputColor", - "OutputColor", - "", - sizeof(OutputColor), - 13, - output_color__field_descriptors, - output_color__field_indices_by_name, - 1, output_color__number_ranges, - (ProtobufCMessageInit) output_color__init, - NULL,NULL,NULL /* reserved[123] */ -}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h deleted file mode 100644 index 0c794c46c..000000000 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h +++ /dev/null @@ -1,96 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: OutputColor.proto */ - -#ifndef PROTOBUF_C_OutputColor_2eproto__INCLUDED -#define PROTOBUF_C_OutputColor_2eproto__INCLUDED - -#include - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. -#endif - - -typedef struct _OutputColor OutputColor; - - -/* --- enums --- */ - - -/* --- messages --- */ - -struct _OutputColor -{ - ProtobufCMessage base; - protobuf_c_boolean has_red; - int32_t red; - protobuf_c_boolean has_green; - int32_t green; - protobuf_c_boolean has_blue; - int32_t blue; - protobuf_c_boolean has_cv; - double cv; - protobuf_c_boolean has_mv; - double mv; - protobuf_c_boolean has_yv; - double yv; - protobuf_c_boolean has_kv; - double kv; - protobuf_c_boolean has_v4; - double v4; - protobuf_c_boolean has_v5; - double v5; - protobuf_c_boolean has_v6; - double v6; - protobuf_c_boolean has_v7; - double v7; - protobuf_c_boolean has_length; - double length; - protobuf_c_boolean has_processparameterstableindex; - int32_t processparameterstableindex; -}; -#define OUTPUT_COLOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&output_color__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -/* OutputColor methods */ -void output_color__init - (OutputColor *message); -size_t output_color__get_packed_size - (const OutputColor *message); -size_t output_color__pack - (const OutputColor *message, - uint8_t *out); -size_t output_color__pack_to_buffer - (const OutputColor *message, - ProtobufCBuffer *buffer); -OutputColor * - output_color__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void output_color__free_unpacked - (OutputColor *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*OutputColor_Closure) - (const OutputColor *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCMessageDescriptor output_color__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_OutputColor_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.c new file mode 100644 index 000000000..c41585415 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.c @@ -0,0 +1,144 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: OutputCoordinates.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "OutputCoordinates.pb-c.h" +void output_coordinates__init + (OutputCoordinates *message) +{ + static const OutputCoordinates init_value = OUTPUT_COORDINATES__INIT; + *message = init_value; +} +size_t output_coordinates__get_packed_size + (const OutputCoordinates *message) +{ + assert(message->base.descriptor == &output_coordinates__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t output_coordinates__pack + (const OutputCoordinates *message, + uint8_t *out) +{ + assert(message->base.descriptor == &output_coordinates__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t output_coordinates__pack_to_buffer + (const OutputCoordinates *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &output_coordinates__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +OutputCoordinates * + output_coordinates__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (OutputCoordinates *) + protobuf_c_message_unpack (&output_coordinates__descriptor, + allocator, len, data); +} +void output_coordinates__free_unpacked + (OutputCoordinates *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &output_coordinates__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor output_coordinates__field_descriptors[5] = +{ + { + "Red", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(OutputCoordinates, has_red), + offsetof(OutputCoordinates, red), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Green", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(OutputCoordinates, has_green), + offsetof(OutputCoordinates, green), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Blue", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(OutputCoordinates, has_blue), + offsetof(OutputCoordinates, blue), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "OutputLiquids", + 4, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(OutputCoordinates, n_outputliquids), + offsetof(OutputCoordinates, outputliquids), + &output_liquid__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ProcessParametersTableIndex", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(OutputCoordinates, has_processparameterstableindex), + offsetof(OutputCoordinates, processparameterstableindex), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned output_coordinates__field_indices_by_name[] = { + 2, /* field[2] = Blue */ + 1, /* field[1] = Green */ + 3, /* field[3] = OutputLiquids */ + 4, /* field[4] = ProcessParametersTableIndex */ + 0, /* field[0] = Red */ +}; +static const ProtobufCIntRange output_coordinates__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor output_coordinates__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "OutputCoordinates", + "OutputCoordinates", + "OutputCoordinates", + "", + sizeof(OutputCoordinates), + 5, + output_coordinates__field_descriptors, + output_coordinates__field_indices_by_name, + 1, output_coordinates__number_ranges, + (ProtobufCMessageInit) output_coordinates__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.h new file mode 100644 index 000000000..410f0660a --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputCoordinates.pb-c.h @@ -0,0 +1,81 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: OutputCoordinates.proto */ + +#ifndef PROTOBUF_C_OutputCoordinates_2eproto__INCLUDED +#define PROTOBUF_C_OutputCoordinates_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "OutputLiquid.pb-c.h" + +typedef struct _OutputCoordinates OutputCoordinates; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _OutputCoordinates +{ + ProtobufCMessage base; + protobuf_c_boolean has_red; + int32_t red; + protobuf_c_boolean has_green; + int32_t green; + protobuf_c_boolean has_blue; + int32_t blue; + size_t n_outputliquids; + OutputLiquid **outputliquids; + protobuf_c_boolean has_processparameterstableindex; + int32_t processparameterstableindex; +}; +#define OUTPUT_COORDINATES__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&output_coordinates__descriptor) \ + , 0, 0, 0, 0, 0, 0, 0,NULL, 0, 0 } + + +/* OutputCoordinates methods */ +void output_coordinates__init + (OutputCoordinates *message); +size_t output_coordinates__get_packed_size + (const OutputCoordinates *message); +size_t output_coordinates__pack + (const OutputCoordinates *message, + uint8_t *out); +size_t output_coordinates__pack_to_buffer + (const OutputCoordinates *message, + ProtobufCBuffer *buffer); +OutputCoordinates * + output_coordinates__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void output_coordinates__free_unpacked + (OutputCoordinates *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*OutputCoordinates_Closure) + (const OutputCoordinates *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor output_coordinates__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_OutputCoordinates_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.c new file mode 100644 index 000000000..73f47bb20 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.c @@ -0,0 +1,106 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: OutputLiquid.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "OutputLiquid.pb-c.h" +void output_liquid__init + (OutputLiquid *message) +{ + static const OutputLiquid init_value = OUTPUT_LIQUID__INIT; + *message = init_value; +} +size_t output_liquid__get_packed_size + (const OutputLiquid *message) +{ + assert(message->base.descriptor == &output_liquid__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t output_liquid__pack + (const OutputLiquid *message, + uint8_t *out) +{ + assert(message->base.descriptor == &output_liquid__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t output_liquid__pack_to_buffer + (const OutputLiquid *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &output_liquid__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +OutputLiquid * + output_liquid__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (OutputLiquid *) + protobuf_c_message_unpack (&output_liquid__descriptor, + allocator, len, data); +} +void output_liquid__free_unpacked + (OutputLiquid *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &output_liquid__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor output_liquid__field_descriptors[2] = +{ + { + "LiquidType", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(OutputLiquid, has_liquidtype), + offsetof(OutputLiquid, liquidtype), + &liquid_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Volume", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(OutputLiquid, has_volume), + offsetof(OutputLiquid, volume), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned output_liquid__field_indices_by_name[] = { + 0, /* field[0] = LiquidType */ + 1, /* field[1] = Volume */ +}; +static const ProtobufCIntRange output_liquid__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 4, 1 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor output_liquid__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "OutputLiquid", + "OutputLiquid", + "OutputLiquid", + "", + sizeof(OutputLiquid), + 2, + output_liquid__field_descriptors, + output_liquid__field_indices_by_name, + 2, output_liquid__number_ranges, + (ProtobufCMessageInit) output_liquid__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.h new file mode 100644 index 000000000..5401b8114 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputLiquid.pb-c.h @@ -0,0 +1,75 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: OutputLiquid.proto */ + +#ifndef PROTOBUF_C_OutputLiquid_2eproto__INCLUDED +#define PROTOBUF_C_OutputLiquid_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "LiquidType.pb-c.h" + +typedef struct _OutputLiquid OutputLiquid; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _OutputLiquid +{ + ProtobufCMessage base; + protobuf_c_boolean has_liquidtype; + LiquidType liquidtype; + protobuf_c_boolean has_volume; + double volume; +}; +#define OUTPUT_LIQUID__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&output_liquid__descriptor) \ + , 0, LIQUID_TYPE__Cyan, 0, 0 } + + +/* OutputLiquid methods */ +void output_liquid__init + (OutputLiquid *message); +size_t output_liquid__get_packed_size + (const OutputLiquid *message); +size_t output_liquid__pack + (const OutputLiquid *message, + uint8_t *out); +size_t output_liquid__pack_to_buffer + (const OutputLiquid *message, + ProtobufCBuffer *buffer); +OutputLiquid * + output_liquid__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void output_liquid__free_unpacked + (OutputLiquid *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*OutputLiquid_Closure) + (const OutputLiquid *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor output_liquid__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_OutputLiquid_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c index 4f930f614..d5690d60f 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.c @@ -7,17 +7,19 @@ #endif #include "ErrorCode.pb-c.h" -static const ProtobufCEnumValue error_code__enum_values_by_number[2] = +static const ProtobufCEnumValue error_code__enum_values_by_number[3] = { { "NONE", "ERROR_CODE__NONE", 0 }, { "BAD_CRC", "ERROR_CODE__BAD_CRC", 1 }, + { "INVALID_DIGITAL_PIN_NUMBER", "ERROR_CODE__INVALID_DIGITAL_PIN_NUMBER", 2 }, }; static const ProtobufCIntRange error_code__value_ranges[] = { -{0, 0},{0, 2} +{0, 0},{0, 3} }; -static const ProtobufCEnumValueIndex error_code__enum_values_by_name[2] = +static const ProtobufCEnumValueIndex error_code__enum_values_by_name[3] = { { "BAD_CRC", 1 }, + { "INVALID_DIGITAL_PIN_NUMBER", 2 }, { "NONE", 0 }, }; const ProtobufCEnumDescriptor error_code__descriptor = @@ -27,9 +29,9 @@ const ProtobufCEnumDescriptor error_code__descriptor = "ErrorCode", "ErrorCode", "", - 2, + 3, error_code__enum_values_by_number, - 2, + 3, error_code__enum_values_by_name, 1, error_code__value_ranges, diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h index 7cc30c1d4..feb3bf249 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/ErrorCode.pb-c.h @@ -21,7 +21,11 @@ PROTOBUF_C__BEGIN_DECLS typedef enum _ErrorCode { ERROR_CODE__NONE = 0, - ERROR_CODE__BAD_CRC = 1 + ERROR_CODE__BAD_CRC = 1, + /* + *Can be returned by SetDigitalOutResponse. + */ + ERROR_CODE__INVALID_DIGITAL_PIN_NUMBER = 2 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(ERROR_CODE) } ErrorCode; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c index 405d43959..fb5ce4755 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c @@ -7,7 +7,7 @@ #endif #include "MessageType.pb-c.h" -static const ProtobufCEnumValue message_type__enum_values_by_number[53] = +static const ProtobufCEnumValue message_type__enum_values_by_number[72] = { { "None", "MESSAGE_TYPE__None", 0 }, { "CalculateRequest", "MESSAGE_TYPE__CalculateRequest", 3 }, @@ -55,32 +55,67 @@ static const ProtobufCEnumValue message_type__enum_values_by_number[53] = { "KeepAliveResponse", "MESSAGE_TYPE__KeepAliveResponse", 1008 }, { "PushDiagnosticsRequest", "MESSAGE_TYPE__PushDiagnosticsRequest", 2000 }, { "PushDiagnosticsResponse", "MESSAGE_TYPE__PushDiagnosticsResponse", 2001 }, - { "ReportRequest", "MESSAGE_TYPE__ReportRequest", 2002 }, - { "ReportResponse", "MESSAGE_TYPE__ReportResponse", 2003 }, - { "StatusResponse", "MESSAGE_TYPE__StatusResponse", 2004 }, + { "MotorAbortHomingRequest", "MESSAGE_TYPE__MotorAbortHomingRequest", 2002 }, + { "MotorAbortHomingResponse", "MESSAGE_TYPE__MotorAbortHomingResponse", 2003 }, + { "MotorHomingRequest", "MESSAGE_TYPE__MotorHomingRequest", 2004 }, + { "MotorHomingResponse", "MESSAGE_TYPE__MotorHomingResponse", 2005 }, + { "MotorJoggingRequest", "MESSAGE_TYPE__MotorJoggingRequest", 2006 }, + { "MotorJoggingResponse", "MESSAGE_TYPE__MotorJoggingResponse", 2007 }, + { "MotorAbortJoggingRequest", "MESSAGE_TYPE__MotorAbortJoggingRequest", 2008 }, + { "MotorAbortJoggingResponse", "MESSAGE_TYPE__MotorAbortJoggingResponse", 2009 }, + { "DispenserAbortHomingRequest", "MESSAGE_TYPE__DispenserAbortHomingRequest", 2010 }, + { "DispenserAbortHomingResponse", "MESSAGE_TYPE__DispenserAbortHomingResponse", 2011 }, + { "DispenserHomingRequest", "MESSAGE_TYPE__DispenserHomingRequest", 2012 }, + { "DispenserHomingResponse", "MESSAGE_TYPE__DispenserHomingResponse", 2013 }, + { "DispenserJoggingRequest", "MESSAGE_TYPE__DispenserJoggingRequest", 2014 }, + { "DispenserJoggingResponse", "MESSAGE_TYPE__DispenserJoggingResponse", 2015 }, + { "DispenserAbortJoggingRequest", "MESSAGE_TYPE__DispenserAbortJoggingRequest", 2016 }, + { "DispenserAbortJoggingResponse", "MESSAGE_TYPE__DispenserAbortJoggingResponse", 2017 }, + { "SetDigitalOutRequest", "MESSAGE_TYPE__SetDigitalOutRequest", 2018 }, + { "SetDigitalOutResponse", "MESSAGE_TYPE__SetDigitalOutResponse", 2019 }, + { "ThreadJoggingRequest", "MESSAGE_TYPE__ThreadJoggingRequest", 2020 }, + { "ThreadJoggingResponse", "MESSAGE_TYPE__ThreadJoggingResponse", 2021 }, + { "ThreadAbortJoggingRequest", "MESSAGE_TYPE__ThreadAbortJoggingRequest", 2022 }, + { "ThreadAbortJoggingResponse", "MESSAGE_TYPE__ThreadAbortJoggingResponse", 2023 }, { "JobRequest", "MESSAGE_TYPE__JobRequest", 3000 }, { "JobResponse", "MESSAGE_TYPE__JobResponse", 3001 }, { "AbortJobRequest", "MESSAGE_TYPE__AbortJobRequest", 3002 }, { "AbortJobResponse", "MESSAGE_TYPE__AbortJobResponse", 3003 }, }; static const ProtobufCIntRange message_type__value_ranges[] = { -{0, 0},{3, 1},{1000, 35},{2000, 44},{3000, 49},{0, 53} +{0, 0},{3, 1},{1000, 35},{2000, 44},{3000, 68},{0, 72} }; -static const ProtobufCEnumValueIndex message_type__enum_values_by_name[53] = +static const ProtobufCEnumValueIndex message_type__enum_values_by_name[72] = { - { "AbortJobRequest", 51 }, - { "AbortJobResponse", 52 }, + { "AbortJobRequest", 70 }, + { "AbortJobResponse", 71 }, { "CalculateRequest", 1 }, { "CalculateResponse", 2 }, { "DirectSynchronizationRequest", 38 }, { "DirectSynchronizationResponse", 39 }, + { "DispenserAbortHomingRequest", 54 }, + { "DispenserAbortHomingResponse", 55 }, + { "DispenserAbortJoggingRequest", 60 }, + { "DispenserAbortJoggingResponse", 61 }, + { "DispenserHomingRequest", 56 }, + { "DispenserHomingResponse", 57 }, + { "DispenserJoggingRequest", 58 }, + { "DispenserJoggingResponse", 59 }, { "ExternalBridgeUdpDiscoveryPacket", 35 }, { "ExternalClientLoginRequest", 36 }, { "ExternalClientLoginResponse", 37 }, - { "JobRequest", 49 }, - { "JobResponse", 50 }, + { "JobRequest", 68 }, + { "JobResponse", 69 }, { "KeepAliveRequest", 42 }, { "KeepAliveResponse", 43 }, + { "MotorAbortHomingRequest", 46 }, + { "MotorAbortHomingResponse", 47 }, + { "MotorAbortJoggingRequest", 52 }, + { "MotorAbortJoggingResponse", 53 }, + { "MotorHomingRequest", 48 }, + { "MotorHomingResponse", 49 }, + { "MotorJoggingRequest", 50 }, + { "MotorJoggingResponse", 51 }, { "None", 0 }, { "OverrideDataBaseRequest", 40 }, { "OverrideDataBaseResponse", 41 }, @@ -88,9 +123,8 @@ static const ProtobufCEnumValueIndex message_type__enum_values_by_name[53] = { "ProgressResponse", 4 }, { "PushDiagnosticsRequest", 44 }, { "PushDiagnosticsResponse", 45 }, - { "ReportRequest", 46 }, - { "ReportResponse", 47 }, - { "StatusResponse", 48 }, + { "SetDigitalOutRequest", 62 }, + { "SetDigitalOutResponse", 63 }, { "StubCartridgeReadRequest", 5 }, { "StubCartridgeReadResponse", 6 }, { "StubCartridgeWriteRequest", 7 }, @@ -121,6 +155,10 @@ static const ProtobufCEnumValueIndex message_type__enum_values_by_name[53] = { "StubSteperMotorResponse", 28 }, { "StubValveRequest", 29 }, { "StubValveResponse", 30 }, + { "ThreadAbortJoggingRequest", 66 }, + { "ThreadAbortJoggingResponse", 67 }, + { "ThreadJoggingRequest", 64 }, + { "ThreadJoggingResponse", 65 }, }; const ProtobufCEnumDescriptor message_type__descriptor = { @@ -129,9 +167,9 @@ const ProtobufCEnumDescriptor message_type__descriptor = "MessageType", "MessageType", "", - 53, + 72, message_type__enum_values_by_number, - 53, + 72, message_type__enum_values_by_name, 5, message_type__value_ranges, diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h index d5849f817..b465f2fe2 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h @@ -66,9 +66,28 @@ typedef enum _MessageType { MESSAGE_TYPE__KeepAliveResponse = 1008, MESSAGE_TYPE__PushDiagnosticsRequest = 2000, MESSAGE_TYPE__PushDiagnosticsResponse = 2001, - MESSAGE_TYPE__ReportRequest = 2002, - MESSAGE_TYPE__ReportResponse = 2003, - MESSAGE_TYPE__StatusResponse = 2004, + MESSAGE_TYPE__MotorAbortHomingRequest = 2002, + MESSAGE_TYPE__MotorAbortHomingResponse = 2003, + MESSAGE_TYPE__MotorHomingRequest = 2004, + MESSAGE_TYPE__MotorHomingResponse = 2005, + MESSAGE_TYPE__MotorJoggingRequest = 2006, + MESSAGE_TYPE__MotorJoggingResponse = 2007, + MESSAGE_TYPE__MotorAbortJoggingRequest = 2008, + MESSAGE_TYPE__MotorAbortJoggingResponse = 2009, + MESSAGE_TYPE__DispenserAbortHomingRequest = 2010, + MESSAGE_TYPE__DispenserAbortHomingResponse = 2011, + MESSAGE_TYPE__DispenserHomingRequest = 2012, + MESSAGE_TYPE__DispenserHomingResponse = 2013, + MESSAGE_TYPE__DispenserJoggingRequest = 2014, + MESSAGE_TYPE__DispenserJoggingResponse = 2015, + MESSAGE_TYPE__DispenserAbortJoggingRequest = 2016, + MESSAGE_TYPE__DispenserAbortJoggingResponse = 2017, + MESSAGE_TYPE__SetDigitalOutRequest = 2018, + MESSAGE_TYPE__SetDigitalOutResponse = 2019, + MESSAGE_TYPE__ThreadJoggingRequest = 2020, + MESSAGE_TYPE__ThreadJoggingResponse = 2021, + MESSAGE_TYPE__ThreadAbortJoggingRequest = 2022, + MESSAGE_TYPE__ThreadAbortJoggingResponse = 2023, MESSAGE_TYPE__JobRequest = 3000, MESSAGE_TYPE__JobResponse = 3001, MESSAGE_TYPE__AbortJobRequest = 3002, diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.c new file mode 100644 index 000000000..e50aa5c2c --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.c @@ -0,0 +1,105 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DataFileFrame.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DataFileFrame.pb-c.h" +void data_file_frame__init + (DataFileFrame *message) +{ + static const DataFileFrame init_value = DATA_FILE_FRAME__INIT; + *message = init_value; +} +size_t data_file_frame__get_packed_size + (const DataFileFrame *message) +{ + assert(message->base.descriptor == &data_file_frame__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t data_file_frame__pack + (const DataFileFrame *message, + uint8_t *out) +{ + assert(message->base.descriptor == &data_file_frame__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t data_file_frame__pack_to_buffer + (const DataFileFrame *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &data_file_frame__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DataFileFrame * + data_file_frame__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DataFileFrame *) + protobuf_c_message_unpack (&data_file_frame__descriptor, + allocator, len, data); +} +void data_file_frame__free_unpacked + (DataFileFrame *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &data_file_frame__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor data_file_frame__field_descriptors[2] = +{ + { + "Milliseconds", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(DataFileFrame, has_milliseconds), + offsetof(DataFileFrame, milliseconds), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "PushDiagnosticsResponse", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(DataFileFrame, pushdiagnosticsresponse), + &push_diagnostics_response__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned data_file_frame__field_indices_by_name[] = { + 0, /* field[0] = Milliseconds */ + 1, /* field[1] = PushDiagnosticsResponse */ +}; +static const ProtobufCIntRange data_file_frame__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor data_file_frame__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DataFileFrame", + "DataFileFrame", + "DataFileFrame", + "", + sizeof(DataFileFrame), + 2, + data_file_frame__field_descriptors, + data_file_frame__field_indices_by_name, + 1, data_file_frame__number_ranges, + (ProtobufCMessageInit) data_file_frame__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.h new file mode 100644 index 000000000..9ad0da792 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DataFileFrame.pb-c.h @@ -0,0 +1,74 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DataFileFrame.proto */ + +#ifndef PROTOBUF_C_DataFileFrame_2eproto__INCLUDED +#define PROTOBUF_C_DataFileFrame_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "PushDiagnosticsResponse.pb-c.h" + +typedef struct _DataFileFrame DataFileFrame; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DataFileFrame +{ + ProtobufCMessage base; + protobuf_c_boolean has_milliseconds; + int32_t milliseconds; + PushDiagnosticsResponse *pushdiagnosticsresponse; +}; +#define DATA_FILE_FRAME__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&data_file_frame__descriptor) \ + , 0, 0, NULL } + + +/* DataFileFrame methods */ +void data_file_frame__init + (DataFileFrame *message); +size_t data_file_frame__get_packed_size + (const DataFileFrame *message); +size_t data_file_frame__pack + (const DataFileFrame *message, + uint8_t *out); +size_t data_file_frame__pack_to_buffer + (const DataFileFrame *message, + ProtobufCBuffer *buffer); +DataFileFrame * + data_file_frame__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void data_file_frame__free_unpacked + (DataFileFrame *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DataFileFrame_Closure) + (const DataFileFrame *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor data_file_frame__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DataFileFrame_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.c new file mode 100644 index 000000000..48e358d3d --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.c @@ -0,0 +1,105 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DigitalPin.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DigitalPin.pb-c.h" +void digital_pin__init + (DigitalPin *message) +{ + static const DigitalPin init_value = DIGITAL_PIN__INIT; + *message = init_value; +} +size_t digital_pin__get_packed_size + (const DigitalPin *message) +{ + assert(message->base.descriptor == &digital_pin__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t digital_pin__pack + (const DigitalPin *message, + uint8_t *out) +{ + assert(message->base.descriptor == &digital_pin__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t digital_pin__pack_to_buffer + (const DigitalPin *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &digital_pin__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DigitalPin * + digital_pin__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DigitalPin *) + protobuf_c_message_unpack (&digital_pin__descriptor, + allocator, len, data); +} +void digital_pin__free_unpacked + (DigitalPin *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &digital_pin__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor digital_pin__field_descriptors[2] = +{ + { + "Port", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(DigitalPin, has_port), + offsetof(DigitalPin, port), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Value", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(DigitalPin, has_value), + offsetof(DigitalPin, value), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned digital_pin__field_indices_by_name[] = { + 0, /* field[0] = Port */ + 1, /* field[1] = Value */ +}; +static const ProtobufCIntRange digital_pin__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor digital_pin__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DigitalPin", + "DigitalPin", + "DigitalPin", + "", + sizeof(DigitalPin), + 2, + digital_pin__field_descriptors, + digital_pin__field_indices_by_name, + 1, digital_pin__number_ranges, + (ProtobufCMessageInit) digital_pin__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.h new file mode 100644 index 000000000..2fd18cdff --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DigitalPin.pb-c.h @@ -0,0 +1,74 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DigitalPin.proto */ + +#ifndef PROTOBUF_C_DigitalPin_2eproto__INCLUDED +#define PROTOBUF_C_DigitalPin_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DigitalPin DigitalPin; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DigitalPin +{ + ProtobufCMessage base; + protobuf_c_boolean has_port; + int32_t port; + protobuf_c_boolean has_value; + protobuf_c_boolean value; +}; +#define DIGITAL_PIN__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&digital_pin__descriptor) \ + , 0, 0, 0, 0 } + + +/* DigitalPin methods */ +void digital_pin__init + (DigitalPin *message); +size_t digital_pin__get_packed_size + (const DigitalPin *message); +size_t digital_pin__pack + (const DigitalPin *message, + uint8_t *out); +size_t digital_pin__pack_to_buffer + (const DigitalPin *message, + ProtobufCBuffer *buffer); +DigitalPin * + digital_pin__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void digital_pin__free_unpacked + (DigitalPin *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DigitalPin_Closure) + (const DigitalPin *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor digital_pin__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DigitalPin_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.c new file mode 100644 index 000000000..57826af15 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.c @@ -0,0 +1,92 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortHomingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserAbortHomingRequest.pb-c.h" +void dispenser_abort_homing_request__init + (DispenserAbortHomingRequest *message) +{ + static const DispenserAbortHomingRequest init_value = DISPENSER_ABORT_HOMING_REQUEST__INIT; + *message = init_value; +} +size_t dispenser_abort_homing_request__get_packed_size + (const DispenserAbortHomingRequest *message) +{ + assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_abort_homing_request__pack + (const DispenserAbortHomingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_abort_homing_request__pack_to_buffer + (const DispenserAbortHomingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserAbortHomingRequest * + dispenser_abort_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserAbortHomingRequest *) + protobuf_c_message_unpack (&dispenser_abort_homing_request__descriptor, + allocator, len, data); +} +void dispenser_abort_homing_request__free_unpacked + (DispenserAbortHomingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_abort_homing_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor dispenser_abort_homing_request__field_descriptors[1] = +{ + { + "Code", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(DispenserAbortHomingRequest, has_code), + offsetof(DispenserAbortHomingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned dispenser_abort_homing_request__field_indices_by_name[] = { + 0, /* field[0] = Code */ +}; +static const ProtobufCIntRange dispenser_abort_homing_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor dispenser_abort_homing_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserAbortHomingRequest", + "DispenserAbortHomingRequest", + "DispenserAbortHomingRequest", + "", + sizeof(DispenserAbortHomingRequest), + 1, + dispenser_abort_homing_request__field_descriptors, + dispenser_abort_homing_request__field_indices_by_name, + 1, dispenser_abort_homing_request__number_ranges, + (ProtobufCMessageInit) dispenser_abort_homing_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.h new file mode 100644 index 000000000..2e2395277 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingRequest.pb-c.h @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortHomingRequest.proto */ + +#ifndef PROTOBUF_C_DispenserAbortHomingRequest_2eproto__INCLUDED +#define PROTOBUF_C_DispenserAbortHomingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DispenserAbortHomingRequest DispenserAbortHomingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserAbortHomingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; +}; +#define DISPENSER_ABORT_HOMING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_homing_request__descriptor) \ + , 0, 0 } + + +/* DispenserAbortHomingRequest methods */ +void dispenser_abort_homing_request__init + (DispenserAbortHomingRequest *message); +size_t dispenser_abort_homing_request__get_packed_size + (const DispenserAbortHomingRequest *message); +size_t dispenser_abort_homing_request__pack + (const DispenserAbortHomingRequest *message, + uint8_t *out); +size_t dispenser_abort_homing_request__pack_to_buffer + (const DispenserAbortHomingRequest *message, + ProtobufCBuffer *buffer); +DispenserAbortHomingRequest * + dispenser_abort_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_abort_homing_request__free_unpacked + (DispenserAbortHomingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserAbortHomingRequest_Closure) + (const DispenserAbortHomingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_abort_homing_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserAbortHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.c new file mode 100644 index 000000000..a5de8be16 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortHomingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserAbortHomingResponse.pb-c.h" +void dispenser_abort_homing_response__init + (DispenserAbortHomingResponse *message) +{ + static const DispenserAbortHomingResponse init_value = DISPENSER_ABORT_HOMING_RESPONSE__INIT; + *message = init_value; +} +size_t dispenser_abort_homing_response__get_packed_size + (const DispenserAbortHomingResponse *message) +{ + assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_abort_homing_response__pack + (const DispenserAbortHomingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_abort_homing_response__pack_to_buffer + (const DispenserAbortHomingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserAbortHomingResponse * + dispenser_abort_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserAbortHomingResponse *) + protobuf_c_message_unpack (&dispenser_abort_homing_response__descriptor, + allocator, len, data); +} +void dispenser_abort_homing_response__free_unpacked + (DispenserAbortHomingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_abort_homing_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define dispenser_abort_homing_response__field_descriptors NULL +#define dispenser_abort_homing_response__field_indices_by_name NULL +#define dispenser_abort_homing_response__number_ranges NULL +const ProtobufCMessageDescriptor dispenser_abort_homing_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserAbortHomingResponse", + "DispenserAbortHomingResponse", + "DispenserAbortHomingResponse", + "", + sizeof(DispenserAbortHomingResponse), + 0, + dispenser_abort_homing_response__field_descriptors, + dispenser_abort_homing_response__field_indices_by_name, + 0, dispenser_abort_homing_response__number_ranges, + (ProtobufCMessageInit) dispenser_abort_homing_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.h new file mode 100644 index 000000000..73e37250d --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortHomingResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortHomingResponse.proto */ + +#ifndef PROTOBUF_C_DispenserAbortHomingResponse_2eproto__INCLUDED +#define PROTOBUF_C_DispenserAbortHomingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DispenserAbortHomingResponse DispenserAbortHomingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserAbortHomingResponse +{ + ProtobufCMessage base; +}; +#define DISPENSER_ABORT_HOMING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_homing_response__descriptor) \ + } + + +/* DispenserAbortHomingResponse methods */ +void dispenser_abort_homing_response__init + (DispenserAbortHomingResponse *message); +size_t dispenser_abort_homing_response__get_packed_size + (const DispenserAbortHomingResponse *message); +size_t dispenser_abort_homing_response__pack + (const DispenserAbortHomingResponse *message, + uint8_t *out); +size_t dispenser_abort_homing_response__pack_to_buffer + (const DispenserAbortHomingResponse *message, + ProtobufCBuffer *buffer); +DispenserAbortHomingResponse * + dispenser_abort_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_abort_homing_response__free_unpacked + (DispenserAbortHomingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserAbortHomingResponse_Closure) + (const DispenserAbortHomingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_abort_homing_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserAbortHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.c new file mode 100644 index 000000000..1a7a595d6 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.c @@ -0,0 +1,92 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortJoggingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserAbortJoggingRequest.pb-c.h" +void dispenser_abort_jogging_request__init + (DispenserAbortJoggingRequest *message) +{ + static const DispenserAbortJoggingRequest init_value = DISPENSER_ABORT_JOGGING_REQUEST__INIT; + *message = init_value; +} +size_t dispenser_abort_jogging_request__get_packed_size + (const DispenserAbortJoggingRequest *message) +{ + assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_abort_jogging_request__pack + (const DispenserAbortJoggingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_abort_jogging_request__pack_to_buffer + (const DispenserAbortJoggingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserAbortJoggingRequest * + dispenser_abort_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserAbortJoggingRequest *) + protobuf_c_message_unpack (&dispenser_abort_jogging_request__descriptor, + allocator, len, data); +} +void dispenser_abort_jogging_request__free_unpacked + (DispenserAbortJoggingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_abort_jogging_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor dispenser_abort_jogging_request__field_descriptors[1] = +{ + { + "Code", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(DispenserAbortJoggingRequest, has_code), + offsetof(DispenserAbortJoggingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned dispenser_abort_jogging_request__field_indices_by_name[] = { + 0, /* field[0] = Code */ +}; +static const ProtobufCIntRange dispenser_abort_jogging_request__number_ranges[1 + 1] = +{ + { 2, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor dispenser_abort_jogging_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserAbortJoggingRequest", + "DispenserAbortJoggingRequest", + "DispenserAbortJoggingRequest", + "", + sizeof(DispenserAbortJoggingRequest), + 1, + dispenser_abort_jogging_request__field_descriptors, + dispenser_abort_jogging_request__field_indices_by_name, + 1, dispenser_abort_jogging_request__number_ranges, + (ProtobufCMessageInit) dispenser_abort_jogging_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.h new file mode 100644 index 000000000..342d3fd25 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingRequest.pb-c.h @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortJoggingRequest.proto */ + +#ifndef PROTOBUF_C_DispenserAbortJoggingRequest_2eproto__INCLUDED +#define PROTOBUF_C_DispenserAbortJoggingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DispenserAbortJoggingRequest DispenserAbortJoggingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserAbortJoggingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; +}; +#define DISPENSER_ABORT_JOGGING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_jogging_request__descriptor) \ + , 0, 0 } + + +/* DispenserAbortJoggingRequest methods */ +void dispenser_abort_jogging_request__init + (DispenserAbortJoggingRequest *message); +size_t dispenser_abort_jogging_request__get_packed_size + (const DispenserAbortJoggingRequest *message); +size_t dispenser_abort_jogging_request__pack + (const DispenserAbortJoggingRequest *message, + uint8_t *out); +size_t dispenser_abort_jogging_request__pack_to_buffer + (const DispenserAbortJoggingRequest *message, + ProtobufCBuffer *buffer); +DispenserAbortJoggingRequest * + dispenser_abort_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_abort_jogging_request__free_unpacked + (DispenserAbortJoggingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserAbortJoggingRequest_Closure) + (const DispenserAbortJoggingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_abort_jogging_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserAbortJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.c new file mode 100644 index 000000000..70c7f1ee0 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.c @@ -0,0 +1,92 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortJoggingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserAbortJoggingResponse.pb-c.h" +void dispenser_abort_jogging_response__init + (DispenserAbortJoggingResponse *message) +{ + static const DispenserAbortJoggingResponse init_value = DISPENSER_ABORT_JOGGING_RESPONSE__INIT; + *message = init_value; +} +size_t dispenser_abort_jogging_response__get_packed_size + (const DispenserAbortJoggingResponse *message) +{ + assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_abort_jogging_response__pack + (const DispenserAbortJoggingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_abort_jogging_response__pack_to_buffer + (const DispenserAbortJoggingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserAbortJoggingResponse * + dispenser_abort_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserAbortJoggingResponse *) + protobuf_c_message_unpack (&dispenser_abort_jogging_response__descriptor, + allocator, len, data); +} +void dispenser_abort_jogging_response__free_unpacked + (DispenserAbortJoggingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_abort_jogging_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor dispenser_abort_jogging_response__field_descriptors[1] = +{ + { + "Code", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(DispenserAbortJoggingResponse, has_code), + offsetof(DispenserAbortJoggingResponse, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned dispenser_abort_jogging_response__field_indices_by_name[] = { + 0, /* field[0] = Code */ +}; +static const ProtobufCIntRange dispenser_abort_jogging_response__number_ranges[1 + 1] = +{ + { 2, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor dispenser_abort_jogging_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserAbortJoggingResponse", + "DispenserAbortJoggingResponse", + "DispenserAbortJoggingResponse", + "", + sizeof(DispenserAbortJoggingResponse), + 1, + dispenser_abort_jogging_response__field_descriptors, + dispenser_abort_jogging_response__field_indices_by_name, + 1, dispenser_abort_jogging_response__number_ranges, + (ProtobufCMessageInit) dispenser_abort_jogging_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.h new file mode 100644 index 000000000..e9ddef6cb --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserAbortJoggingResponse.pb-c.h @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserAbortJoggingResponse.proto */ + +#ifndef PROTOBUF_C_DispenserAbortJoggingResponse_2eproto__INCLUDED +#define PROTOBUF_C_DispenserAbortJoggingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DispenserAbortJoggingResponse DispenserAbortJoggingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserAbortJoggingResponse +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; +}; +#define DISPENSER_ABORT_JOGGING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_abort_jogging_response__descriptor) \ + , 0, 0 } + + +/* DispenserAbortJoggingResponse methods */ +void dispenser_abort_jogging_response__init + (DispenserAbortJoggingResponse *message); +size_t dispenser_abort_jogging_response__get_packed_size + (const DispenserAbortJoggingResponse *message); +size_t dispenser_abort_jogging_response__pack + (const DispenserAbortJoggingResponse *message, + uint8_t *out); +size_t dispenser_abort_jogging_response__pack_to_buffer + (const DispenserAbortJoggingResponse *message, + ProtobufCBuffer *buffer); +DispenserAbortJoggingResponse * + dispenser_abort_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_abort_jogging_response__free_unpacked + (DispenserAbortJoggingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserAbortJoggingResponse_Closure) + (const DispenserAbortJoggingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_abort_jogging_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserAbortJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.c new file mode 100644 index 000000000..83e8f0f36 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.c @@ -0,0 +1,105 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserHomingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserHomingRequest.pb-c.h" +void dispenser_homing_request__init + (DispenserHomingRequest *message) +{ + static const DispenserHomingRequest init_value = DISPENSER_HOMING_REQUEST__INIT; + *message = init_value; +} +size_t dispenser_homing_request__get_packed_size + (const DispenserHomingRequest *message) +{ + assert(message->base.descriptor == &dispenser_homing_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_homing_request__pack + (const DispenserHomingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_homing_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_homing_request__pack_to_buffer + (const DispenserHomingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_homing_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserHomingRequest * + dispenser_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserHomingRequest *) + protobuf_c_message_unpack (&dispenser_homing_request__descriptor, + allocator, len, data); +} +void dispenser_homing_request__free_unpacked + (DispenserHomingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_homing_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor dispenser_homing_request__field_descriptors[2] = +{ + { + "Code", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(DispenserHomingRequest, has_code), + offsetof(DispenserHomingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Speed", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(DispenserHomingRequest, has_speed), + offsetof(DispenserHomingRequest, speed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned dispenser_homing_request__field_indices_by_name[] = { + 0, /* field[0] = Code */ + 1, /* field[1] = Speed */ +}; +static const ProtobufCIntRange dispenser_homing_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor dispenser_homing_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserHomingRequest", + "DispenserHomingRequest", + "DispenserHomingRequest", + "", + sizeof(DispenserHomingRequest), + 2, + dispenser_homing_request__field_descriptors, + dispenser_homing_request__field_indices_by_name, + 1, dispenser_homing_request__number_ranges, + (ProtobufCMessageInit) dispenser_homing_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.h new file mode 100644 index 000000000..ba7ab19cf --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingRequest.pb-c.h @@ -0,0 +1,74 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserHomingRequest.proto */ + +#ifndef PROTOBUF_C_DispenserHomingRequest_2eproto__INCLUDED +#define PROTOBUF_C_DispenserHomingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DispenserHomingRequest DispenserHomingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserHomingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; + protobuf_c_boolean has_speed; + double speed; +}; +#define DISPENSER_HOMING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_homing_request__descriptor) \ + , 0, 0, 0, 0 } + + +/* DispenserHomingRequest methods */ +void dispenser_homing_request__init + (DispenserHomingRequest *message); +size_t dispenser_homing_request__get_packed_size + (const DispenserHomingRequest *message); +size_t dispenser_homing_request__pack + (const DispenserHomingRequest *message, + uint8_t *out); +size_t dispenser_homing_request__pack_to_buffer + (const DispenserHomingRequest *message, + ProtobufCBuffer *buffer); +DispenserHomingRequest * + dispenser_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_homing_request__free_unpacked + (DispenserHomingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserHomingRequest_Closure) + (const DispenserHomingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_homing_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.c new file mode 100644 index 000000000..e37aaaa67 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.c @@ -0,0 +1,105 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserHomingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserHomingResponse.pb-c.h" +void dispenser_homing_response__init + (DispenserHomingResponse *message) +{ + static const DispenserHomingResponse init_value = DISPENSER_HOMING_RESPONSE__INIT; + *message = init_value; +} +size_t dispenser_homing_response__get_packed_size + (const DispenserHomingResponse *message) +{ + assert(message->base.descriptor == &dispenser_homing_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_homing_response__pack + (const DispenserHomingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_homing_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_homing_response__pack_to_buffer + (const DispenserHomingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_homing_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserHomingResponse * + dispenser_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserHomingResponse *) + protobuf_c_message_unpack (&dispenser_homing_response__descriptor, + allocator, len, data); +} +void dispenser_homing_response__free_unpacked + (DispenserHomingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_homing_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor dispenser_homing_response__field_descriptors[2] = +{ + { + "Progress", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(DispenserHomingResponse, has_progress), + offsetof(DispenserHomingResponse, progress), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "MaxProgress", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(DispenserHomingResponse, has_maxprogress), + offsetof(DispenserHomingResponse, maxprogress), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned dispenser_homing_response__field_indices_by_name[] = { + 1, /* field[1] = MaxProgress */ + 0, /* field[0] = Progress */ +}; +static const ProtobufCIntRange dispenser_homing_response__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor dispenser_homing_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserHomingResponse", + "DispenserHomingResponse", + "DispenserHomingResponse", + "", + sizeof(DispenserHomingResponse), + 2, + dispenser_homing_response__field_descriptors, + dispenser_homing_response__field_indices_by_name, + 1, dispenser_homing_response__number_ranges, + (ProtobufCMessageInit) dispenser_homing_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.h new file mode 100644 index 000000000..76899841b --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserHomingResponse.pb-c.h @@ -0,0 +1,74 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserHomingResponse.proto */ + +#ifndef PROTOBUF_C_DispenserHomingResponse_2eproto__INCLUDED +#define PROTOBUF_C_DispenserHomingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DispenserHomingResponse DispenserHomingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserHomingResponse +{ + ProtobufCMessage base; + protobuf_c_boolean has_progress; + double progress; + protobuf_c_boolean has_maxprogress; + double maxprogress; +}; +#define DISPENSER_HOMING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_homing_response__descriptor) \ + , 0, 0, 0, 0 } + + +/* DispenserHomingResponse methods */ +void dispenser_homing_response__init + (DispenserHomingResponse *message); +size_t dispenser_homing_response__get_packed_size + (const DispenserHomingResponse *message); +size_t dispenser_homing_response__pack + (const DispenserHomingResponse *message, + uint8_t *out); +size_t dispenser_homing_response__pack_to_buffer + (const DispenserHomingResponse *message, + ProtobufCBuffer *buffer); +DispenserHomingResponse * + dispenser_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_homing_response__free_unpacked + (DispenserHomingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserHomingResponse_Closure) + (const DispenserHomingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_homing_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.c new file mode 100644 index 000000000..720e45d8f --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.c @@ -0,0 +1,118 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserJoggingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserJoggingRequest.pb-c.h" +void dispenser_jogging_request__init + (DispenserJoggingRequest *message) +{ + static const DispenserJoggingRequest init_value = DISPENSER_JOGGING_REQUEST__INIT; + *message = init_value; +} +size_t dispenser_jogging_request__get_packed_size + (const DispenserJoggingRequest *message) +{ + assert(message->base.descriptor == &dispenser_jogging_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_jogging_request__pack + (const DispenserJoggingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_jogging_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_jogging_request__pack_to_buffer + (const DispenserJoggingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_jogging_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserJoggingRequest * + dispenser_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserJoggingRequest *) + protobuf_c_message_unpack (&dispenser_jogging_request__descriptor, + allocator, len, data); +} +void dispenser_jogging_request__free_unpacked + (DispenserJoggingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_jogging_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor dispenser_jogging_request__field_descriptors[3] = +{ + { + "Direction", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(DispenserJoggingRequest, has_direction), + offsetof(DispenserJoggingRequest, direction), + &motor_direction__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Code", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(DispenserJoggingRequest, has_code), + offsetof(DispenserJoggingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Speed", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(DispenserJoggingRequest, has_speed), + offsetof(DispenserJoggingRequest, speed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned dispenser_jogging_request__field_indices_by_name[] = { + 1, /* field[1] = Code */ + 0, /* field[0] = Direction */ + 2, /* field[2] = Speed */ +}; +static const ProtobufCIntRange dispenser_jogging_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor dispenser_jogging_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserJoggingRequest", + "DispenserJoggingRequest", + "DispenserJoggingRequest", + "", + sizeof(DispenserJoggingRequest), + 3, + dispenser_jogging_request__field_descriptors, + dispenser_jogging_request__field_indices_by_name, + 1, dispenser_jogging_request__number_ranges, + (ProtobufCMessageInit) dispenser_jogging_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.h new file mode 100644 index 000000000..b3d962769 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingRequest.pb-c.h @@ -0,0 +1,77 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserJoggingRequest.proto */ + +#ifndef PROTOBUF_C_DispenserJoggingRequest_2eproto__INCLUDED +#define PROTOBUF_C_DispenserJoggingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "MotorDirection.pb-c.h" + +typedef struct _DispenserJoggingRequest DispenserJoggingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserJoggingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_direction; + MotorDirection direction; + protobuf_c_boolean has_code; + int32_t code; + protobuf_c_boolean has_speed; + double speed; +}; +#define DISPENSER_JOGGING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_jogging_request__descriptor) \ + , 0, MOTOR_DIRECTION__Forward, 0, 0, 0, 0 } + + +/* DispenserJoggingRequest methods */ +void dispenser_jogging_request__init + (DispenserJoggingRequest *message); +size_t dispenser_jogging_request__get_packed_size + (const DispenserJoggingRequest *message); +size_t dispenser_jogging_request__pack + (const DispenserJoggingRequest *message, + uint8_t *out); +size_t dispenser_jogging_request__pack_to_buffer + (const DispenserJoggingRequest *message, + ProtobufCBuffer *buffer); +DispenserJoggingRequest * + dispenser_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_jogging_request__free_unpacked + (DispenserJoggingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserJoggingRequest_Closure) + (const DispenserJoggingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_jogging_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.c new file mode 100644 index 000000000..499387197 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserJoggingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "DispenserJoggingResponse.pb-c.h" +void dispenser_jogging_response__init + (DispenserJoggingResponse *message) +{ + static const DispenserJoggingResponse init_value = DISPENSER_JOGGING_RESPONSE__INIT; + *message = init_value; +} +size_t dispenser_jogging_response__get_packed_size + (const DispenserJoggingResponse *message) +{ + assert(message->base.descriptor == &dispenser_jogging_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t dispenser_jogging_response__pack + (const DispenserJoggingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &dispenser_jogging_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t dispenser_jogging_response__pack_to_buffer + (const DispenserJoggingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &dispenser_jogging_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +DispenserJoggingResponse * + dispenser_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (DispenserJoggingResponse *) + protobuf_c_message_unpack (&dispenser_jogging_response__descriptor, + allocator, len, data); +} +void dispenser_jogging_response__free_unpacked + (DispenserJoggingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &dispenser_jogging_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define dispenser_jogging_response__field_descriptors NULL +#define dispenser_jogging_response__field_indices_by_name NULL +#define dispenser_jogging_response__number_ranges NULL +const ProtobufCMessageDescriptor dispenser_jogging_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "DispenserJoggingResponse", + "DispenserJoggingResponse", + "DispenserJoggingResponse", + "", + sizeof(DispenserJoggingResponse), + 0, + dispenser_jogging_response__field_descriptors, + dispenser_jogging_response__field_indices_by_name, + 0, dispenser_jogging_response__number_ranges, + (ProtobufCMessageInit) dispenser_jogging_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.h new file mode 100644 index 000000000..7cdda36f8 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DispenserJoggingResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: DispenserJoggingResponse.proto */ + +#ifndef PROTOBUF_C_DispenserJoggingResponse_2eproto__INCLUDED +#define PROTOBUF_C_DispenserJoggingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _DispenserJoggingResponse DispenserJoggingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _DispenserJoggingResponse +{ + ProtobufCMessage base; +}; +#define DISPENSER_JOGGING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&dispenser_jogging_response__descriptor) \ + } + + +/* DispenserJoggingResponse methods */ +void dispenser_jogging_response__init + (DispenserJoggingResponse *message); +size_t dispenser_jogging_response__get_packed_size + (const DispenserJoggingResponse *message); +size_t dispenser_jogging_response__pack + (const DispenserJoggingResponse *message, + uint8_t *out); +size_t dispenser_jogging_response__pack_to_buffer + (const DispenserJoggingResponse *message, + ProtobufCBuffer *buffer); +DispenserJoggingResponse * + dispenser_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void dispenser_jogging_response__free_unpacked + (DispenserJoggingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*DispenserJoggingResponse_Closure) + (const DispenserJoggingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor dispenser_jogging_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_DispenserJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c new file mode 100644 index 000000000..63c2bdf9e --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.c @@ -0,0 +1,92 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortHomingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorAbortHomingRequest.pb-c.h" +void motor_abort_homing_request__init + (MotorAbortHomingRequest *message) +{ + static const MotorAbortHomingRequest init_value = MOTOR_ABORT_HOMING_REQUEST__INIT; + *message = init_value; +} +size_t motor_abort_homing_request__get_packed_size + (const MotorAbortHomingRequest *message) +{ + assert(message->base.descriptor == &motor_abort_homing_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_abort_homing_request__pack + (const MotorAbortHomingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_abort_homing_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_abort_homing_request__pack_to_buffer + (const MotorAbortHomingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_abort_homing_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorAbortHomingRequest * + motor_abort_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorAbortHomingRequest *) + protobuf_c_message_unpack (&motor_abort_homing_request__descriptor, + allocator, len, data); +} +void motor_abort_homing_request__free_unpacked + (MotorAbortHomingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_abort_homing_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor motor_abort_homing_request__field_descriptors[1] = +{ + { + "Code", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(MotorAbortHomingRequest, has_code), + offsetof(MotorAbortHomingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned motor_abort_homing_request__field_indices_by_name[] = { + 0, /* field[0] = Code */ +}; +static const ProtobufCIntRange motor_abort_homing_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor motor_abort_homing_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorAbortHomingRequest", + "MotorAbortHomingRequest", + "MotorAbortHomingRequest", + "", + sizeof(MotorAbortHomingRequest), + 1, + motor_abort_homing_request__field_descriptors, + motor_abort_homing_request__field_indices_by_name, + 1, motor_abort_homing_request__number_ranges, + (ProtobufCMessageInit) motor_abort_homing_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h new file mode 100644 index 000000000..e480d02b4 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingRequest.pb-c.h @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortHomingRequest.proto */ + +#ifndef PROTOBUF_C_MotorAbortHomingRequest_2eproto__INCLUDED +#define PROTOBUF_C_MotorAbortHomingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _MotorAbortHomingRequest MotorAbortHomingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorAbortHomingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; +}; +#define MOTOR_ABORT_HOMING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_abort_homing_request__descriptor) \ + , 0, 0 } + + +/* MotorAbortHomingRequest methods */ +void motor_abort_homing_request__init + (MotorAbortHomingRequest *message); +size_t motor_abort_homing_request__get_packed_size + (const MotorAbortHomingRequest *message); +size_t motor_abort_homing_request__pack + (const MotorAbortHomingRequest *message, + uint8_t *out); +size_t motor_abort_homing_request__pack_to_buffer + (const MotorAbortHomingRequest *message, + ProtobufCBuffer *buffer); +MotorAbortHomingRequest * + motor_abort_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_abort_homing_request__free_unpacked + (MotorAbortHomingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorAbortHomingRequest_Closure) + (const MotorAbortHomingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_abort_homing_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorAbortHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.c new file mode 100644 index 000000000..d95f3d978 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortHomingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorAbortHomingResponse.pb-c.h" +void motor_abort_homing_response__init + (MotorAbortHomingResponse *message) +{ + static const MotorAbortHomingResponse init_value = MOTOR_ABORT_HOMING_RESPONSE__INIT; + *message = init_value; +} +size_t motor_abort_homing_response__get_packed_size + (const MotorAbortHomingResponse *message) +{ + assert(message->base.descriptor == &motor_abort_homing_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_abort_homing_response__pack + (const MotorAbortHomingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_abort_homing_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_abort_homing_response__pack_to_buffer + (const MotorAbortHomingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_abort_homing_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorAbortHomingResponse * + motor_abort_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorAbortHomingResponse *) + protobuf_c_message_unpack (&motor_abort_homing_response__descriptor, + allocator, len, data); +} +void motor_abort_homing_response__free_unpacked + (MotorAbortHomingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_abort_homing_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define motor_abort_homing_response__field_descriptors NULL +#define motor_abort_homing_response__field_indices_by_name NULL +#define motor_abort_homing_response__number_ranges NULL +const ProtobufCMessageDescriptor motor_abort_homing_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorAbortHomingResponse", + "MotorAbortHomingResponse", + "MotorAbortHomingResponse", + "", + sizeof(MotorAbortHomingResponse), + 0, + motor_abort_homing_response__field_descriptors, + motor_abort_homing_response__field_indices_by_name, + 0, motor_abort_homing_response__number_ranges, + (ProtobufCMessageInit) motor_abort_homing_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.h new file mode 100644 index 000000000..fb69cf90f --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortHomingResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortHomingResponse.proto */ + +#ifndef PROTOBUF_C_MotorAbortHomingResponse_2eproto__INCLUDED +#define PROTOBUF_C_MotorAbortHomingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _MotorAbortHomingResponse MotorAbortHomingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorAbortHomingResponse +{ + ProtobufCMessage base; +}; +#define MOTOR_ABORT_HOMING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_abort_homing_response__descriptor) \ + } + + +/* MotorAbortHomingResponse methods */ +void motor_abort_homing_response__init + (MotorAbortHomingResponse *message); +size_t motor_abort_homing_response__get_packed_size + (const MotorAbortHomingResponse *message); +size_t motor_abort_homing_response__pack + (const MotorAbortHomingResponse *message, + uint8_t *out); +size_t motor_abort_homing_response__pack_to_buffer + (const MotorAbortHomingResponse *message, + ProtobufCBuffer *buffer); +MotorAbortHomingResponse * + motor_abort_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_abort_homing_response__free_unpacked + (MotorAbortHomingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorAbortHomingResponse_Closure) + (const MotorAbortHomingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_abort_homing_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorAbortHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.c new file mode 100644 index 000000000..45c487e65 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.c @@ -0,0 +1,92 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortJoggingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorAbortJoggingRequest.pb-c.h" +void motor_abort_jogging_request__init + (MotorAbortJoggingRequest *message) +{ + static const MotorAbortJoggingRequest init_value = MOTOR_ABORT_JOGGING_REQUEST__INIT; + *message = init_value; +} +size_t motor_abort_jogging_request__get_packed_size + (const MotorAbortJoggingRequest *message) +{ + assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_abort_jogging_request__pack + (const MotorAbortJoggingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_abort_jogging_request__pack_to_buffer + (const MotorAbortJoggingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorAbortJoggingRequest * + motor_abort_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorAbortJoggingRequest *) + protobuf_c_message_unpack (&motor_abort_jogging_request__descriptor, + allocator, len, data); +} +void motor_abort_jogging_request__free_unpacked + (MotorAbortJoggingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_abort_jogging_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor motor_abort_jogging_request__field_descriptors[1] = +{ + { + "Code", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(MotorAbortJoggingRequest, has_code), + offsetof(MotorAbortJoggingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned motor_abort_jogging_request__field_indices_by_name[] = { + 0, /* field[0] = Code */ +}; +static const ProtobufCIntRange motor_abort_jogging_request__number_ranges[1 + 1] = +{ + { 2, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor motor_abort_jogging_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorAbortJoggingRequest", + "MotorAbortJoggingRequest", + "MotorAbortJoggingRequest", + "", + sizeof(MotorAbortJoggingRequest), + 1, + motor_abort_jogging_request__field_descriptors, + motor_abort_jogging_request__field_indices_by_name, + 1, motor_abort_jogging_request__number_ranges, + (ProtobufCMessageInit) motor_abort_jogging_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.h new file mode 100644 index 000000000..39511ffa9 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingRequest.pb-c.h @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortJoggingRequest.proto */ + +#ifndef PROTOBUF_C_MotorAbortJoggingRequest_2eproto__INCLUDED +#define PROTOBUF_C_MotorAbortJoggingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _MotorAbortJoggingRequest MotorAbortJoggingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorAbortJoggingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; +}; +#define MOTOR_ABORT_JOGGING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_abort_jogging_request__descriptor) \ + , 0, 0 } + + +/* MotorAbortJoggingRequest methods */ +void motor_abort_jogging_request__init + (MotorAbortJoggingRequest *message); +size_t motor_abort_jogging_request__get_packed_size + (const MotorAbortJoggingRequest *message); +size_t motor_abort_jogging_request__pack + (const MotorAbortJoggingRequest *message, + uint8_t *out); +size_t motor_abort_jogging_request__pack_to_buffer + (const MotorAbortJoggingRequest *message, + ProtobufCBuffer *buffer); +MotorAbortJoggingRequest * + motor_abort_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_abort_jogging_request__free_unpacked + (MotorAbortJoggingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorAbortJoggingRequest_Closure) + (const MotorAbortJoggingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_abort_jogging_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorAbortJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.c new file mode 100644 index 000000000..f32b7aad0 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.c @@ -0,0 +1,92 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortJoggingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorAbortJoggingResponse.pb-c.h" +void motor_abort_jogging_response__init + (MotorAbortJoggingResponse *message) +{ + static const MotorAbortJoggingResponse init_value = MOTOR_ABORT_JOGGING_RESPONSE__INIT; + *message = init_value; +} +size_t motor_abort_jogging_response__get_packed_size + (const MotorAbortJoggingResponse *message) +{ + assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_abort_jogging_response__pack + (const MotorAbortJoggingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_abort_jogging_response__pack_to_buffer + (const MotorAbortJoggingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorAbortJoggingResponse * + motor_abort_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorAbortJoggingResponse *) + protobuf_c_message_unpack (&motor_abort_jogging_response__descriptor, + allocator, len, data); +} +void motor_abort_jogging_response__free_unpacked + (MotorAbortJoggingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_abort_jogging_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor motor_abort_jogging_response__field_descriptors[1] = +{ + { + "Code", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(MotorAbortJoggingResponse, has_code), + offsetof(MotorAbortJoggingResponse, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned motor_abort_jogging_response__field_indices_by_name[] = { + 0, /* field[0] = Code */ +}; +static const ProtobufCIntRange motor_abort_jogging_response__number_ranges[1 + 1] = +{ + { 2, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor motor_abort_jogging_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorAbortJoggingResponse", + "MotorAbortJoggingResponse", + "MotorAbortJoggingResponse", + "", + sizeof(MotorAbortJoggingResponse), + 1, + motor_abort_jogging_response__field_descriptors, + motor_abort_jogging_response__field_indices_by_name, + 1, motor_abort_jogging_response__number_ranges, + (ProtobufCMessageInit) motor_abort_jogging_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.h new file mode 100644 index 000000000..e78157ab4 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorAbortJoggingResponse.pb-c.h @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorAbortJoggingResponse.proto */ + +#ifndef PROTOBUF_C_MotorAbortJoggingResponse_2eproto__INCLUDED +#define PROTOBUF_C_MotorAbortJoggingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _MotorAbortJoggingResponse MotorAbortJoggingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorAbortJoggingResponse +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; +}; +#define MOTOR_ABORT_JOGGING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_abort_jogging_response__descriptor) \ + , 0, 0 } + + +/* MotorAbortJoggingResponse methods */ +void motor_abort_jogging_response__init + (MotorAbortJoggingResponse *message); +size_t motor_abort_jogging_response__get_packed_size + (const MotorAbortJoggingResponse *message); +size_t motor_abort_jogging_response__pack + (const MotorAbortJoggingResponse *message, + uint8_t *out); +size_t motor_abort_jogging_response__pack_to_buffer + (const MotorAbortJoggingResponse *message, + ProtobufCBuffer *buffer); +MotorAbortJoggingResponse * + motor_abort_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_abort_jogging_response__free_unpacked + (MotorAbortJoggingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorAbortJoggingResponse_Closure) + (const MotorAbortJoggingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_abort_jogging_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorAbortJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.c new file mode 100644 index 000000000..7eaa11ff6 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.c @@ -0,0 +1,37 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorDirection.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorDirection.pb-c.h" +static const ProtobufCEnumValue motor_direction__enum_values_by_number[2] = +{ + { "Forward", "MOTOR_DIRECTION__Forward", 0 }, + { "Backward", "MOTOR_DIRECTION__Backward", 1 }, +}; +static const ProtobufCIntRange motor_direction__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex motor_direction__enum_values_by_name[2] = +{ + { "Backward", 1 }, + { "Forward", 0 }, +}; +const ProtobufCEnumDescriptor motor_direction__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "MotorDirection", + "MotorDirection", + "MotorDirection", + "", + 2, + motor_direction__enum_values_by_number, + 2, + motor_direction__enum_values_by_name, + 1, + motor_direction__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.h new file mode 100644 index 000000000..e5b190f2b --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorDirection.pb-c.h @@ -0,0 +1,43 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorDirection.proto */ + +#ifndef PROTOBUF_C_MotorDirection_2eproto__INCLUDED +#define PROTOBUF_C_MotorDirection_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + + + +/* --- enums --- */ + +typedef enum _MotorDirection { + MOTOR_DIRECTION__Forward = 0, + MOTOR_DIRECTION__Backward = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MOTOR_DIRECTION) +} MotorDirection; + +/* --- messages --- */ + +/* --- per-message closures --- */ + + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCEnumDescriptor motor_direction__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorDirection_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.c new file mode 100644 index 000000000..39413d2a7 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.c @@ -0,0 +1,105 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorHomingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorHomingRequest.pb-c.h" +void motor_homing_request__init + (MotorHomingRequest *message) +{ + static const MotorHomingRequest init_value = MOTOR_HOMING_REQUEST__INIT; + *message = init_value; +} +size_t motor_homing_request__get_packed_size + (const MotorHomingRequest *message) +{ + assert(message->base.descriptor == &motor_homing_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_homing_request__pack + (const MotorHomingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_homing_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_homing_request__pack_to_buffer + (const MotorHomingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_homing_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorHomingRequest * + motor_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorHomingRequest *) + protobuf_c_message_unpack (&motor_homing_request__descriptor, + allocator, len, data); +} +void motor_homing_request__free_unpacked + (MotorHomingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_homing_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor motor_homing_request__field_descriptors[2] = +{ + { + "Code", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(MotorHomingRequest, has_code), + offsetof(MotorHomingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Speed", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(MotorHomingRequest, has_speed), + offsetof(MotorHomingRequest, speed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned motor_homing_request__field_indices_by_name[] = { + 0, /* field[0] = Code */ + 1, /* field[1] = Speed */ +}; +static const ProtobufCIntRange motor_homing_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor motor_homing_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorHomingRequest", + "MotorHomingRequest", + "MotorHomingRequest", + "", + sizeof(MotorHomingRequest), + 2, + motor_homing_request__field_descriptors, + motor_homing_request__field_indices_by_name, + 1, motor_homing_request__number_ranges, + (ProtobufCMessageInit) motor_homing_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.h new file mode 100644 index 000000000..e2c9f3c91 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingRequest.pb-c.h @@ -0,0 +1,74 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorHomingRequest.proto */ + +#ifndef PROTOBUF_C_MotorHomingRequest_2eproto__INCLUDED +#define PROTOBUF_C_MotorHomingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _MotorHomingRequest MotorHomingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorHomingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_code; + int32_t code; + protobuf_c_boolean has_speed; + double speed; +}; +#define MOTOR_HOMING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_homing_request__descriptor) \ + , 0, 0, 0, 0 } + + +/* MotorHomingRequest methods */ +void motor_homing_request__init + (MotorHomingRequest *message); +size_t motor_homing_request__get_packed_size + (const MotorHomingRequest *message); +size_t motor_homing_request__pack + (const MotorHomingRequest *message, + uint8_t *out); +size_t motor_homing_request__pack_to_buffer + (const MotorHomingRequest *message, + ProtobufCBuffer *buffer); +MotorHomingRequest * + motor_homing_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_homing_request__free_unpacked + (MotorHomingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorHomingRequest_Closure) + (const MotorHomingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_homing_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorHomingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.c new file mode 100644 index 000000000..76d79e96b --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.c @@ -0,0 +1,105 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorHomingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorHomingResponse.pb-c.h" +void motor_homing_response__init + (MotorHomingResponse *message) +{ + static const MotorHomingResponse init_value = MOTOR_HOMING_RESPONSE__INIT; + *message = init_value; +} +size_t motor_homing_response__get_packed_size + (const MotorHomingResponse *message) +{ + assert(message->base.descriptor == &motor_homing_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_homing_response__pack + (const MotorHomingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_homing_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_homing_response__pack_to_buffer + (const MotorHomingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_homing_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorHomingResponse * + motor_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorHomingResponse *) + protobuf_c_message_unpack (&motor_homing_response__descriptor, + allocator, len, data); +} +void motor_homing_response__free_unpacked + (MotorHomingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_homing_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor motor_homing_response__field_descriptors[2] = +{ + { + "Progress", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(MotorHomingResponse, has_progress), + offsetof(MotorHomingResponse, progress), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "MaxProgress", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(MotorHomingResponse, has_maxprogress), + offsetof(MotorHomingResponse, maxprogress), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned motor_homing_response__field_indices_by_name[] = { + 1, /* field[1] = MaxProgress */ + 0, /* field[0] = Progress */ +}; +static const ProtobufCIntRange motor_homing_response__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor motor_homing_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorHomingResponse", + "MotorHomingResponse", + "MotorHomingResponse", + "", + sizeof(MotorHomingResponse), + 2, + motor_homing_response__field_descriptors, + motor_homing_response__field_indices_by_name, + 1, motor_homing_response__number_ranges, + (ProtobufCMessageInit) motor_homing_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.h new file mode 100644 index 000000000..df0452482 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorHomingResponse.pb-c.h @@ -0,0 +1,74 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorHomingResponse.proto */ + +#ifndef PROTOBUF_C_MotorHomingResponse_2eproto__INCLUDED +#define PROTOBUF_C_MotorHomingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _MotorHomingResponse MotorHomingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorHomingResponse +{ + ProtobufCMessage base; + protobuf_c_boolean has_progress; + double progress; + protobuf_c_boolean has_maxprogress; + double maxprogress; +}; +#define MOTOR_HOMING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_homing_response__descriptor) \ + , 0, 0, 0, 0 } + + +/* MotorHomingResponse methods */ +void motor_homing_response__init + (MotorHomingResponse *message); +size_t motor_homing_response__get_packed_size + (const MotorHomingResponse *message); +size_t motor_homing_response__pack + (const MotorHomingResponse *message, + uint8_t *out); +size_t motor_homing_response__pack_to_buffer + (const MotorHomingResponse *message, + ProtobufCBuffer *buffer); +MotorHomingResponse * + motor_homing_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_homing_response__free_unpacked + (MotorHomingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorHomingResponse_Closure) + (const MotorHomingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_homing_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorHomingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.c new file mode 100644 index 000000000..9beca81cc --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.c @@ -0,0 +1,118 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorJoggingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorJoggingRequest.pb-c.h" +void motor_jogging_request__init + (MotorJoggingRequest *message) +{ + static const MotorJoggingRequest init_value = MOTOR_JOGGING_REQUEST__INIT; + *message = init_value; +} +size_t motor_jogging_request__get_packed_size + (const MotorJoggingRequest *message) +{ + assert(message->base.descriptor == &motor_jogging_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_jogging_request__pack + (const MotorJoggingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_jogging_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_jogging_request__pack_to_buffer + (const MotorJoggingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_jogging_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorJoggingRequest * + motor_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorJoggingRequest *) + protobuf_c_message_unpack (&motor_jogging_request__descriptor, + allocator, len, data); +} +void motor_jogging_request__free_unpacked + (MotorJoggingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_jogging_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor motor_jogging_request__field_descriptors[3] = +{ + { + "Direction", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(MotorJoggingRequest, has_direction), + offsetof(MotorJoggingRequest, direction), + &motor_direction__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Code", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(MotorJoggingRequest, has_code), + offsetof(MotorJoggingRequest, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Speed", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(MotorJoggingRequest, has_speed), + offsetof(MotorJoggingRequest, speed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned motor_jogging_request__field_indices_by_name[] = { + 1, /* field[1] = Code */ + 0, /* field[0] = Direction */ + 2, /* field[2] = Speed */ +}; +static const ProtobufCIntRange motor_jogging_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor motor_jogging_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorJoggingRequest", + "MotorJoggingRequest", + "MotorJoggingRequest", + "", + sizeof(MotorJoggingRequest), + 3, + motor_jogging_request__field_descriptors, + motor_jogging_request__field_indices_by_name, + 1, motor_jogging_request__number_ranges, + (ProtobufCMessageInit) motor_jogging_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.h new file mode 100644 index 000000000..9832fdcdf --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingRequest.pb-c.h @@ -0,0 +1,77 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorJoggingRequest.proto */ + +#ifndef PROTOBUF_C_MotorJoggingRequest_2eproto__INCLUDED +#define PROTOBUF_C_MotorJoggingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "MotorDirection.pb-c.h" + +typedef struct _MotorJoggingRequest MotorJoggingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorJoggingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_direction; + MotorDirection direction; + protobuf_c_boolean has_code; + int32_t code; + protobuf_c_boolean has_speed; + double speed; +}; +#define MOTOR_JOGGING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_jogging_request__descriptor) \ + , 0, MOTOR_DIRECTION__Forward, 0, 0, 0, 0 } + + +/* MotorJoggingRequest methods */ +void motor_jogging_request__init + (MotorJoggingRequest *message); +size_t motor_jogging_request__get_packed_size + (const MotorJoggingRequest *message); +size_t motor_jogging_request__pack + (const MotorJoggingRequest *message, + uint8_t *out); +size_t motor_jogging_request__pack_to_buffer + (const MotorJoggingRequest *message, + ProtobufCBuffer *buffer); +MotorJoggingRequest * + motor_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_jogging_request__free_unpacked + (MotorJoggingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorJoggingRequest_Closure) + (const MotorJoggingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_jogging_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.c new file mode 100644 index 000000000..e5af97d42 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorJoggingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "MotorJoggingResponse.pb-c.h" +void motor_jogging_response__init + (MotorJoggingResponse *message) +{ + static const MotorJoggingResponse init_value = MOTOR_JOGGING_RESPONSE__INIT; + *message = init_value; +} +size_t motor_jogging_response__get_packed_size + (const MotorJoggingResponse *message) +{ + assert(message->base.descriptor == &motor_jogging_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t motor_jogging_response__pack + (const MotorJoggingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &motor_jogging_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t motor_jogging_response__pack_to_buffer + (const MotorJoggingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &motor_jogging_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +MotorJoggingResponse * + motor_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (MotorJoggingResponse *) + protobuf_c_message_unpack (&motor_jogging_response__descriptor, + allocator, len, data); +} +void motor_jogging_response__free_unpacked + (MotorJoggingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &motor_jogging_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define motor_jogging_response__field_descriptors NULL +#define motor_jogging_response__field_indices_by_name NULL +#define motor_jogging_response__number_ranges NULL +const ProtobufCMessageDescriptor motor_jogging_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "MotorJoggingResponse", + "MotorJoggingResponse", + "MotorJoggingResponse", + "", + sizeof(MotorJoggingResponse), + 0, + motor_jogging_response__field_descriptors, + motor_jogging_response__field_indices_by_name, + 0, motor_jogging_response__number_ranges, + (ProtobufCMessageInit) motor_jogging_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.h new file mode 100644 index 000000000..53d11d3fc --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/MotorJoggingResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: MotorJoggingResponse.proto */ + +#ifndef PROTOBUF_C_MotorJoggingResponse_2eproto__INCLUDED +#define PROTOBUF_C_MotorJoggingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _MotorJoggingResponse MotorJoggingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _MotorJoggingResponse +{ + ProtobufCMessage base; +}; +#define MOTOR_JOGGING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&motor_jogging_response__descriptor) \ + } + + +/* MotorJoggingResponse methods */ +void motor_jogging_response__init + (MotorJoggingResponse *message); +size_t motor_jogging_response__get_packed_size + (const MotorJoggingResponse *message); +size_t motor_jogging_response__pack + (const MotorJoggingResponse *message, + uint8_t *out); +size_t motor_jogging_response__pack_to_buffer + (const MotorJoggingResponse *message, + ProtobufCBuffer *buffer); +MotorJoggingResponse * + motor_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void motor_jogging_response__free_unpacked + (MotorJoggingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*MotorJoggingResponse_Closure) + (const MotorJoggingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor motor_jogging_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_MotorJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c index 51b490620..c34913fae 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c @@ -52,7 +52,7 @@ void push_diagnostics_response__free_unpacked assert(message->base.descriptor == &push_diagnostics_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor push_diagnostics_response__field_descriptors[4] = +static const ProtobufCFieldDescriptor push_diagnostics_response__field_descriptors[16] = { { "Dancer1Angle", @@ -102,17 +102,173 @@ static const ProtobufCFieldDescriptor push_diagnostics_response__field_descripto 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "Dispenser1MotorFrequency", + 5, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser1motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser1motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Dispenser2MotorFrequency", + 6, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser2motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser2motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Dispenser3MotorFrequency", + 7, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser3motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser3motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Dispenser4MotorFrequency", + 8, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser4motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser4motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Dispenser5MotorFrequency", + 9, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser5motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser5motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Dispenser6MotorFrequency", + 10, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser6motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser6motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Dispenser7MotorFrequency", + 11, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser7motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser7motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Dispenser8MotorFrequency", + 12, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(PushDiagnosticsResponse, n_dispenser8motorfrequency), + offsetof(PushDiagnosticsResponse, dispenser8motorfrequency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "DigitalPins", + 13, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(PushDiagnosticsResponse, n_digitalpins), + offsetof(PushDiagnosticsResponse, digitalpins), + &digital_pin__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Version", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(PushDiagnosticsResponse, version), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "VersionName", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(PushDiagnosticsResponse, versionname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "VersionBuildDate", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(PushDiagnosticsResponse, versionbuilddate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned push_diagnostics_response__field_indices_by_name[] = { 0, /* field[0] = Dancer1Angle */ 1, /* field[1] = Dancer2Angle */ 2, /* field[2] = Dancer3Angle */ + 12, /* field[12] = DigitalPins */ + 4, /* field[4] = Dispenser1MotorFrequency */ + 5, /* field[5] = Dispenser2MotorFrequency */ + 6, /* field[6] = Dispenser3MotorFrequency */ + 7, /* field[7] = Dispenser4MotorFrequency */ + 8, /* field[8] = Dispenser5MotorFrequency */ + 9, /* field[9] = Dispenser6MotorFrequency */ + 10, /* field[10] = Dispenser7MotorFrequency */ + 11, /* field[11] = Dispenser8MotorFrequency */ 3, /* field[3] = DispensersMotorsFrequency */ + 13, /* field[13] = Version */ + 15, /* field[15] = VersionBuildDate */ + 14, /* field[14] = VersionName */ }; static const ProtobufCIntRange push_diagnostics_response__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 16 } }; const ProtobufCMessageDescriptor push_diagnostics_response__descriptor = { @@ -122,7 +278,7 @@ const ProtobufCMessageDescriptor push_diagnostics_response__descriptor = "PushDiagnosticsResponse", "", sizeof(PushDiagnosticsResponse), - 4, + 16, push_diagnostics_response__field_descriptors, push_diagnostics_response__field_indices_by_name, 1, push_diagnostics_response__number_ranges, diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h index d3082c489..40f7d616b 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h @@ -15,6 +15,7 @@ PROTOBUF_C__BEGIN_DECLS #endif #include "DoubleArray.pb-c.h" +#include "DigitalPin.pb-c.h" typedef struct _PushDiagnosticsResponse PushDiagnosticsResponse; @@ -35,10 +36,31 @@ struct _PushDiagnosticsResponse double *dancer3angle; size_t n_dispensersmotorsfrequency; DoubleArray **dispensersmotorsfrequency; + size_t n_dispenser1motorfrequency; + double *dispenser1motorfrequency; + size_t n_dispenser2motorfrequency; + double *dispenser2motorfrequency; + size_t n_dispenser3motorfrequency; + double *dispenser3motorfrequency; + size_t n_dispenser4motorfrequency; + double *dispenser4motorfrequency; + size_t n_dispenser5motorfrequency; + double *dispenser5motorfrequency; + size_t n_dispenser6motorfrequency; + double *dispenser6motorfrequency; + size_t n_dispenser7motorfrequency; + double *dispenser7motorfrequency; + size_t n_dispenser8motorfrequency; + double *dispenser8motorfrequency; + size_t n_digitalpins; + DigitalPin **digitalpins; + char *version; + char *versionname; + char *versionbuilddate; }; #define PUSH_DIAGNOSTICS_RESPONSE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&push_diagnostics_response__descriptor) \ - , 0,NULL, 0,NULL, 0,NULL, 0,NULL } + , 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, NULL } /* PushDiagnosticsResponse methods */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.c new file mode 100644 index 000000000..060449149 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.c @@ -0,0 +1,105 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: SetDigitalOutRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "SetDigitalOutRequest.pb-c.h" +void set_digital_out_request__init + (SetDigitalOutRequest *message) +{ + static const SetDigitalOutRequest init_value = SET_DIGITAL_OUT_REQUEST__INIT; + *message = init_value; +} +size_t set_digital_out_request__get_packed_size + (const SetDigitalOutRequest *message) +{ + assert(message->base.descriptor == &set_digital_out_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t set_digital_out_request__pack + (const SetDigitalOutRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &set_digital_out_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t set_digital_out_request__pack_to_buffer + (const SetDigitalOutRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &set_digital_out_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +SetDigitalOutRequest * + set_digital_out_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (SetDigitalOutRequest *) + protobuf_c_message_unpack (&set_digital_out_request__descriptor, + allocator, len, data); +} +void set_digital_out_request__free_unpacked + (SetDigitalOutRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &set_digital_out_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor set_digital_out_request__field_descriptors[2] = +{ + { + "Port", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(SetDigitalOutRequest, has_port), + offsetof(SetDigitalOutRequest, port), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Value", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(SetDigitalOutRequest, has_value), + offsetof(SetDigitalOutRequest, value), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned set_digital_out_request__field_indices_by_name[] = { + 0, /* field[0] = Port */ + 1, /* field[1] = Value */ +}; +static const ProtobufCIntRange set_digital_out_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor set_digital_out_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "SetDigitalOutRequest", + "SetDigitalOutRequest", + "SetDigitalOutRequest", + "", + sizeof(SetDigitalOutRequest), + 2, + set_digital_out_request__field_descriptors, + set_digital_out_request__field_indices_by_name, + 1, set_digital_out_request__number_ranges, + (ProtobufCMessageInit) set_digital_out_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.h new file mode 100644 index 000000000..302b41749 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutRequest.pb-c.h @@ -0,0 +1,74 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: SetDigitalOutRequest.proto */ + +#ifndef PROTOBUF_C_SetDigitalOutRequest_2eproto__INCLUDED +#define PROTOBUF_C_SetDigitalOutRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _SetDigitalOutRequest SetDigitalOutRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _SetDigitalOutRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_port; + int32_t port; + protobuf_c_boolean has_value; + protobuf_c_boolean value; +}; +#define SET_DIGITAL_OUT_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&set_digital_out_request__descriptor) \ + , 0, 0, 0, 0 } + + +/* SetDigitalOutRequest methods */ +void set_digital_out_request__init + (SetDigitalOutRequest *message); +size_t set_digital_out_request__get_packed_size + (const SetDigitalOutRequest *message); +size_t set_digital_out_request__pack + (const SetDigitalOutRequest *message, + uint8_t *out); +size_t set_digital_out_request__pack_to_buffer + (const SetDigitalOutRequest *message, + ProtobufCBuffer *buffer); +SetDigitalOutRequest * + set_digital_out_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void set_digital_out_request__free_unpacked + (SetDigitalOutRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*SetDigitalOutRequest_Closure) + (const SetDigitalOutRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor set_digital_out_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_SetDigitalOutRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.c new file mode 100644 index 000000000..eff7f8973 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: SetDigitalOutResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "SetDigitalOutResponse.pb-c.h" +void set_digital_out_response__init + (SetDigitalOutResponse *message) +{ + static const SetDigitalOutResponse init_value = SET_DIGITAL_OUT_RESPONSE__INIT; + *message = init_value; +} +size_t set_digital_out_response__get_packed_size + (const SetDigitalOutResponse *message) +{ + assert(message->base.descriptor == &set_digital_out_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t set_digital_out_response__pack + (const SetDigitalOutResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &set_digital_out_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t set_digital_out_response__pack_to_buffer + (const SetDigitalOutResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &set_digital_out_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +SetDigitalOutResponse * + set_digital_out_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (SetDigitalOutResponse *) + protobuf_c_message_unpack (&set_digital_out_response__descriptor, + allocator, len, data); +} +void set_digital_out_response__free_unpacked + (SetDigitalOutResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &set_digital_out_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define set_digital_out_response__field_descriptors NULL +#define set_digital_out_response__field_indices_by_name NULL +#define set_digital_out_response__number_ranges NULL +const ProtobufCMessageDescriptor set_digital_out_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "SetDigitalOutResponse", + "SetDigitalOutResponse", + "SetDigitalOutResponse", + "", + sizeof(SetDigitalOutResponse), + 0, + set_digital_out_response__field_descriptors, + set_digital_out_response__field_indices_by_name, + 0, set_digital_out_response__number_ranges, + (ProtobufCMessageInit) set_digital_out_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.h new file mode 100644 index 000000000..00696e359 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/SetDigitalOutResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: SetDigitalOutResponse.proto */ + +#ifndef PROTOBUF_C_SetDigitalOutResponse_2eproto__INCLUDED +#define PROTOBUF_C_SetDigitalOutResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _SetDigitalOutResponse SetDigitalOutResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _SetDigitalOutResponse +{ + ProtobufCMessage base; +}; +#define SET_DIGITAL_OUT_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&set_digital_out_response__descriptor) \ + } + + +/* SetDigitalOutResponse methods */ +void set_digital_out_response__init + (SetDigitalOutResponse *message); +size_t set_digital_out_response__get_packed_size + (const SetDigitalOutResponse *message); +size_t set_digital_out_response__pack + (const SetDigitalOutResponse *message, + uint8_t *out); +size_t set_digital_out_response__pack_to_buffer + (const SetDigitalOutResponse *message, + ProtobufCBuffer *buffer); +SetDigitalOutResponse * + set_digital_out_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void set_digital_out_response__free_unpacked + (SetDigitalOutResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*SetDigitalOutResponse_Closure) + (const SetDigitalOutResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor set_digital_out_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_SetDigitalOutResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.c new file mode 100644 index 000000000..1e1f22bcc --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadAbortJoggingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "ThreadAbortJoggingRequest.pb-c.h" +void thread_abort_jogging_request__init + (ThreadAbortJoggingRequest *message) +{ + static const ThreadAbortJoggingRequest init_value = THREAD_ABORT_JOGGING_REQUEST__INIT; + *message = init_value; +} +size_t thread_abort_jogging_request__get_packed_size + (const ThreadAbortJoggingRequest *message) +{ + assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t thread_abort_jogging_request__pack + (const ThreadAbortJoggingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t thread_abort_jogging_request__pack_to_buffer + (const ThreadAbortJoggingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +ThreadAbortJoggingRequest * + thread_abort_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (ThreadAbortJoggingRequest *) + protobuf_c_message_unpack (&thread_abort_jogging_request__descriptor, + allocator, len, data); +} +void thread_abort_jogging_request__free_unpacked + (ThreadAbortJoggingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &thread_abort_jogging_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define thread_abort_jogging_request__field_descriptors NULL +#define thread_abort_jogging_request__field_indices_by_name NULL +#define thread_abort_jogging_request__number_ranges NULL +const ProtobufCMessageDescriptor thread_abort_jogging_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "ThreadAbortJoggingRequest", + "ThreadAbortJoggingRequest", + "ThreadAbortJoggingRequest", + "", + sizeof(ThreadAbortJoggingRequest), + 0, + thread_abort_jogging_request__field_descriptors, + thread_abort_jogging_request__field_indices_by_name, + 0, thread_abort_jogging_request__number_ranges, + (ProtobufCMessageInit) thread_abort_jogging_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.h new file mode 100644 index 000000000..4bc112122 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingRequest.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadAbortJoggingRequest.proto */ + +#ifndef PROTOBUF_C_ThreadAbortJoggingRequest_2eproto__INCLUDED +#define PROTOBUF_C_ThreadAbortJoggingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _ThreadAbortJoggingRequest ThreadAbortJoggingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _ThreadAbortJoggingRequest +{ + ProtobufCMessage base; +}; +#define THREAD_ABORT_JOGGING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&thread_abort_jogging_request__descriptor) \ + } + + +/* ThreadAbortJoggingRequest methods */ +void thread_abort_jogging_request__init + (ThreadAbortJoggingRequest *message); +size_t thread_abort_jogging_request__get_packed_size + (const ThreadAbortJoggingRequest *message); +size_t thread_abort_jogging_request__pack + (const ThreadAbortJoggingRequest *message, + uint8_t *out); +size_t thread_abort_jogging_request__pack_to_buffer + (const ThreadAbortJoggingRequest *message, + ProtobufCBuffer *buffer); +ThreadAbortJoggingRequest * + thread_abort_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void thread_abort_jogging_request__free_unpacked + (ThreadAbortJoggingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*ThreadAbortJoggingRequest_Closure) + (const ThreadAbortJoggingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor thread_abort_jogging_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_ThreadAbortJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.c new file mode 100644 index 000000000..4142dfc18 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadAbortJoggingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "ThreadAbortJoggingResponse.pb-c.h" +void thread_abort_jogging_response__init + (ThreadAbortJoggingResponse *message) +{ + static const ThreadAbortJoggingResponse init_value = THREAD_ABORT_JOGGING_RESPONSE__INIT; + *message = init_value; +} +size_t thread_abort_jogging_response__get_packed_size + (const ThreadAbortJoggingResponse *message) +{ + assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t thread_abort_jogging_response__pack + (const ThreadAbortJoggingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t thread_abort_jogging_response__pack_to_buffer + (const ThreadAbortJoggingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +ThreadAbortJoggingResponse * + thread_abort_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (ThreadAbortJoggingResponse *) + protobuf_c_message_unpack (&thread_abort_jogging_response__descriptor, + allocator, len, data); +} +void thread_abort_jogging_response__free_unpacked + (ThreadAbortJoggingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &thread_abort_jogging_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define thread_abort_jogging_response__field_descriptors NULL +#define thread_abort_jogging_response__field_indices_by_name NULL +#define thread_abort_jogging_response__number_ranges NULL +const ProtobufCMessageDescriptor thread_abort_jogging_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "ThreadAbortJoggingResponse", + "ThreadAbortJoggingResponse", + "ThreadAbortJoggingResponse", + "", + sizeof(ThreadAbortJoggingResponse), + 0, + thread_abort_jogging_response__field_descriptors, + thread_abort_jogging_response__field_indices_by_name, + 0, thread_abort_jogging_response__number_ranges, + (ProtobufCMessageInit) thread_abort_jogging_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.h new file mode 100644 index 000000000..7d3d7e82a --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadAbortJoggingResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadAbortJoggingResponse.proto */ + +#ifndef PROTOBUF_C_ThreadAbortJoggingResponse_2eproto__INCLUDED +#define PROTOBUF_C_ThreadAbortJoggingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _ThreadAbortJoggingResponse ThreadAbortJoggingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _ThreadAbortJoggingResponse +{ + ProtobufCMessage base; +}; +#define THREAD_ABORT_JOGGING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&thread_abort_jogging_response__descriptor) \ + } + + +/* ThreadAbortJoggingResponse methods */ +void thread_abort_jogging_response__init + (ThreadAbortJoggingResponse *message); +size_t thread_abort_jogging_response__get_packed_size + (const ThreadAbortJoggingResponse *message); +size_t thread_abort_jogging_response__pack + (const ThreadAbortJoggingResponse *message, + uint8_t *out); +size_t thread_abort_jogging_response__pack_to_buffer + (const ThreadAbortJoggingResponse *message, + ProtobufCBuffer *buffer); +ThreadAbortJoggingResponse * + thread_abort_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void thread_abort_jogging_response__free_unpacked + (ThreadAbortJoggingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*ThreadAbortJoggingResponse_Closure) + (const ThreadAbortJoggingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor thread_abort_jogging_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_ThreadAbortJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.c new file mode 100644 index 000000000..f0b387414 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.c @@ -0,0 +1,106 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadJoggingRequest.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "ThreadJoggingRequest.pb-c.h" +void thread_jogging_request__init + (ThreadJoggingRequest *message) +{ + static const ThreadJoggingRequest init_value = THREAD_JOGGING_REQUEST__INIT; + *message = init_value; +} +size_t thread_jogging_request__get_packed_size + (const ThreadJoggingRequest *message) +{ + assert(message->base.descriptor == &thread_jogging_request__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t thread_jogging_request__pack + (const ThreadJoggingRequest *message, + uint8_t *out) +{ + assert(message->base.descriptor == &thread_jogging_request__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t thread_jogging_request__pack_to_buffer + (const ThreadJoggingRequest *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &thread_jogging_request__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +ThreadJoggingRequest * + thread_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (ThreadJoggingRequest *) + protobuf_c_message_unpack (&thread_jogging_request__descriptor, + allocator, len, data); +} +void thread_jogging_request__free_unpacked + (ThreadJoggingRequest *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &thread_jogging_request__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor thread_jogging_request__field_descriptors[2] = +{ + { + "Direction", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(ThreadJoggingRequest, has_direction), + offsetof(ThreadJoggingRequest, direction), + &motor_direction__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "Speed", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(ThreadJoggingRequest, has_speed), + offsetof(ThreadJoggingRequest, speed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned thread_jogging_request__field_indices_by_name[] = { + 0, /* field[0] = Direction */ + 1, /* field[1] = Speed */ +}; +static const ProtobufCIntRange thread_jogging_request__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 3, 1 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor thread_jogging_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "ThreadJoggingRequest", + "ThreadJoggingRequest", + "ThreadJoggingRequest", + "", + sizeof(ThreadJoggingRequest), + 2, + thread_jogging_request__field_descriptors, + thread_jogging_request__field_indices_by_name, + 2, thread_jogging_request__number_ranges, + (ProtobufCMessageInit) thread_jogging_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.h new file mode 100644 index 000000000..7669215aa --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingRequest.pb-c.h @@ -0,0 +1,75 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadJoggingRequest.proto */ + +#ifndef PROTOBUF_C_ThreadJoggingRequest_2eproto__INCLUDED +#define PROTOBUF_C_ThreadJoggingRequest_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + +#include "MotorDirection.pb-c.h" + +typedef struct _ThreadJoggingRequest ThreadJoggingRequest; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _ThreadJoggingRequest +{ + ProtobufCMessage base; + protobuf_c_boolean has_direction; + MotorDirection direction; + protobuf_c_boolean has_speed; + double speed; +}; +#define THREAD_JOGGING_REQUEST__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&thread_jogging_request__descriptor) \ + , 0, MOTOR_DIRECTION__Forward, 0, 0 } + + +/* ThreadJoggingRequest methods */ +void thread_jogging_request__init + (ThreadJoggingRequest *message); +size_t thread_jogging_request__get_packed_size + (const ThreadJoggingRequest *message); +size_t thread_jogging_request__pack + (const ThreadJoggingRequest *message, + uint8_t *out); +size_t thread_jogging_request__pack_to_buffer + (const ThreadJoggingRequest *message, + ProtobufCBuffer *buffer); +ThreadJoggingRequest * + thread_jogging_request__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void thread_jogging_request__free_unpacked + (ThreadJoggingRequest *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*ThreadJoggingRequest_Closure) + (const ThreadJoggingRequest *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor thread_jogging_request__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_ThreadJoggingRequest_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.c new file mode 100644 index 000000000..c54896825 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.c @@ -0,0 +1,72 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadJoggingResponse.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "ThreadJoggingResponse.pb-c.h" +void thread_jogging_response__init + (ThreadJoggingResponse *message) +{ + static const ThreadJoggingResponse init_value = THREAD_JOGGING_RESPONSE__INIT; + *message = init_value; +} +size_t thread_jogging_response__get_packed_size + (const ThreadJoggingResponse *message) +{ + assert(message->base.descriptor == &thread_jogging_response__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t thread_jogging_response__pack + (const ThreadJoggingResponse *message, + uint8_t *out) +{ + assert(message->base.descriptor == &thread_jogging_response__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t thread_jogging_response__pack_to_buffer + (const ThreadJoggingResponse *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &thread_jogging_response__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +ThreadJoggingResponse * + thread_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (ThreadJoggingResponse *) + protobuf_c_message_unpack (&thread_jogging_response__descriptor, + allocator, len, data); +} +void thread_jogging_response__free_unpacked + (ThreadJoggingResponse *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &thread_jogging_response__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +#define thread_jogging_response__field_descriptors NULL +#define thread_jogging_response__field_indices_by_name NULL +#define thread_jogging_response__number_ranges NULL +const ProtobufCMessageDescriptor thread_jogging_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "ThreadJoggingResponse", + "ThreadJoggingResponse", + "ThreadJoggingResponse", + "", + sizeof(ThreadJoggingResponse), + 0, + thread_jogging_response__field_descriptors, + thread_jogging_response__field_indices_by_name, + 0, thread_jogging_response__number_ranges, + (ProtobufCMessageInit) thread_jogging_response__init, + NULL,NULL,NULL /* reserved[123] */ +}; diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.h new file mode 100644 index 000000000..669b0a7b4 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/ThreadJoggingResponse.pb-c.h @@ -0,0 +1,70 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: ThreadJoggingResponse.proto */ + +#ifndef PROTOBUF_C_ThreadJoggingResponse_2eproto__INCLUDED +#define PROTOBUF_C_ThreadJoggingResponse_2eproto__INCLUDED + +#include + +PROTOBUF_C__BEGIN_DECLS + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. +#endif + + +typedef struct _ThreadJoggingResponse ThreadJoggingResponse; + + +/* --- enums --- */ + + +/* --- messages --- */ + +struct _ThreadJoggingResponse +{ + ProtobufCMessage base; +}; +#define THREAD_JOGGING_RESPONSE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&thread_jogging_response__descriptor) \ + } + + +/* ThreadJoggingResponse methods */ +void thread_jogging_response__init + (ThreadJoggingResponse *message); +size_t thread_jogging_response__get_packed_size + (const ThreadJoggingResponse *message); +size_t thread_jogging_response__pack + (const ThreadJoggingResponse *message, + uint8_t *out); +size_t thread_jogging_response__pack_to_buffer + (const ThreadJoggingResponse *message, + ProtobufCBuffer *buffer); +ThreadJoggingResponse * + thread_jogging_response__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void thread_jogging_response__free_unpacked + (ThreadJoggingResponse *message, + ProtobufCAllocator *allocator); +/* --- per-message closures --- */ + +typedef void (*ThreadJoggingResponse_Closure) + (const ThreadJoggingResponse *message, + void *closure_data); + +/* --- services --- */ + + +/* --- descriptors --- */ + +extern const ProtobufCMessageDescriptor thread_jogging_response__descriptor; + +PROTOBUF_C__END_DECLS + + +#endif /* PROTOBUF_C_ThreadJoggingResponse_2eproto__INCLUDED */ diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj index 710e54be6..4b6946228 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj +++ b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj @@ -154,8 +154,11 @@ - - + + + + + @@ -170,8 +173,11 @@ - - + + + + + diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters index 32b8b436d..4b2415b0e 100644 --- a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters +++ b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters @@ -48,12 +48,6 @@ PMR - - PMR - - - PMR - PMR @@ -63,6 +57,21 @@ Protobuf + + PMR + + + PMR + + + PMR + + + PMR + + + PMR + @@ -86,12 +95,6 @@ PMR - - PMR - - - PMR - PMR @@ -104,5 +107,20 @@ Protobuf + + PMR + + + PMR + + + PMR + + + PMR + + + PMR + \ No newline at end of file -- cgit v1.3.1