diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2013-10-23 09:02:33 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-07 13:18:10 -0500 |
commit | da1d41840879bc75a9df06972e1ec191bbfd3691 (patch) | |
tree | d25f57f7872963396f83ca0f10f2aa4c73b29d04 /gen/cpp/openxc.pb | |
parent | 4904749890b1f2570f9197da99a07a76471e8400 (diff) |
Switch back to many subtypes for binary messages.
Some protobuf libraries don't support checking if a field exists (they
always return a default value), so although this style has more code it
is easier to support.
Diffstat (limited to 'gen/cpp/openxc.pb')
-rw-r--r-- | gen/cpp/openxc.pb | 54 |
1 files changed, 38 insertions, 16 deletions
diff --git a/gen/cpp/openxc.pb b/gen/cpp/openxc.pb index d4356e1c..7efe870c 100644 --- a/gen/cpp/openxc.pb +++ b/gen/cpp/openxc.pb @@ -1,27 +1,49 @@ -à -openxc.protoopenxc"¼ +Ú +openxc.protoopenxc"š VehicleMessage) type (2.openxc.VehicleMessage.Type' -raw_message (2.openxc.RawMessage5 -translated_message (2.openxc.TranslatedMessage" +raw_message (2.openxc.RawMessage- +string_message (2.openxc.StringMessage/ +numeric_message (2.openxc.NumericMessage/ +boolean_message (2.openxc.BooleanMessage< +evented_string_message (2.openxc.EventedStringMessage> +evented_boolean_message (2.openxc.EventedBooleanMessage> +evented_numeric_message (2.openxc.EventedNumericMessage"e Type -RAW +RAW -TRANSLATED"; +STRING +BOOL +NUM +EVENTED_NUM +EVENTED_STRING +EVENTED_BOOL"- RawMessage bus ( -message_id (
-data (" -TranslatedMessage -name ( -string_value ( -numerical_value ( -
boolean_value ( -string_event ( -numerical_event ( -
boolean_event (B +message_id (
", +
StringMessage +name (
+value ( "- +NumericMessage +name (
+value ("- +BooleanMessage +name (
+value ("B +EventedStringMessage +name (
+value (
+event ( "C +EventedBooleanMessage +name (
+value (
+event ("C +EventedNumericMessage +name (
+value (
+event (B com.openxcBBinaryMessages
\ No newline at end of file |