ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
topics.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: topics.proto
3 
4 #ifndef PROTOBUF_topics_2eproto__INCLUDED
5 #define PROTOBUF_topics_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3002000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3002000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_util.h>
26 #include <google/protobuf/metadata.h>
27 #include <google/protobuf/message.h>
28 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
29 #include <google/protobuf/extension_set.h> // IWYU pragma: export
30 #include <google/protobuf/unknown_field_set.h>
31 // @@protoc_insertion_point(includes)
32 namespace modif {
33 class LampTopic;
34 class LampTopicDefaultTypeInternal;
35 extern LampTopicDefaultTypeInternal _LampTopic_default_instance_;
36 class MotorAxisInfo;
37 class MotorAxisInfoDefaultTypeInternal;
38 extern MotorAxisInfoDefaultTypeInternal _MotorAxisInfo_default_instance_;
39 class MotorInitInfo;
40 class MotorInitInfoDefaultTypeInternal;
41 extern MotorInitInfoDefaultTypeInternal _MotorInitInfo_default_instance_;
42 class MotorPosition;
43 class MotorPositionDefaultTypeInternal;
44 extern MotorPositionDefaultTypeInternal _MotorPosition_default_instance_;
45 class MotorSwitchInfo;
46 class MotorSwitchInfoDefaultTypeInternal;
47 extern MotorSwitchInfoDefaultTypeInternal _MotorSwitchInfo_default_instance_;
48 class MotorTopic;
49 class MotorTopicDefaultTypeInternal;
50 extern MotorTopicDefaultTypeInternal _MotorTopic_default_instance_;
51 class SensorTopic;
52 class SensorTopicDefaultTypeInternal;
53 extern SensorTopicDefaultTypeInternal _SensorTopic_default_instance_;
54 class ShutterTopic;
55 class ShutterTopicDefaultTypeInternal;
56 extern ShutterTopicDefaultTypeInternal _ShutterTopic_default_instance_;
57 class States;
58 class StatesDefaultTypeInternal;
59 extern StatesDefaultTypeInternal _States_default_instance_;
60 class TaskId;
61 class TaskIdDefaultTypeInternal;
62 extern TaskIdDefaultTypeInternal _TaskId_default_instance_;
63 } // namespace modif
64 
65 namespace modif {
66 
67 namespace protobuf_topics_2eproto {
68 // Internal implementation detail -- do not call these.
69 struct TableStruct {
70  static const ::google::protobuf::uint32 offsets[];
71  static void InitDefaultsImpl();
72  static void Shutdown();
73 };
74 void AddDescriptors();
75 void InitDefaults();
76 } // namespace protobuf_topics_2eproto
77 
78 // ===================================================================
79 
80 class TaskId : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.TaskId) */ {
81  public:
82  TaskId();
83  virtual ~TaskId();
84 
85  TaskId(const TaskId& from);
86 
87  inline TaskId& operator=(const TaskId& from) {
88  CopyFrom(from);
89  return *this;
90  }
91 
92  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
93  return _internal_metadata_.unknown_fields();
94  }
95 
96  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
97  return _internal_metadata_.mutable_unknown_fields();
98  }
99 
100  static const ::google::protobuf::Descriptor* descriptor();
101  static const TaskId& default_instance();
102 
103  static inline const TaskId* internal_default_instance() {
104  return reinterpret_cast<const TaskId*>(
106  }
107 
108  void Swap(TaskId* other);
109 
110  // implements Message ----------------------------------------------
111 
112  inline TaskId* New() const PROTOBUF_FINAL { return New(NULL); }
113 
114  TaskId* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
115  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
116  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
117  void CopyFrom(const TaskId& from);
118  void MergeFrom(const TaskId& from);
119  void Clear() PROTOBUF_FINAL;
120  bool IsInitialized() const PROTOBUF_FINAL;
121 
122  size_t ByteSizeLong() const PROTOBUF_FINAL;
124  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
126  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
127  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
128  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
129  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
130  const PROTOBUF_FINAL {
132  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
133  }
134  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
135  private:
136  void SharedCtor();
137  void SharedDtor();
138  void SetCachedSize(int size) const PROTOBUF_FINAL;
139  void InternalSwap(TaskId* other);
140  private:
141  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
142  return NULL;
143  }
144  inline void* MaybeArenaPtr() const {
145  return NULL;
146  }
147  public:
148 
149  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
150 
151  // nested types ----------------------------------------------------
152 
153  // accessors -------------------------------------------------------
154 
155  // optional string id = 1;
156  bool has_id() const;
157  void clear_id();
158  static const int kIdFieldNumber = 1;
159  const ::std::string& id() const;
160  void set_id(const ::std::string& value);
161  #if LANG_CXX11
162  void set_id(::std::string&& value);
163  #endif
164  void set_id(const char* value);
165  void set_id(const char* value, size_t size);
166  ::std::string* mutable_id();
167  ::std::string* release_id();
168  void set_allocated_id(::std::string* id);
169 
170  // optional string msg = 2;
171  bool has_msg() const;
172  void clear_msg();
173  static const int kMsgFieldNumber = 2;
174  const ::std::string& msg() const;
175  void set_msg(const ::std::string& value);
176  #if LANG_CXX11
177  void set_msg(::std::string&& value);
178  #endif
179  void set_msg(const char* value);
180  void set_msg(const char* value, size_t size);
181  ::std::string* mutable_msg();
182  ::std::string* release_msg();
183  void set_allocated_msg(::std::string* msg);
184 
185  // @@protoc_insertion_point(class_scope:modif.TaskId)
186  private:
187  void set_has_id();
188  void clear_has_id();
189  void set_has_msg();
190  void clear_has_msg();
191 
192  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
193  ::google::protobuf::internal::HasBits<1> _has_bits_;
194  mutable int _cached_size_;
195  ::google::protobuf::internal::ArenaStringPtr id_;
196  ::google::protobuf::internal::ArenaStringPtr msg_;
198 };
199 // -------------------------------------------------------------------
200 
201 class LampTopic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.LampTopic) */ {
202  public:
203  LampTopic();
204  virtual ~LampTopic();
205 
206  LampTopic(const LampTopic& from);
207 
208  inline LampTopic& operator=(const LampTopic& from) {
209  CopyFrom(from);
210  return *this;
211  }
212 
213  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
214  return _internal_metadata_.unknown_fields();
215  }
216 
217  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
218  return _internal_metadata_.mutable_unknown_fields();
219  }
220 
221  static const ::google::protobuf::Descriptor* descriptor();
222  static const LampTopic& default_instance();
223 
224  static inline const LampTopic* internal_default_instance() {
225  return reinterpret_cast<const LampTopic*>(
227  }
228 
229  void Swap(LampTopic* other);
230 
231  // implements Message ----------------------------------------------
232 
233  inline LampTopic* New() const PROTOBUF_FINAL { return New(NULL); }
234 
235  LampTopic* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
236  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
237  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
238  void CopyFrom(const LampTopic& from);
239  void MergeFrom(const LampTopic& from);
240  void Clear() PROTOBUF_FINAL;
241  bool IsInitialized() const PROTOBUF_FINAL;
242 
243  size_t ByteSizeLong() const PROTOBUF_FINAL;
245  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
247  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
248  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
249  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
250  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
251  const PROTOBUF_FINAL {
253  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
254  }
255  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
256  private:
257  void SharedCtor();
258  void SharedDtor();
259  void SetCachedSize(int size) const PROTOBUF_FINAL;
260  void InternalSwap(LampTopic* other);
261  private:
262  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
263  return NULL;
264  }
265  inline void* MaybeArenaPtr() const {
266  return NULL;
267  }
268  public:
269 
270  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
271 
272  // nested types ----------------------------------------------------
273 
274  // accessors -------------------------------------------------------
275 
276  // optional string error_str = 5;
277  bool has_error_str() const;
278  void clear_error_str();
279  static const int kErrorStrFieldNumber = 5;
280  const ::std::string& error_str() const;
281  void set_error_str(const ::std::string& value);
282  #if LANG_CXX11
283  void set_error_str(::std::string&& value);
284  #endif
285  void set_error_str(const char* value);
286  void set_error_str(const char* value, size_t size);
287  ::std::string* mutable_error_str();
288  ::std::string* release_error_str();
289  void set_allocated_error_str(::std::string* error_str);
290 
291  // optional .modif.States states = 1;
292  bool has_states() const;
293  void clear_states();
294  static const int kStatesFieldNumber = 1;
295  const ::modif::States& states() const;
299 
300  // optional float intensity = 2;
301  bool has_intensity() const;
302  void clear_intensity();
303  static const int kIntensityFieldNumber = 2;
304  float intensity() const;
305  void set_intensity(float value);
306 
307  // optional bool local = 3;
308  bool has_local() const;
309  void clear_local();
310  static const int kLocalFieldNumber = 3;
311  bool local() const;
312  void set_local(bool value);
313 
314  // optional int32 error_code = 4;
315  bool has_error_code() const;
316  void clear_error_code();
317  static const int kErrorCodeFieldNumber = 4;
318  ::google::protobuf::int32 error_code() const;
319  void set_error_code(::google::protobuf::int32 value);
320 
321  // @@protoc_insertion_point(class_scope:modif.LampTopic)
322  private:
323  void set_has_states();
324  void clear_has_states();
325  void set_has_intensity();
326  void clear_has_intensity();
327  void set_has_local();
328  void clear_has_local();
329  void set_has_error_code();
330  void clear_has_error_code();
331  void set_has_error_str();
332  void clear_has_error_str();
333 
334  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
335  ::google::protobuf::internal::HasBits<1> _has_bits_;
336  mutable int _cached_size_;
337  ::google::protobuf::internal::ArenaStringPtr error_str_;
338  ::modif::States* states_;
339  float intensity_;
340  bool local_;
341  ::google::protobuf::int32 error_code_;
343 };
344 // -------------------------------------------------------------------
345 
346 class ShutterTopic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.ShutterTopic) */ {
347  public:
348  ShutterTopic();
349  virtual ~ShutterTopic();
350 
351  ShutterTopic(const ShutterTopic& from);
352 
353  inline ShutterTopic& operator=(const ShutterTopic& from) {
354  CopyFrom(from);
355  return *this;
356  }
357 
358  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
359  return _internal_metadata_.unknown_fields();
360  }
361 
362  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
363  return _internal_metadata_.mutable_unknown_fields();
364  }
365 
366  static const ::google::protobuf::Descriptor* descriptor();
367  static const ShutterTopic& default_instance();
368 
369  static inline const ShutterTopic* internal_default_instance() {
370  return reinterpret_cast<const ShutterTopic*>(
372  }
373 
374  void Swap(ShutterTopic* other);
375 
376  // implements Message ----------------------------------------------
377 
378  inline ShutterTopic* New() const PROTOBUF_FINAL { return New(NULL); }
379 
380  ShutterTopic* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
381  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
382  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
383  void CopyFrom(const ShutterTopic& from);
384  void MergeFrom(const ShutterTopic& from);
385  void Clear() PROTOBUF_FINAL;
386  bool IsInitialized() const PROTOBUF_FINAL;
387 
388  size_t ByteSizeLong() const PROTOBUF_FINAL;
390  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
392  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
393  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
394  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
395  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
396  const PROTOBUF_FINAL {
398  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
399  }
400  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
401  private:
402  void SharedCtor();
403  void SharedDtor();
404  void SetCachedSize(int size) const PROTOBUF_FINAL;
405  void InternalSwap(ShutterTopic* other);
406  private:
407  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
408  return NULL;
409  }
410  inline void* MaybeArenaPtr() const {
411  return NULL;
412  }
413  public:
414 
415  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
416 
417  // nested types ----------------------------------------------------
418 
419  // accessors -------------------------------------------------------
420 
421  // optional string error_str = 4;
422  bool has_error_str() const;
423  void clear_error_str();
424  static const int kErrorStrFieldNumber = 4;
425  const ::std::string& error_str() const;
426  void set_error_str(const ::std::string& value);
427  #if LANG_CXX11
428  void set_error_str(::std::string&& value);
429  #endif
430  void set_error_str(const char* value);
431  void set_error_str(const char* value, size_t size);
432  ::std::string* mutable_error_str();
433  ::std::string* release_error_str();
434  void set_allocated_error_str(::std::string* error_str);
435 
436  // optional .modif.States states = 1;
437  bool has_states() const;
438  void clear_states();
439  static const int kStatesFieldNumber = 1;
440  const ::modif::States& states() const;
444 
445  // optional bool local = 2;
446  bool has_local() const;
447  void clear_local();
448  static const int kLocalFieldNumber = 2;
449  bool local() const;
450  void set_local(bool value);
451 
452  // optional int32 error_code = 3;
453  bool has_error_code() const;
454  void clear_error_code();
455  static const int kErrorCodeFieldNumber = 3;
456  ::google::protobuf::int32 error_code() const;
457  void set_error_code(::google::protobuf::int32 value);
458 
459  // @@protoc_insertion_point(class_scope:modif.ShutterTopic)
460  private:
461  void set_has_states();
462  void clear_has_states();
463  void set_has_local();
464  void clear_has_local();
465  void set_has_error_code();
466  void clear_has_error_code();
467  void set_has_error_str();
468  void clear_has_error_str();
469 
470  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
471  ::google::protobuf::internal::HasBits<1> _has_bits_;
472  mutable int _cached_size_;
473  ::google::protobuf::internal::ArenaStringPtr error_str_;
474  ::modif::States* states_;
475  bool local_;
476  ::google::protobuf::int32 error_code_;
478 };
479 // -------------------------------------------------------------------
480 
481 class SensorTopic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.SensorTopic) */ {
482  public:
483  SensorTopic();
484  virtual ~SensorTopic();
485 
486  SensorTopic(const SensorTopic& from);
487 
488  inline SensorTopic& operator=(const SensorTopic& from) {
489  CopyFrom(from);
490  return *this;
491  }
492 
493  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
494  return _internal_metadata_.unknown_fields();
495  }
496 
497  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
498  return _internal_metadata_.mutable_unknown_fields();
499  }
500 
501  static const ::google::protobuf::Descriptor* descriptor();
502  static const SensorTopic& default_instance();
503 
504  static inline const SensorTopic* internal_default_instance() {
505  return reinterpret_cast<const SensorTopic*>(
507  }
508 
509  void Swap(SensorTopic* other);
510 
511  // implements Message ----------------------------------------------
512 
513  inline SensorTopic* New() const PROTOBUF_FINAL { return New(NULL); }
514 
515  SensorTopic* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
516  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
517  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
518  void CopyFrom(const SensorTopic& from);
519  void MergeFrom(const SensorTopic& from);
520  void Clear() PROTOBUF_FINAL;
521  bool IsInitialized() const PROTOBUF_FINAL;
522 
523  size_t ByteSizeLong() const PROTOBUF_FINAL;
525  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
527  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
528  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
529  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
530  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
531  const PROTOBUF_FINAL {
533  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
534  }
535  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
536  private:
537  void SharedCtor();
538  void SharedDtor();
539  void SetCachedSize(int size) const PROTOBUF_FINAL;
540  void InternalSwap(SensorTopic* other);
541  private:
542  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
543  return NULL;
544  }
545  inline void* MaybeArenaPtr() const {
546  return NULL;
547  }
548  public:
549 
550  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
551 
552  // nested types ----------------------------------------------------
553 
554  // accessors -------------------------------------------------------
555 
556  // optional .modif.States states = 1;
557  bool has_states() const;
558  void clear_states();
559  static const int kStatesFieldNumber = 1;
560  const ::modif::States& states() const;
564 
565  // @@protoc_insertion_point(class_scope:modif.SensorTopic)
566  private:
567  void set_has_states();
568  void clear_has_states();
569 
570  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
571  ::google::protobuf::internal::HasBits<1> _has_bits_;
572  mutable int _cached_size_;
573  ::modif::States* states_;
574  friend struct protobuf_topics_2eproto::TableStruct;
575 };
576 // -------------------------------------------------------------------
577 
578 class MotorSwitchInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.MotorSwitchInfo) */ {
579  public:
580  MotorSwitchInfo();
581  virtual ~MotorSwitchInfo();
582 
583  MotorSwitchInfo(const MotorSwitchInfo& from);
584 
586  CopyFrom(from);
587  return *this;
588  }
589 
590  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
591  return _internal_metadata_.unknown_fields();
592  }
593 
594  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
595  return _internal_metadata_.mutable_unknown_fields();
596  }
597 
598  static const ::google::protobuf::Descriptor* descriptor();
599  static const MotorSwitchInfo& default_instance();
600 
602  return reinterpret_cast<const MotorSwitchInfo*>(
604  }
605 
606  void Swap(MotorSwitchInfo* other);
607 
608  // implements Message ----------------------------------------------
609 
610  inline MotorSwitchInfo* New() const PROTOBUF_FINAL { return New(NULL); }
611 
612  MotorSwitchInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
613  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
614  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
615  void CopyFrom(const MotorSwitchInfo& from);
616  void MergeFrom(const MotorSwitchInfo& from);
617  void Clear() PROTOBUF_FINAL;
618  bool IsInitialized() const PROTOBUF_FINAL;
619 
620  size_t ByteSizeLong() const PROTOBUF_FINAL;
622  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
624  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
625  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
626  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
627  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
628  const PROTOBUF_FINAL {
630  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
631  }
632  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
633  private:
634  void SharedCtor();
635  void SharedDtor();
636  void SetCachedSize(int size) const PROTOBUF_FINAL;
637  void InternalSwap(MotorSwitchInfo* other);
638  private:
639  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
640  return NULL;
641  }
642  inline void* MaybeArenaPtr() const {
643  return NULL;
644  }
645  public:
646 
647  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
648 
649  // nested types ----------------------------------------------------
650 
651  // accessors -------------------------------------------------------
652 
653  // optional bool lstop = 1;
654  bool has_lstop() const;
655  void clear_lstop();
656  static const int kLstopFieldNumber = 1;
657  bool lstop() const;
658  void set_lstop(bool value);
659 
660  // optional bool lhw = 2;
661  bool has_lhw() const;
662  void clear_lhw();
663  static const int kLhwFieldNumber = 2;
664  bool lhw() const;
665  void set_lhw(bool value);
666 
667  // optional bool ref = 3;
668  bool has_ref() const;
669  void clear_ref();
670  static const int kRefFieldNumber = 3;
671  bool ref() const;
672  void set_ref(bool value);
673 
674  // optional bool index = 4;
675  bool has_index() const;
676  void clear_index();
677  static const int kIndexFieldNumber = 4;
678  bool index() const;
679  void set_index(bool value);
680 
681  // optional bool uhw = 5;
682  bool has_uhw() const;
683  void clear_uhw();
684  static const int kUhwFieldNumber = 5;
685  bool uhw() const;
686  void set_uhw(bool value);
687 
688  // optional bool ustop = 6;
689  bool has_ustop() const;
690  void clear_ustop();
691  static const int kUstopFieldNumber = 6;
692  bool ustop() const;
693  void set_ustop(bool value);
694 
695  // @@protoc_insertion_point(class_scope:modif.MotorSwitchInfo)
696  private:
697  void set_has_lstop();
698  void clear_has_lstop();
699  void set_has_lhw();
700  void clear_has_lhw();
701  void set_has_ref();
702  void clear_has_ref();
703  void set_has_index();
704  void clear_has_index();
705  void set_has_uhw();
706  void clear_has_uhw();
707  void set_has_ustop();
708  void clear_has_ustop();
709 
710  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
711  ::google::protobuf::internal::HasBits<1> _has_bits_;
712  mutable int _cached_size_;
713  bool lstop_;
714  bool lhw_;
715  bool ref_;
716  bool index_;
717  bool uhw_;
718  bool ustop_;
719  friend struct protobuf_topics_2eproto::TableStruct;
720 };
721 // -------------------------------------------------------------------
722 
723 class MotorAxisInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.MotorAxisInfo) */ {
724  public:
725  MotorAxisInfo();
726  virtual ~MotorAxisInfo();
727 
728  MotorAxisInfo(const MotorAxisInfo& from);
729 
730  inline MotorAxisInfo& operator=(const MotorAxisInfo& from) {
731  CopyFrom(from);
732  return *this;
733  }
734 
735  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
736  return _internal_metadata_.unknown_fields();
737  }
738 
739  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
740  return _internal_metadata_.mutable_unknown_fields();
741  }
742 
743  static const ::google::protobuf::Descriptor* descriptor();
744  static const MotorAxisInfo& default_instance();
745 
746  static inline const MotorAxisInfo* internal_default_instance() {
747  return reinterpret_cast<const MotorAxisInfo*>(
749  }
750 
751  void Swap(MotorAxisInfo* other);
752 
753  // implements Message ----------------------------------------------
754 
755  inline MotorAxisInfo* New() const PROTOBUF_FINAL { return New(NULL); }
756 
757  MotorAxisInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
758  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
759  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
760  void CopyFrom(const MotorAxisInfo& from);
761  void MergeFrom(const MotorAxisInfo& from);
762  void Clear() PROTOBUF_FINAL;
763  bool IsInitialized() const PROTOBUF_FINAL;
764 
765  size_t ByteSizeLong() const PROTOBUF_FINAL;
767  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
769  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
770  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
771  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
772  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
773  const PROTOBUF_FINAL {
775  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
776  }
777  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
778  private:
779  void SharedCtor();
780  void SharedDtor();
781  void SetCachedSize(int size) const PROTOBUF_FINAL;
782  void InternalSwap(MotorAxisInfo* other);
783  private:
784  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
785  return NULL;
786  }
787  inline void* MaybeArenaPtr() const {
788  return NULL;
789  }
790  public:
791 
792  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
793 
794  // nested types ----------------------------------------------------
795 
796  // accessors -------------------------------------------------------
797 
798  // optional bool ready = 1;
799  bool has_ready() const;
800  void clear_ready();
801  static const int kReadyFieldNumber = 1;
802  bool ready() const;
803  void set_ready(bool value);
804 
805  // optional bool enabled = 2;
806  bool has_enabled() const;
807  void clear_enabled();
808  static const int kEnabledFieldNumber = 2;
809  bool enabled() const;
810  void set_enabled(bool value);
811 
812  // optional bool braked = 3;
813  bool has_braked() const;
814  void clear_braked();
815  static const int kBrakedFieldNumber = 3;
816  bool braked() const;
817  void set_braked(bool value);
818 
819  // optional bool locked = 4;
820  bool has_locked() const;
821  void clear_locked();
822  static const int kLockedFieldNumber = 4;
823  bool locked() const;
824  void set_locked(bool value);
825 
826  // optional bool in_position = 5;
827  bool has_in_position() const;
828  void clear_in_position();
829  static const int kInPositionFieldNumber = 5;
830  bool in_position() const;
831  void set_in_position(bool value);
832 
833  // @@protoc_insertion_point(class_scope:modif.MotorAxisInfo)
834  private:
835  void set_has_ready();
836  void clear_has_ready();
837  void set_has_enabled();
838  void clear_has_enabled();
839  void set_has_braked();
840  void clear_has_braked();
841  void set_has_locked();
842  void clear_has_locked();
843  void set_has_in_position();
844  void clear_has_in_position();
845 
846  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
847  ::google::protobuf::internal::HasBits<1> _has_bits_;
848  mutable int _cached_size_;
849  bool ready_;
850  bool enabled_;
851  bool braked_;
852  bool locked_;
853  bool in_position_;
854  friend struct protobuf_topics_2eproto::TableStruct;
855 };
856 // -------------------------------------------------------------------
857 
858 class MotorPosition : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.MotorPosition) */ {
859  public:
860  MotorPosition();
861  virtual ~MotorPosition();
862 
863  MotorPosition(const MotorPosition& from);
864 
865  inline MotorPosition& operator=(const MotorPosition& from) {
866  CopyFrom(from);
867  return *this;
868  }
869 
870  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
871  return _internal_metadata_.unknown_fields();
872  }
873 
874  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
875  return _internal_metadata_.mutable_unknown_fields();
876  }
877 
878  static const ::google::protobuf::Descriptor* descriptor();
879  static const MotorPosition& default_instance();
880 
881  static inline const MotorPosition* internal_default_instance() {
882  return reinterpret_cast<const MotorPosition*>(
884  }
885 
886  void Swap(MotorPosition* other);
887 
888  // implements Message ----------------------------------------------
889 
890  inline MotorPosition* New() const PROTOBUF_FINAL { return New(NULL); }
891 
892  MotorPosition* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
893  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
894  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
895  void CopyFrom(const MotorPosition& from);
896  void MergeFrom(const MotorPosition& from);
897  void Clear() PROTOBUF_FINAL;
898  bool IsInitialized() const PROTOBUF_FINAL;
899 
900  size_t ByteSizeLong() const PROTOBUF_FINAL;
902  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
904  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
905  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
906  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
907  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
908  const PROTOBUF_FINAL {
910  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
911  }
912  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
913  private:
914  void SharedCtor();
915  void SharedDtor();
916  void SetCachedSize(int size) const PROTOBUF_FINAL;
917  void InternalSwap(MotorPosition* other);
918  private:
919  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
920  return NULL;
921  }
922  inline void* MaybeArenaPtr() const {
923  return NULL;
924  }
925  public:
926 
927  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
928 
929  // nested types ----------------------------------------------------
930 
931  // accessors -------------------------------------------------------
932 
933  // optional string name = 3;
934  bool has_name() const;
935  void clear_name();
936  static const int kNameFieldNumber = 3;
937  const ::std::string& name() const;
938  void set_name(const ::std::string& value);
939  #if LANG_CXX11
940  void set_name(::std::string&& value);
941  #endif
942  void set_name(const char* value);
943  void set_name(const char* value, size_t size);
944  ::std::string* mutable_name();
945  ::std::string* release_name();
946  void set_allocated_name(::std::string* name);
947 
948  // optional double uu = 1;
949  bool has_uu() const;
950  void clear_uu();
951  static const int kUuFieldNumber = 1;
952  double uu() const;
953  void set_uu(double value);
954 
955  // optional double enc = 2;
956  bool has_enc() const;
957  void clear_enc();
958  static const int kEncFieldNumber = 2;
959  double enc() const;
960  void set_enc(double value);
961 
962  // @@protoc_insertion_point(class_scope:modif.MotorPosition)
963  private:
964  void set_has_uu();
965  void clear_has_uu();
966  void set_has_enc();
967  void clear_has_enc();
968  void set_has_name();
969  void clear_has_name();
970 
971  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
972  ::google::protobuf::internal::HasBits<1> _has_bits_;
973  mutable int _cached_size_;
974  ::google::protobuf::internal::ArenaStringPtr name_;
975  double uu_;
976  double enc_;
978 };
979 // -------------------------------------------------------------------
980 
981 class MotorInitInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.MotorInitInfo) */ {
982  public:
983  MotorInitInfo();
984  virtual ~MotorInitInfo();
985 
986  MotorInitInfo(const MotorInitInfo& from);
987 
988  inline MotorInitInfo& operator=(const MotorInitInfo& from) {
989  CopyFrom(from);
990  return *this;
991  }
992 
993  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
994  return _internal_metadata_.unknown_fields();
995  }
996 
997  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
998  return _internal_metadata_.mutable_unknown_fields();
999  }
1000 
1001  static const ::google::protobuf::Descriptor* descriptor();
1002  static const MotorInitInfo& default_instance();
1003 
1004  static inline const MotorInitInfo* internal_default_instance() {
1005  return reinterpret_cast<const MotorInitInfo*>(
1007  }
1008 
1009  void Swap(MotorInitInfo* other);
1010 
1011  // implements Message ----------------------------------------------
1012 
1013  inline MotorInitInfo* New() const PROTOBUF_FINAL { return New(NULL); }
1014 
1015  MotorInitInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1016  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1017  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1018  void CopyFrom(const MotorInitInfo& from);
1019  void MergeFrom(const MotorInitInfo& from);
1020  void Clear() PROTOBUF_FINAL;
1021  bool IsInitialized() const PROTOBUF_FINAL;
1022 
1023  size_t ByteSizeLong() const PROTOBUF_FINAL;
1025  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1027  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1028  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1029  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1030  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
1031  const PROTOBUF_FINAL {
1033  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
1034  }
1035  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1036  private:
1037  void SharedCtor();
1038  void SharedDtor();
1039  void SetCachedSize(int size) const PROTOBUF_FINAL;
1040  void InternalSwap(MotorInitInfo* other);
1041  private:
1042  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1043  return NULL;
1044  }
1045  inline void* MaybeArenaPtr() const {
1046  return NULL;
1047  }
1048  public:
1049 
1050  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1051 
1052  // nested types ----------------------------------------------------
1053 
1054  // accessors -------------------------------------------------------
1055 
1056  // optional bool initialised = 1;
1057  bool has_initialised() const;
1058  void clear_initialised();
1059  static const int kInitialisedFieldNumber = 1;
1060  bool initialised() const;
1061  void set_initialised(bool value);
1062 
1063  // optional int32 step = 2;
1064  bool has_step() const;
1065  void clear_step();
1066  static const int kStepFieldNumber = 2;
1067  ::google::protobuf::int32 step() const;
1068  void set_step(::google::protobuf::int32 value);
1069 
1070  // optional int32 action = 3;
1071  bool has_action() const;
1072  void clear_action();
1073  static const int kActionFieldNumber = 3;
1074  ::google::protobuf::int32 action() const;
1075  void set_action(::google::protobuf::int32 value);
1076 
1077  // @@protoc_insertion_point(class_scope:modif.MotorInitInfo)
1078  private:
1079  void set_has_initialised();
1080  void clear_has_initialised();
1081  void set_has_step();
1082  void clear_has_step();
1083  void set_has_action();
1084  void clear_has_action();
1085 
1086  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1087  ::google::protobuf::internal::HasBits<1> _has_bits_;
1088  mutable int _cached_size_;
1089  bool initialised_;
1090  ::google::protobuf::int32 step_;
1091  ::google::protobuf::int32 action_;
1092  friend struct protobuf_topics_2eproto::TableStruct;
1093 };
1094 // -------------------------------------------------------------------
1095 
1096 class MotorTopic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.MotorTopic) */ {
1097  public:
1098  MotorTopic();
1099  virtual ~MotorTopic();
1100 
1101  MotorTopic(const MotorTopic& from);
1102 
1103  inline MotorTopic& operator=(const MotorTopic& from) {
1104  CopyFrom(from);
1105  return *this;
1106  }
1107 
1108  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1109  return _internal_metadata_.unknown_fields();
1110  }
1111 
1112  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1113  return _internal_metadata_.mutable_unknown_fields();
1114  }
1115 
1116  static const ::google::protobuf::Descriptor* descriptor();
1117  static const MotorTopic& default_instance();
1118 
1119  static inline const MotorTopic* internal_default_instance() {
1120  return reinterpret_cast<const MotorTopic*>(
1122  }
1123 
1124  void Swap(MotorTopic* other);
1125 
1126  // implements Message ----------------------------------------------
1127 
1128  inline MotorTopic* New() const PROTOBUF_FINAL { return New(NULL); }
1129 
1130  MotorTopic* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1131  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1132  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1133  void CopyFrom(const MotorTopic& from);
1134  void MergeFrom(const MotorTopic& from);
1135  void Clear() PROTOBUF_FINAL;
1136  bool IsInitialized() const PROTOBUF_FINAL;
1137 
1138  size_t ByteSizeLong() const PROTOBUF_FINAL;
1140  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1142  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1143  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1144  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1145  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
1146  const PROTOBUF_FINAL {
1148  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
1149  }
1150  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1151  private:
1152  void SharedCtor();
1153  void SharedDtor();
1154  void SetCachedSize(int size) const PROTOBUF_FINAL;
1155  void InternalSwap(MotorTopic* other);
1156  private:
1157  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1158  return NULL;
1159  }
1160  inline void* MaybeArenaPtr() const {
1161  return NULL;
1162  }
1163  public:
1164 
1165  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1166 
1167  // nested types ----------------------------------------------------
1168 
1169  // accessors -------------------------------------------------------
1170 
1171  // optional string error_str = 13;
1172  bool has_error_str() const;
1173  void clear_error_str();
1174  static const int kErrorStrFieldNumber = 13;
1175  const ::std::string& error_str() const;
1176  void set_error_str(const ::std::string& value);
1177  #if LANG_CXX11
1178  void set_error_str(::std::string&& value);
1179  #endif
1180  void set_error_str(const char* value);
1181  void set_error_str(const char* value, size_t size);
1182  ::std::string* mutable_error_str();
1183  ::std::string* release_error_str();
1184  void set_allocated_error_str(::std::string* error_str);
1185 
1186  // optional .modif.States states = 1;
1187  bool has_states() const;
1188  void clear_states();
1189  static const int kStatesFieldNumber = 1;
1190  const ::modif::States& states() const;
1193  void set_allocated_states(::modif::States* states);
1194 
1195  // optional .modif.MotorPosition actual_pos = 2;
1196  bool has_actual_pos() const;
1197  void clear_actual_pos();
1198  static const int kActualPosFieldNumber = 2;
1200  ::modif::MotorPosition* mutable_actual_pos();
1201  ::modif::MotorPosition* release_actual_pos();
1202  void set_allocated_actual_pos(::modif::MotorPosition* actual_pos);
1203 
1204  // optional .modif.MotorPosition target_pos = 3;
1205  bool has_target_pos() const;
1206  void clear_target_pos();
1207  static const int kTargetPosFieldNumber = 3;
1209  ::modif::MotorPosition* mutable_target_pos();
1210  ::modif::MotorPosition* release_target_pos();
1211  void set_allocated_target_pos(::modif::MotorPosition* target_pos);
1212 
1213  // optional .modif.MotorInitInfo init_info = 4;
1214  bool has_init_info() const;
1215  void clear_init_info();
1216  static const int kInitInfoFieldNumber = 4;
1218  ::modif::MotorInitInfo* mutable_init_info();
1219  ::modif::MotorInitInfo* release_init_info();
1220  void set_allocated_init_info(::modif::MotorInitInfo* init_info);
1221 
1222  // optional .modif.MotorAxisInfo axis_info = 9;
1223  bool has_axis_info() const;
1224  void clear_axis_info();
1225  static const int kAxisInfoFieldNumber = 9;
1227  ::modif::MotorAxisInfo* mutable_axis_info();
1228  ::modif::MotorAxisInfo* release_axis_info();
1229  void set_allocated_axis_info(::modif::MotorAxisInfo* axis_info);
1230 
1231  // optional .modif.MotorSwitchInfo switch_info = 10;
1232  bool has_switch_info() const;
1233  void clear_switch_info();
1234  static const int kSwitchInfoFieldNumber = 10;
1236  ::modif::MotorSwitchInfo* mutable_switch_info();
1237  ::modif::MotorSwitchInfo* release_switch_info();
1238  void set_allocated_switch_info(::modif::MotorSwitchInfo* switch_info);
1239 
1240  // optional double pos_error = 5;
1241  bool has_pos_error() const;
1242  void clear_pos_error();
1243  static const int kPosErrorFieldNumber = 5;
1244  double pos_error() const;
1245  void set_pos_error(double value);
1246 
1247  // optional double vel = 6;
1248  bool has_vel() const;
1249  void clear_vel();
1250  static const int kVelFieldNumber = 6;
1251  double vel() const;
1252  void set_vel(double value);
1253 
1254  // optional int32 info_data1 = 7;
1255  bool has_info_data1() const;
1256  void clear_info_data1();
1257  static const int kInfoData1FieldNumber = 7;
1258  ::google::protobuf::int32 info_data1() const;
1259  void set_info_data1(::google::protobuf::int32 value);
1260 
1261  // optional int32 info_data2 = 8;
1262  bool has_info_data2() const;
1263  void clear_info_data2();
1264  static const int kInfoData2FieldNumber = 8;
1265  ::google::protobuf::int32 info_data2() const;
1266  void set_info_data2(::google::protobuf::int32 value);
1267 
1268  // optional bool local = 11;
1269  bool has_local() const;
1270  void clear_local();
1271  static const int kLocalFieldNumber = 11;
1272  bool local() const;
1273  void set_local(bool value);
1274 
1275  // optional int32 error_code = 12;
1276  bool has_error_code() const;
1277  void clear_error_code();
1278  static const int kErrorCodeFieldNumber = 12;
1279  ::google::protobuf::int32 error_code() const;
1280  void set_error_code(::google::protobuf::int32 value);
1281 
1282  // @@protoc_insertion_point(class_scope:modif.MotorTopic)
1283  private:
1284  void set_has_states();
1285  void clear_has_states();
1286  void set_has_actual_pos();
1287  void clear_has_actual_pos();
1288  void set_has_target_pos();
1289  void clear_has_target_pos();
1290  void set_has_init_info();
1291  void clear_has_init_info();
1292  void set_has_pos_error();
1293  void clear_has_pos_error();
1294  void set_has_vel();
1295  void clear_has_vel();
1296  void set_has_info_data1();
1297  void clear_has_info_data1();
1298  void set_has_info_data2();
1299  void clear_has_info_data2();
1300  void set_has_axis_info();
1301  void clear_has_axis_info();
1302  void set_has_switch_info();
1303  void clear_has_switch_info();
1304  void set_has_local();
1305  void clear_has_local();
1306  void set_has_error_code();
1307  void clear_has_error_code();
1308  void set_has_error_str();
1309  void clear_has_error_str();
1310 
1311  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1312  ::google::protobuf::internal::HasBits<1> _has_bits_;
1313  mutable int _cached_size_;
1314  ::google::protobuf::internal::ArenaStringPtr error_str_;
1315  ::modif::States* states_;
1316  ::modif::MotorPosition* actual_pos_;
1317  ::modif::MotorPosition* target_pos_;
1318  ::modif::MotorInitInfo* init_info_;
1319  ::modif::MotorAxisInfo* axis_info_;
1320  ::modif::MotorSwitchInfo* switch_info_;
1321  double pos_error_;
1322  double vel_;
1323  ::google::protobuf::int32 info_data1_;
1324  ::google::protobuf::int32 info_data2_;
1325  bool local_;
1326  ::google::protobuf::int32 error_code_;
1328 };
1329 // -------------------------------------------------------------------
1330 
1331 class States : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:modif.States) */ {
1332  public:
1333  States();
1334  virtual ~States();
1335 
1336  States(const States& from);
1337 
1338  inline States& operator=(const States& from) {
1339  CopyFrom(from);
1340  return *this;
1341  }
1342 
1343  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1344  return _internal_metadata_.unknown_fields();
1345  }
1346 
1347  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1348  return _internal_metadata_.mutable_unknown_fields();
1349  }
1350 
1351  static const ::google::protobuf::Descriptor* descriptor();
1352  static const States& default_instance();
1353 
1354  static inline const States* internal_default_instance() {
1355  return reinterpret_cast<const States*>(
1357  }
1358 
1359  void Swap(States* other);
1360 
1361  // implements Message ----------------------------------------------
1362 
1363  inline States* New() const PROTOBUF_FINAL { return New(NULL); }
1364 
1365  States* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1366  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1367  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1368  void CopyFrom(const States& from);
1369  void MergeFrom(const States& from);
1370  void Clear() PROTOBUF_FINAL;
1371  bool IsInitialized() const PROTOBUF_FINAL;
1372 
1373  size_t ByteSizeLong() const PROTOBUF_FINAL;
1375  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1377  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1378  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1379  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1380  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
1381  const PROTOBUF_FINAL {
1383  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
1384  }
1385  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1386  private:
1387  void SharedCtor();
1388  void SharedDtor();
1389  void SetCachedSize(int size) const PROTOBUF_FINAL;
1390  void InternalSwap(States* other);
1391  private:
1392  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1393  return NULL;
1394  }
1395  inline void* MaybeArenaPtr() const {
1396  return NULL;
1397  }
1398  public:
1399 
1400  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1401 
1402  // nested types ----------------------------------------------------
1403 
1404  // accessors -------------------------------------------------------
1405 
1406  // optional int32 state = 1;
1407  bool has_state() const;
1408  void clear_state();
1409  static const int kStateFieldNumber = 1;
1410  ::google::protobuf::int32 state() const;
1411  void set_state(::google::protobuf::int32 value);
1412 
1413  // optional int32 substate = 2;
1414  bool has_substate() const;
1415  void clear_substate();
1416  static const int kSubstateFieldNumber = 2;
1417  ::google::protobuf::int32 substate() const;
1418  void set_substate(::google::protobuf::int32 value);
1419 
1420  // @@protoc_insertion_point(class_scope:modif.States)
1421  private:
1422  void set_has_state();
1423  void clear_has_state();
1424  void set_has_substate();
1425  void clear_has_substate();
1426 
1427  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1428  ::google::protobuf::internal::HasBits<1> _has_bits_;
1429  mutable int _cached_size_;
1430  ::google::protobuf::int32 state_;
1431  ::google::protobuf::int32 substate_;
1432  friend struct protobuf_topics_2eproto::TableStruct;
1433 };
1434 // ===================================================================
1435 
1436 
1437 // ===================================================================
1438 
1439 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
1440 // TaskId
1441 
1442 // optional string id = 1;
1443 inline bool TaskId::has_id() const {
1444  return (_has_bits_[0] & 0x00000001u) != 0;
1445 }
1446 inline void TaskId::set_has_id() {
1447  _has_bits_[0] |= 0x00000001u;
1448 }
1449 inline void TaskId::clear_has_id() {
1450  _has_bits_[0] &= ~0x00000001u;
1451 }
1452 inline void TaskId::clear_id() {
1453  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1454  clear_has_id();
1455 }
1456 inline const ::std::string& TaskId::id() const {
1457  // @@protoc_insertion_point(field_get:modif.TaskId.id)
1458  return id_.GetNoArena();
1459 }
1460 inline void TaskId::set_id(const ::std::string& value) {
1461  set_has_id();
1462  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1463  // @@protoc_insertion_point(field_set:modif.TaskId.id)
1464 }
1465 #if LANG_CXX11
1466 inline void TaskId::set_id(::std::string&& value) {
1467  set_has_id();
1468  id_.SetNoArena(
1469  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value));
1470  // @@protoc_insertion_point(field_set_rvalue:modif.TaskId.id)
1471 }
1472 #endif
1473 inline void TaskId::set_id(const char* value) {
1474  set_has_id();
1475  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1476  // @@protoc_insertion_point(field_set_char:modif.TaskId.id)
1477 }
1478 inline void TaskId::set_id(const char* value, size_t size) {
1479  set_has_id();
1480  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1481  ::std::string(reinterpret_cast<const char*>(value), size));
1482  // @@protoc_insertion_point(field_set_pointer:modif.TaskId.id)
1483 }
1484 inline ::std::string* TaskId::mutable_id() {
1485  set_has_id();
1486  // @@protoc_insertion_point(field_mutable:modif.TaskId.id)
1487  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1488 }
1489 inline ::std::string* TaskId::release_id() {
1490  // @@protoc_insertion_point(field_release:modif.TaskId.id)
1491  clear_has_id();
1492  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1493 }
1494 inline void TaskId::set_allocated_id(::std::string* id) {
1495  if (id != NULL) {
1496  set_has_id();
1497  } else {
1498  clear_has_id();
1499  }
1500  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
1501  // @@protoc_insertion_point(field_set_allocated:modif.TaskId.id)
1502 }
1503 
1504 // optional string msg = 2;
1505 inline bool TaskId::has_msg() const {
1506  return (_has_bits_[0] & 0x00000002u) != 0;
1507 }
1508 inline void TaskId::set_has_msg() {
1509  _has_bits_[0] |= 0x00000002u;
1510 }
1511 inline void TaskId::clear_has_msg() {
1512  _has_bits_[0] &= ~0x00000002u;
1513 }
1514 inline void TaskId::clear_msg() {
1515  msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1516  clear_has_msg();
1517 }
1518 inline const ::std::string& TaskId::msg() const {
1519  // @@protoc_insertion_point(field_get:modif.TaskId.msg)
1520  return msg_.GetNoArena();
1521 }
1522 inline void TaskId::set_msg(const ::std::string& value) {
1523  set_has_msg();
1524  msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1525  // @@protoc_insertion_point(field_set:modif.TaskId.msg)
1526 }
1527 #if LANG_CXX11
1528 inline void TaskId::set_msg(::std::string&& value) {
1529  set_has_msg();
1530  msg_.SetNoArena(
1531  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value));
1532  // @@protoc_insertion_point(field_set_rvalue:modif.TaskId.msg)
1533 }
1534 #endif
1535 inline void TaskId::set_msg(const char* value) {
1536  set_has_msg();
1537  msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1538  // @@protoc_insertion_point(field_set_char:modif.TaskId.msg)
1539 }
1540 inline void TaskId::set_msg(const char* value, size_t size) {
1541  set_has_msg();
1542  msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1543  ::std::string(reinterpret_cast<const char*>(value), size));
1544  // @@protoc_insertion_point(field_set_pointer:modif.TaskId.msg)
1545 }
1546 inline ::std::string* TaskId::mutable_msg() {
1547  set_has_msg();
1548  // @@protoc_insertion_point(field_mutable:modif.TaskId.msg)
1549  return msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1550 }
1551 inline ::std::string* TaskId::release_msg() {
1552  // @@protoc_insertion_point(field_release:modif.TaskId.msg)
1553  clear_has_msg();
1554  return msg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1555 }
1556 inline void TaskId::set_allocated_msg(::std::string* msg) {
1557  if (msg != NULL) {
1558  set_has_msg();
1559  } else {
1560  clear_has_msg();
1561  }
1562  msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg);
1563  // @@protoc_insertion_point(field_set_allocated:modif.TaskId.msg)
1564 }
1565 
1566 // -------------------------------------------------------------------
1567 
1568 // LampTopic
1569 
1570 // optional .modif.States states = 1;
1571 inline bool LampTopic::has_states() const {
1572  return (_has_bits_[0] & 0x00000002u) != 0;
1573 }
1574 inline void LampTopic::set_has_states() {
1575  _has_bits_[0] |= 0x00000002u;
1576 }
1577 inline void LampTopic::clear_has_states() {
1578  _has_bits_[0] &= ~0x00000002u;
1579 }
1581  if (states_ != NULL) states_->::modif::States::Clear();
1582  clear_has_states();
1583 }
1585  // @@protoc_insertion_point(field_get:modif.LampTopic.states)
1586  return states_ != NULL ? *states_
1588 }
1590  set_has_states();
1591  if (states_ == NULL) {
1592  states_ = new ::modif::States;
1593  }
1594  // @@protoc_insertion_point(field_mutable:modif.LampTopic.states)
1595  return states_;
1596 }
1598  // @@protoc_insertion_point(field_release:modif.LampTopic.states)
1599  clear_has_states();
1600  ::modif::States* temp = states_;
1601  states_ = NULL;
1602  return temp;
1603 }
1605  delete states_;
1606  states_ = states;
1607  if (states) {
1608  set_has_states();
1609  } else {
1610  clear_has_states();
1611  }
1612  // @@protoc_insertion_point(field_set_allocated:modif.LampTopic.states)
1613 }
1614 
1615 // optional float intensity = 2;
1616 inline bool LampTopic::has_intensity() const {
1617  return (_has_bits_[0] & 0x00000004u) != 0;
1618 }
1619 inline void LampTopic::set_has_intensity() {
1620  _has_bits_[0] |= 0x00000004u;
1621 }
1622 inline void LampTopic::clear_has_intensity() {
1623  _has_bits_[0] &= ~0x00000004u;
1624 }
1626  intensity_ = 0;
1627  clear_has_intensity();
1628 }
1629 inline float LampTopic::intensity() const {
1630  // @@protoc_insertion_point(field_get:modif.LampTopic.intensity)
1631  return intensity_;
1632 }
1633 inline void LampTopic::set_intensity(float value) {
1634  set_has_intensity();
1635  intensity_ = value;
1636  // @@protoc_insertion_point(field_set:modif.LampTopic.intensity)
1637 }
1638 
1639 // optional bool local = 3;
1640 inline bool LampTopic::has_local() const {
1641  return (_has_bits_[0] & 0x00000008u) != 0;
1642 }
1643 inline void LampTopic::set_has_local() {
1644  _has_bits_[0] |= 0x00000008u;
1645 }
1646 inline void LampTopic::clear_has_local() {
1647  _has_bits_[0] &= ~0x00000008u;
1648 }
1649 inline void LampTopic::clear_local() {
1650  local_ = false;
1651  clear_has_local();
1652 }
1653 inline bool LampTopic::local() const {
1654  // @@protoc_insertion_point(field_get:modif.LampTopic.local)
1655  return local_;
1656 }
1657 inline void LampTopic::set_local(bool value) {
1658  set_has_local();
1659  local_ = value;
1660  // @@protoc_insertion_point(field_set:modif.LampTopic.local)
1661 }
1662 
1663 // optional int32 error_code = 4;
1664 inline bool LampTopic::has_error_code() const {
1665  return (_has_bits_[0] & 0x00000010u) != 0;
1666 }
1667 inline void LampTopic::set_has_error_code() {
1668  _has_bits_[0] |= 0x00000010u;
1669 }
1670 inline void LampTopic::clear_has_error_code() {
1671  _has_bits_[0] &= ~0x00000010u;
1672 }
1674  error_code_ = 0;
1675  clear_has_error_code();
1676 }
1677 inline ::google::protobuf::int32 LampTopic::error_code() const {
1678  // @@protoc_insertion_point(field_get:modif.LampTopic.error_code)
1679  return error_code_;
1680 }
1681 inline void LampTopic::set_error_code(::google::protobuf::int32 value) {
1682  set_has_error_code();
1683  error_code_ = value;
1684  // @@protoc_insertion_point(field_set:modif.LampTopic.error_code)
1685 }
1686 
1687 // optional string error_str = 5;
1688 inline bool LampTopic::has_error_str() const {
1689  return (_has_bits_[0] & 0x00000001u) != 0;
1690 }
1691 inline void LampTopic::set_has_error_str() {
1692  _has_bits_[0] |= 0x00000001u;
1693 }
1694 inline void LampTopic::clear_has_error_str() {
1695  _has_bits_[0] &= ~0x00000001u;
1696 }
1698  error_str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1699  clear_has_error_str();
1700 }
1701 inline const ::std::string& LampTopic::error_str() const {
1702  // @@protoc_insertion_point(field_get:modif.LampTopic.error_str)
1703  return error_str_.GetNoArena();
1704 }
1705 inline void LampTopic::set_error_str(const ::std::string& value) {
1706  set_has_error_str();
1707  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1708  // @@protoc_insertion_point(field_set:modif.LampTopic.error_str)
1709 }
1710 #if LANG_CXX11
1711 inline void LampTopic::set_error_str(::std::string&& value) {
1712  set_has_error_str();
1713  error_str_.SetNoArena(
1714  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value));
1715  // @@protoc_insertion_point(field_set_rvalue:modif.LampTopic.error_str)
1716 }
1717 #endif
1718 inline void LampTopic::set_error_str(const char* value) {
1719  set_has_error_str();
1720  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1721  // @@protoc_insertion_point(field_set_char:modif.LampTopic.error_str)
1722 }
1723 inline void LampTopic::set_error_str(const char* value, size_t size) {
1724  set_has_error_str();
1725  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1726  ::std::string(reinterpret_cast<const char*>(value), size));
1727  // @@protoc_insertion_point(field_set_pointer:modif.LampTopic.error_str)
1728 }
1729 inline ::std::string* LampTopic::mutable_error_str() {
1730  set_has_error_str();
1731  // @@protoc_insertion_point(field_mutable:modif.LampTopic.error_str)
1732  return error_str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1733 }
1734 inline ::std::string* LampTopic::release_error_str() {
1735  // @@protoc_insertion_point(field_release:modif.LampTopic.error_str)
1736  clear_has_error_str();
1737  return error_str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1738 }
1739 inline void LampTopic::set_allocated_error_str(::std::string* error_str) {
1740  if (error_str != NULL) {
1741  set_has_error_str();
1742  } else {
1743  clear_has_error_str();
1744  }
1745  error_str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_str);
1746  // @@protoc_insertion_point(field_set_allocated:modif.LampTopic.error_str)
1747 }
1748 
1749 // -------------------------------------------------------------------
1750 
1751 // ShutterTopic
1752 
1753 // optional .modif.States states = 1;
1754 inline bool ShutterTopic::has_states() const {
1755  return (_has_bits_[0] & 0x00000002u) != 0;
1756 }
1757 inline void ShutterTopic::set_has_states() {
1758  _has_bits_[0] |= 0x00000002u;
1759 }
1760 inline void ShutterTopic::clear_has_states() {
1761  _has_bits_[0] &= ~0x00000002u;
1762 }
1764  if (states_ != NULL) states_->::modif::States::Clear();
1765  clear_has_states();
1766 }
1768  // @@protoc_insertion_point(field_get:modif.ShutterTopic.states)
1769  return states_ != NULL ? *states_
1771 }
1773  set_has_states();
1774  if (states_ == NULL) {
1775  states_ = new ::modif::States;
1776  }
1777  // @@protoc_insertion_point(field_mutable:modif.ShutterTopic.states)
1778  return states_;
1779 }
1781  // @@protoc_insertion_point(field_release:modif.ShutterTopic.states)
1782  clear_has_states();
1783  ::modif::States* temp = states_;
1784  states_ = NULL;
1785  return temp;
1786 }
1788  delete states_;
1789  states_ = states;
1790  if (states) {
1791  set_has_states();
1792  } else {
1793  clear_has_states();
1794  }
1795  // @@protoc_insertion_point(field_set_allocated:modif.ShutterTopic.states)
1796 }
1797 
1798 // optional bool local = 2;
1799 inline bool ShutterTopic::has_local() const {
1800  return (_has_bits_[0] & 0x00000004u) != 0;
1801 }
1802 inline void ShutterTopic::set_has_local() {
1803  _has_bits_[0] |= 0x00000004u;
1804 }
1805 inline void ShutterTopic::clear_has_local() {
1806  _has_bits_[0] &= ~0x00000004u;
1807 }
1809  local_ = false;
1810  clear_has_local();
1811 }
1812 inline bool ShutterTopic::local() const {
1813  // @@protoc_insertion_point(field_get:modif.ShutterTopic.local)
1814  return local_;
1815 }
1816 inline void ShutterTopic::set_local(bool value) {
1817  set_has_local();
1818  local_ = value;
1819  // @@protoc_insertion_point(field_set:modif.ShutterTopic.local)
1820 }
1821 
1822 // optional int32 error_code = 3;
1823 inline bool ShutterTopic::has_error_code() const {
1824  return (_has_bits_[0] & 0x00000008u) != 0;
1825 }
1826 inline void ShutterTopic::set_has_error_code() {
1827  _has_bits_[0] |= 0x00000008u;
1828 }
1829 inline void ShutterTopic::clear_has_error_code() {
1830  _has_bits_[0] &= ~0x00000008u;
1831 }
1833  error_code_ = 0;
1834  clear_has_error_code();
1835 }
1836 inline ::google::protobuf::int32 ShutterTopic::error_code() const {
1837  // @@protoc_insertion_point(field_get:modif.ShutterTopic.error_code)
1838  return error_code_;
1839 }
1840 inline void ShutterTopic::set_error_code(::google::protobuf::int32 value) {
1841  set_has_error_code();
1842  error_code_ = value;
1843  // @@protoc_insertion_point(field_set:modif.ShutterTopic.error_code)
1844 }
1845 
1846 // optional string error_str = 4;
1847 inline bool ShutterTopic::has_error_str() const {
1848  return (_has_bits_[0] & 0x00000001u) != 0;
1849 }
1850 inline void ShutterTopic::set_has_error_str() {
1851  _has_bits_[0] |= 0x00000001u;
1852 }
1853 inline void ShutterTopic::clear_has_error_str() {
1854  _has_bits_[0] &= ~0x00000001u;
1855 }
1857  error_str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1858  clear_has_error_str();
1859 }
1860 inline const ::std::string& ShutterTopic::error_str() const {
1861  // @@protoc_insertion_point(field_get:modif.ShutterTopic.error_str)
1862  return error_str_.GetNoArena();
1863 }
1864 inline void ShutterTopic::set_error_str(const ::std::string& value) {
1865  set_has_error_str();
1866  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1867  // @@protoc_insertion_point(field_set:modif.ShutterTopic.error_str)
1868 }
1869 #if LANG_CXX11
1870 inline void ShutterTopic::set_error_str(::std::string&& value) {
1871  set_has_error_str();
1872  error_str_.SetNoArena(
1873  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value));
1874  // @@protoc_insertion_point(field_set_rvalue:modif.ShutterTopic.error_str)
1875 }
1876 #endif
1877 inline void ShutterTopic::set_error_str(const char* value) {
1878  set_has_error_str();
1879  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1880  // @@protoc_insertion_point(field_set_char:modif.ShutterTopic.error_str)
1881 }
1882 inline void ShutterTopic::set_error_str(const char* value, size_t size) {
1883  set_has_error_str();
1884  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1885  ::std::string(reinterpret_cast<const char*>(value), size));
1886  // @@protoc_insertion_point(field_set_pointer:modif.ShutterTopic.error_str)
1887 }
1888 inline ::std::string* ShutterTopic::mutable_error_str() {
1889  set_has_error_str();
1890  // @@protoc_insertion_point(field_mutable:modif.ShutterTopic.error_str)
1891  return error_str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1892 }
1893 inline ::std::string* ShutterTopic::release_error_str() {
1894  // @@protoc_insertion_point(field_release:modif.ShutterTopic.error_str)
1895  clear_has_error_str();
1896  return error_str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1897 }
1899  if (error_str != NULL) {
1900  set_has_error_str();
1901  } else {
1902  clear_has_error_str();
1903  }
1904  error_str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_str);
1905  // @@protoc_insertion_point(field_set_allocated:modif.ShutterTopic.error_str)
1906 }
1907 
1908 // -------------------------------------------------------------------
1909 
1910 // SensorTopic
1911 
1912 // optional .modif.States states = 1;
1913 inline bool SensorTopic::has_states() const {
1914  return (_has_bits_[0] & 0x00000001u) != 0;
1915 }
1916 inline void SensorTopic::set_has_states() {
1917  _has_bits_[0] |= 0x00000001u;
1918 }
1919 inline void SensorTopic::clear_has_states() {
1920  _has_bits_[0] &= ~0x00000001u;
1921 }
1923  if (states_ != NULL) states_->::modif::States::Clear();
1924  clear_has_states();
1925 }
1927  // @@protoc_insertion_point(field_get:modif.SensorTopic.states)
1928  return states_ != NULL ? *states_
1930 }
1932  set_has_states();
1933  if (states_ == NULL) {
1934  states_ = new ::modif::States;
1935  }
1936  // @@protoc_insertion_point(field_mutable:modif.SensorTopic.states)
1937  return states_;
1938 }
1940  // @@protoc_insertion_point(field_release:modif.SensorTopic.states)
1941  clear_has_states();
1942  ::modif::States* temp = states_;
1943  states_ = NULL;
1944  return temp;
1945 }
1947  delete states_;
1948  states_ = states;
1949  if (states) {
1950  set_has_states();
1951  } else {
1952  clear_has_states();
1953  }
1954  // @@protoc_insertion_point(field_set_allocated:modif.SensorTopic.states)
1955 }
1956 
1957 // -------------------------------------------------------------------
1958 
1959 // MotorSwitchInfo
1960 
1961 // optional bool lstop = 1;
1962 inline bool MotorSwitchInfo::has_lstop() const {
1963  return (_has_bits_[0] & 0x00000001u) != 0;
1964 }
1965 inline void MotorSwitchInfo::set_has_lstop() {
1966  _has_bits_[0] |= 0x00000001u;
1967 }
1968 inline void MotorSwitchInfo::clear_has_lstop() {
1969  _has_bits_[0] &= ~0x00000001u;
1970 }
1972  lstop_ = false;
1973  clear_has_lstop();
1974 }
1975 inline bool MotorSwitchInfo::lstop() const {
1976  // @@protoc_insertion_point(field_get:modif.MotorSwitchInfo.lstop)
1977  return lstop_;
1978 }
1979 inline void MotorSwitchInfo::set_lstop(bool value) {
1980  set_has_lstop();
1981  lstop_ = value;
1982  // @@protoc_insertion_point(field_set:modif.MotorSwitchInfo.lstop)
1983 }
1984 
1985 // optional bool lhw = 2;
1986 inline bool MotorSwitchInfo::has_lhw() const {
1987  return (_has_bits_[0] & 0x00000002u) != 0;
1988 }
1989 inline void MotorSwitchInfo::set_has_lhw() {
1990  _has_bits_[0] |= 0x00000002u;
1991 }
1992 inline void MotorSwitchInfo::clear_has_lhw() {
1993  _has_bits_[0] &= ~0x00000002u;
1994 }
1996  lhw_ = false;
1997  clear_has_lhw();
1998 }
1999 inline bool MotorSwitchInfo::lhw() const {
2000  // @@protoc_insertion_point(field_get:modif.MotorSwitchInfo.lhw)
2001  return lhw_;
2002 }
2003 inline void MotorSwitchInfo::set_lhw(bool value) {
2004  set_has_lhw();
2005  lhw_ = value;
2006  // @@protoc_insertion_point(field_set:modif.MotorSwitchInfo.lhw)
2007 }
2008 
2009 // optional bool ref = 3;
2010 inline bool MotorSwitchInfo::has_ref() const {
2011  return (_has_bits_[0] & 0x00000004u) != 0;
2012 }
2013 inline void MotorSwitchInfo::set_has_ref() {
2014  _has_bits_[0] |= 0x00000004u;
2015 }
2016 inline void MotorSwitchInfo::clear_has_ref() {
2017  _has_bits_[0] &= ~0x00000004u;
2018 }
2020  ref_ = false;
2021  clear_has_ref();
2022 }
2023 inline bool MotorSwitchInfo::ref() const {
2024  // @@protoc_insertion_point(field_get:modif.MotorSwitchInfo.ref)
2025  return ref_;
2026 }
2027 inline void MotorSwitchInfo::set_ref(bool value) {
2028  set_has_ref();
2029  ref_ = value;
2030  // @@protoc_insertion_point(field_set:modif.MotorSwitchInfo.ref)
2031 }
2032 
2033 // optional bool index = 4;
2034 inline bool MotorSwitchInfo::has_index() const {
2035  return (_has_bits_[0] & 0x00000008u) != 0;
2036 }
2037 inline void MotorSwitchInfo::set_has_index() {
2038  _has_bits_[0] |= 0x00000008u;
2039 }
2040 inline void MotorSwitchInfo::clear_has_index() {
2041  _has_bits_[0] &= ~0x00000008u;
2042 }
2044  index_ = false;
2045  clear_has_index();
2046 }
2047 inline bool MotorSwitchInfo::index() const {
2048  // @@protoc_insertion_point(field_get:modif.MotorSwitchInfo.index)
2049  return index_;
2050 }
2051 inline void MotorSwitchInfo::set_index(bool value) {
2052  set_has_index();
2053  index_ = value;
2054  // @@protoc_insertion_point(field_set:modif.MotorSwitchInfo.index)
2055 }
2056 
2057 // optional bool uhw = 5;
2058 inline bool MotorSwitchInfo::has_uhw() const {
2059  return (_has_bits_[0] & 0x00000010u) != 0;
2060 }
2061 inline void MotorSwitchInfo::set_has_uhw() {
2062  _has_bits_[0] |= 0x00000010u;
2063 }
2064 inline void MotorSwitchInfo::clear_has_uhw() {
2065  _has_bits_[0] &= ~0x00000010u;
2066 }
2068  uhw_ = false;
2069  clear_has_uhw();
2070 }
2071 inline bool MotorSwitchInfo::uhw() const {
2072  // @@protoc_insertion_point(field_get:modif.MotorSwitchInfo.uhw)
2073  return uhw_;
2074 }
2075 inline void MotorSwitchInfo::set_uhw(bool value) {
2076  set_has_uhw();
2077  uhw_ = value;
2078  // @@protoc_insertion_point(field_set:modif.MotorSwitchInfo.uhw)
2079 }
2080 
2081 // optional bool ustop = 6;
2082 inline bool MotorSwitchInfo::has_ustop() const {
2083  return (_has_bits_[0] & 0x00000020u) != 0;
2084 }
2085 inline void MotorSwitchInfo::set_has_ustop() {
2086  _has_bits_[0] |= 0x00000020u;
2087 }
2088 inline void MotorSwitchInfo::clear_has_ustop() {
2089  _has_bits_[0] &= ~0x00000020u;
2090 }
2092  ustop_ = false;
2093  clear_has_ustop();
2094 }
2095 inline bool MotorSwitchInfo::ustop() const {
2096  // @@protoc_insertion_point(field_get:modif.MotorSwitchInfo.ustop)
2097  return ustop_;
2098 }
2099 inline void MotorSwitchInfo::set_ustop(bool value) {
2100  set_has_ustop();
2101  ustop_ = value;
2102  // @@protoc_insertion_point(field_set:modif.MotorSwitchInfo.ustop)
2103 }
2104 
2105 // -------------------------------------------------------------------
2106 
2107 // MotorAxisInfo
2108 
2109 // optional bool ready = 1;
2110 inline bool MotorAxisInfo::has_ready() const {
2111  return (_has_bits_[0] & 0x00000001u) != 0;
2112 }
2113 inline void MotorAxisInfo::set_has_ready() {
2114  _has_bits_[0] |= 0x00000001u;
2115 }
2116 inline void MotorAxisInfo::clear_has_ready() {
2117  _has_bits_[0] &= ~0x00000001u;
2118 }
2120  ready_ = false;
2121  clear_has_ready();
2122 }
2123 inline bool MotorAxisInfo::ready() const {
2124  // @@protoc_insertion_point(field_get:modif.MotorAxisInfo.ready)
2125  return ready_;
2126 }
2127 inline void MotorAxisInfo::set_ready(bool value) {
2128  set_has_ready();
2129  ready_ = value;
2130  // @@protoc_insertion_point(field_set:modif.MotorAxisInfo.ready)
2131 }
2132 
2133 // optional bool enabled = 2;
2134 inline bool MotorAxisInfo::has_enabled() const {
2135  return (_has_bits_[0] & 0x00000002u) != 0;
2136 }
2137 inline void MotorAxisInfo::set_has_enabled() {
2138  _has_bits_[0] |= 0x00000002u;
2139 }
2140 inline void MotorAxisInfo::clear_has_enabled() {
2141  _has_bits_[0] &= ~0x00000002u;
2142 }
2144  enabled_ = false;
2145  clear_has_enabled();
2146 }
2147 inline bool MotorAxisInfo::enabled() const {
2148  // @@protoc_insertion_point(field_get:modif.MotorAxisInfo.enabled)
2149  return enabled_;
2150 }
2151 inline void MotorAxisInfo::set_enabled(bool value) {
2152  set_has_enabled();
2153  enabled_ = value;
2154  // @@protoc_insertion_point(field_set:modif.MotorAxisInfo.enabled)
2155 }
2156 
2157 // optional bool braked = 3;
2158 inline bool MotorAxisInfo::has_braked() const {
2159  return (_has_bits_[0] & 0x00000004u) != 0;
2160 }
2161 inline void MotorAxisInfo::set_has_braked() {
2162  _has_bits_[0] |= 0x00000004u;
2163 }
2164 inline void MotorAxisInfo::clear_has_braked() {
2165  _has_bits_[0] &= ~0x00000004u;
2166 }
2168  braked_ = false;
2169  clear_has_braked();
2170 }
2171 inline bool MotorAxisInfo::braked() const {
2172  // @@protoc_insertion_point(field_get:modif.MotorAxisInfo.braked)
2173  return braked_;
2174 }
2175 inline void MotorAxisInfo::set_braked(bool value) {
2176  set_has_braked();
2177  braked_ = value;
2178  // @@protoc_insertion_point(field_set:modif.MotorAxisInfo.braked)
2179 }
2180 
2181 // optional bool locked = 4;
2182 inline bool MotorAxisInfo::has_locked() const {
2183  return (_has_bits_[0] & 0x00000008u) != 0;
2184 }
2185 inline void MotorAxisInfo::set_has_locked() {
2186  _has_bits_[0] |= 0x00000008u;
2187 }
2188 inline void MotorAxisInfo::clear_has_locked() {
2189  _has_bits_[0] &= ~0x00000008u;
2190 }
2192  locked_ = false;
2193  clear_has_locked();
2194 }
2195 inline bool MotorAxisInfo::locked() const {
2196  // @@protoc_insertion_point(field_get:modif.MotorAxisInfo.locked)
2197  return locked_;
2198 }
2199 inline void MotorAxisInfo::set_locked(bool value) {
2200  set_has_locked();
2201  locked_ = value;
2202  // @@protoc_insertion_point(field_set:modif.MotorAxisInfo.locked)
2203 }
2204 
2205 // optional bool in_position = 5;
2206 inline bool MotorAxisInfo::has_in_position() const {
2207  return (_has_bits_[0] & 0x00000010u) != 0;
2208 }
2209 inline void MotorAxisInfo::set_has_in_position() {
2210  _has_bits_[0] |= 0x00000010u;
2211 }
2212 inline void MotorAxisInfo::clear_has_in_position() {
2213  _has_bits_[0] &= ~0x00000010u;
2214 }
2216  in_position_ = false;
2217  clear_has_in_position();
2218 }
2219 inline bool MotorAxisInfo::in_position() const {
2220  // @@protoc_insertion_point(field_get:modif.MotorAxisInfo.in_position)
2221  return in_position_;
2222 }
2223 inline void MotorAxisInfo::set_in_position(bool value) {
2224  set_has_in_position();
2225  in_position_ = value;
2226  // @@protoc_insertion_point(field_set:modif.MotorAxisInfo.in_position)
2227 }
2228 
2229 // -------------------------------------------------------------------
2230 
2231 // MotorPosition
2232 
2233 // optional double uu = 1;
2234 inline bool MotorPosition::has_uu() const {
2235  return (_has_bits_[0] & 0x00000002u) != 0;
2236 }
2237 inline void MotorPosition::set_has_uu() {
2238  _has_bits_[0] |= 0x00000002u;
2239 }
2240 inline void MotorPosition::clear_has_uu() {
2241  _has_bits_[0] &= ~0x00000002u;
2242 }
2244  uu_ = 0;
2245  clear_has_uu();
2246 }
2247 inline double MotorPosition::uu() const {
2248  // @@protoc_insertion_point(field_get:modif.MotorPosition.uu)
2249  return uu_;
2250 }
2251 inline void MotorPosition::set_uu(double value) {
2252  set_has_uu();
2253  uu_ = value;
2254  // @@protoc_insertion_point(field_set:modif.MotorPosition.uu)
2255 }
2256 
2257 // optional double enc = 2;
2258 inline bool MotorPosition::has_enc() const {
2259  return (_has_bits_[0] & 0x00000004u) != 0;
2260 }
2261 inline void MotorPosition::set_has_enc() {
2262  _has_bits_[0] |= 0x00000004u;
2263 }
2264 inline void MotorPosition::clear_has_enc() {
2265  _has_bits_[0] &= ~0x00000004u;
2266 }
2268  enc_ = 0;
2269  clear_has_enc();
2270 }
2271 inline double MotorPosition::enc() const {
2272  // @@protoc_insertion_point(field_get:modif.MotorPosition.enc)
2273  return enc_;
2274 }
2275 inline void MotorPosition::set_enc(double value) {
2276  set_has_enc();
2277  enc_ = value;
2278  // @@protoc_insertion_point(field_set:modif.MotorPosition.enc)
2279 }
2280 
2281 // optional string name = 3;
2282 inline bool MotorPosition::has_name() const {
2283  return (_has_bits_[0] & 0x00000001u) != 0;
2284 }
2285 inline void MotorPosition::set_has_name() {
2286  _has_bits_[0] |= 0x00000001u;
2287 }
2288 inline void MotorPosition::clear_has_name() {
2289  _has_bits_[0] &= ~0x00000001u;
2290 }
2292  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2293  clear_has_name();
2294 }
2295 inline const ::std::string& MotorPosition::name() const {
2296  // @@protoc_insertion_point(field_get:modif.MotorPosition.name)
2297  return name_.GetNoArena();
2298 }
2299 inline void MotorPosition::set_name(const ::std::string& value) {
2300  set_has_name();
2301  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2302  // @@protoc_insertion_point(field_set:modif.MotorPosition.name)
2303 }
2304 #if LANG_CXX11
2305 inline void MotorPosition::set_name(::std::string&& value) {
2306  set_has_name();
2307  name_.SetNoArena(
2308  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value));
2309  // @@protoc_insertion_point(field_set_rvalue:modif.MotorPosition.name)
2310 }
2311 #endif
2312 inline void MotorPosition::set_name(const char* value) {
2313  set_has_name();
2314  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2315  // @@protoc_insertion_point(field_set_char:modif.MotorPosition.name)
2316 }
2317 inline void MotorPosition::set_name(const char* value, size_t size) {
2318  set_has_name();
2319  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2320  ::std::string(reinterpret_cast<const char*>(value), size));
2321  // @@protoc_insertion_point(field_set_pointer:modif.MotorPosition.name)
2322 }
2323 inline ::std::string* MotorPosition::mutable_name() {
2324  set_has_name();
2325  // @@protoc_insertion_point(field_mutable:modif.MotorPosition.name)
2326  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2327 }
2328 inline ::std::string* MotorPosition::release_name() {
2329  // @@protoc_insertion_point(field_release:modif.MotorPosition.name)
2330  clear_has_name();
2331  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2332 }
2333 inline void MotorPosition::set_allocated_name(::std::string* name) {
2334  if (name != NULL) {
2335  set_has_name();
2336  } else {
2337  clear_has_name();
2338  }
2339  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
2340  // @@protoc_insertion_point(field_set_allocated:modif.MotorPosition.name)
2341 }
2342 
2343 // -------------------------------------------------------------------
2344 
2345 // MotorInitInfo
2346 
2347 // optional bool initialised = 1;
2348 inline bool MotorInitInfo::has_initialised() const {
2349  return (_has_bits_[0] & 0x00000001u) != 0;
2350 }
2351 inline void MotorInitInfo::set_has_initialised() {
2352  _has_bits_[0] |= 0x00000001u;
2353 }
2354 inline void MotorInitInfo::clear_has_initialised() {
2355  _has_bits_[0] &= ~0x00000001u;
2356 }
2358  initialised_ = false;
2359  clear_has_initialised();
2360 }
2361 inline bool MotorInitInfo::initialised() const {
2362  // @@protoc_insertion_point(field_get:modif.MotorInitInfo.initialised)
2363  return initialised_;
2364 }
2365 inline void MotorInitInfo::set_initialised(bool value) {
2366  set_has_initialised();
2367  initialised_ = value;
2368  // @@protoc_insertion_point(field_set:modif.MotorInitInfo.initialised)
2369 }
2370 
2371 // optional int32 step = 2;
2372 inline bool MotorInitInfo::has_step() const {
2373  return (_has_bits_[0] & 0x00000002u) != 0;
2374 }
2375 inline void MotorInitInfo::set_has_step() {
2376  _has_bits_[0] |= 0x00000002u;
2377 }
2378 inline void MotorInitInfo::clear_has_step() {
2379  _has_bits_[0] &= ~0x00000002u;
2380 }
2382  step_ = 0;
2383  clear_has_step();
2384 }
2385 inline ::google::protobuf::int32 MotorInitInfo::step() const {
2386  // @@protoc_insertion_point(field_get:modif.MotorInitInfo.step)
2387  return step_;
2388 }
2389 inline void MotorInitInfo::set_step(::google::protobuf::int32 value) {
2390  set_has_step();
2391  step_ = value;
2392  // @@protoc_insertion_point(field_set:modif.MotorInitInfo.step)
2393 }
2394 
2395 // optional int32 action = 3;
2396 inline bool MotorInitInfo::has_action() const {
2397  return (_has_bits_[0] & 0x00000004u) != 0;
2398 }
2399 inline void MotorInitInfo::set_has_action() {
2400  _has_bits_[0] |= 0x00000004u;
2401 }
2402 inline void MotorInitInfo::clear_has_action() {
2403  _has_bits_[0] &= ~0x00000004u;
2404 }
2406  action_ = 0;
2407  clear_has_action();
2408 }
2409 inline ::google::protobuf::int32 MotorInitInfo::action() const {
2410  // @@protoc_insertion_point(field_get:modif.MotorInitInfo.action)
2411  return action_;
2412 }
2413 inline void MotorInitInfo::set_action(::google::protobuf::int32 value) {
2414  set_has_action();
2415  action_ = value;
2416  // @@protoc_insertion_point(field_set:modif.MotorInitInfo.action)
2417 }
2418 
2419 // -------------------------------------------------------------------
2420 
2421 // MotorTopic
2422 
2423 // optional .modif.States states = 1;
2424 inline bool MotorTopic::has_states() const {
2425  return (_has_bits_[0] & 0x00000002u) != 0;
2426 }
2427 inline void MotorTopic::set_has_states() {
2428  _has_bits_[0] |= 0x00000002u;
2429 }
2430 inline void MotorTopic::clear_has_states() {
2431  _has_bits_[0] &= ~0x00000002u;
2432 }
2434  if (states_ != NULL) states_->::modif::States::Clear();
2435  clear_has_states();
2436 }
2438  // @@protoc_insertion_point(field_get:modif.MotorTopic.states)
2439  return states_ != NULL ? *states_
2441 }
2443  set_has_states();
2444  if (states_ == NULL) {
2445  states_ = new ::modif::States;
2446  }
2447  // @@protoc_insertion_point(field_mutable:modif.MotorTopic.states)
2448  return states_;
2449 }
2451  // @@protoc_insertion_point(field_release:modif.MotorTopic.states)
2452  clear_has_states();
2453  ::modif::States* temp = states_;
2454  states_ = NULL;
2455  return temp;
2456 }
2458  delete states_;
2459  states_ = states;
2460  if (states) {
2461  set_has_states();
2462  } else {
2463  clear_has_states();
2464  }
2465  // @@protoc_insertion_point(field_set_allocated:modif.MotorTopic.states)
2466 }
2467 
2468 // optional .modif.MotorPosition actual_pos = 2;
2469 inline bool MotorTopic::has_actual_pos() const {
2470  return (_has_bits_[0] & 0x00000004u) != 0;
2471 }
2472 inline void MotorTopic::set_has_actual_pos() {
2473  _has_bits_[0] |= 0x00000004u;
2474 }
2475 inline void MotorTopic::clear_has_actual_pos() {
2476  _has_bits_[0] &= ~0x00000004u;
2477 }
2479  if (actual_pos_ != NULL) actual_pos_->::modif::MotorPosition::Clear();
2480  clear_has_actual_pos();
2481 }
2483  // @@protoc_insertion_point(field_get:modif.MotorTopic.actual_pos)
2484  return actual_pos_ != NULL ? *actual_pos_
2486 }
2488  set_has_actual_pos();
2489  if (actual_pos_ == NULL) {
2490  actual_pos_ = new ::modif::MotorPosition;
2491  }
2492  // @@protoc_insertion_point(field_mutable:modif.MotorTopic.actual_pos)
2493  return actual_pos_;
2494 }
2496  // @@protoc_insertion_point(field_release:modif.MotorTopic.actual_pos)
2497  clear_has_actual_pos();
2498  ::modif::MotorPosition* temp = actual_pos_;
2499  actual_pos_ = NULL;
2500  return temp;
2501 }
2503  delete actual_pos_;
2504  actual_pos_ = actual_pos;
2505  if (actual_pos) {
2506  set_has_actual_pos();
2507  } else {
2508  clear_has_actual_pos();
2509  }
2510  // @@protoc_insertion_point(field_set_allocated:modif.MotorTopic.actual_pos)
2511 }
2512 
2513 // optional .modif.MotorPosition target_pos = 3;
2514 inline bool MotorTopic::has_target_pos() const {
2515  return (_has_bits_[0] & 0x00000008u) != 0;
2516 }
2517 inline void MotorTopic::set_has_target_pos() {
2518  _has_bits_[0] |= 0x00000008u;
2519 }
2520 inline void MotorTopic::clear_has_target_pos() {
2521  _has_bits_[0] &= ~0x00000008u;
2522 }
2524  if (target_pos_ != NULL) target_pos_->::modif::MotorPosition::Clear();
2525  clear_has_target_pos();
2526 }
2528  // @@protoc_insertion_point(field_get:modif.MotorTopic.target_pos)
2529  return target_pos_ != NULL ? *target_pos_
2531 }
2533  set_has_target_pos();
2534  if (target_pos_ == NULL) {
2535  target_pos_ = new ::modif::MotorPosition;
2536  }
2537  // @@protoc_insertion_point(field_mutable:modif.MotorTopic.target_pos)
2538  return target_pos_;
2539 }
2541  // @@protoc_insertion_point(field_release:modif.MotorTopic.target_pos)
2542  clear_has_target_pos();
2543  ::modif::MotorPosition* temp = target_pos_;
2544  target_pos_ = NULL;
2545  return temp;
2546 }
2548  delete target_pos_;
2549  target_pos_ = target_pos;
2550  if (target_pos) {
2551  set_has_target_pos();
2552  } else {
2553  clear_has_target_pos();
2554  }
2555  // @@protoc_insertion_point(field_set_allocated:modif.MotorTopic.target_pos)
2556 }
2557 
2558 // optional .modif.MotorInitInfo init_info = 4;
2559 inline bool MotorTopic::has_init_info() const {
2560  return (_has_bits_[0] & 0x00000010u) != 0;
2561 }
2562 inline void MotorTopic::set_has_init_info() {
2563  _has_bits_[0] |= 0x00000010u;
2564 }
2565 inline void MotorTopic::clear_has_init_info() {
2566  _has_bits_[0] &= ~0x00000010u;
2567 }
2569  if (init_info_ != NULL) init_info_->::modif::MotorInitInfo::Clear();
2570  clear_has_init_info();
2571 }
2573  // @@protoc_insertion_point(field_get:modif.MotorTopic.init_info)
2574  return init_info_ != NULL ? *init_info_
2576 }
2578  set_has_init_info();
2579  if (init_info_ == NULL) {
2580  init_info_ = new ::modif::MotorInitInfo;
2581  }
2582  // @@protoc_insertion_point(field_mutable:modif.MotorTopic.init_info)
2583  return init_info_;
2584 }
2586  // @@protoc_insertion_point(field_release:modif.MotorTopic.init_info)
2587  clear_has_init_info();
2588  ::modif::MotorInitInfo* temp = init_info_;
2589  init_info_ = NULL;
2590  return temp;
2591 }
2593  delete init_info_;
2594  init_info_ = init_info;
2595  if (init_info) {
2596  set_has_init_info();
2597  } else {
2598  clear_has_init_info();
2599  }
2600  // @@protoc_insertion_point(field_set_allocated:modif.MotorTopic.init_info)
2601 }
2602 
2603 // optional double pos_error = 5;
2604 inline bool MotorTopic::has_pos_error() const {
2605  return (_has_bits_[0] & 0x00000080u) != 0;
2606 }
2607 inline void MotorTopic::set_has_pos_error() {
2608  _has_bits_[0] |= 0x00000080u;
2609 }
2610 inline void MotorTopic::clear_has_pos_error() {
2611  _has_bits_[0] &= ~0x00000080u;
2612 }
2614  pos_error_ = 0;
2615  clear_has_pos_error();
2616 }
2617 inline double MotorTopic::pos_error() const {
2618  // @@protoc_insertion_point(field_get:modif.MotorTopic.pos_error)
2619  return pos_error_;
2620 }
2621 inline void MotorTopic::set_pos_error(double value) {
2622  set_has_pos_error();
2623  pos_error_ = value;
2624  // @@protoc_insertion_point(field_set:modif.MotorTopic.pos_error)
2625 }
2626 
2627 // optional double vel = 6;
2628 inline bool MotorTopic::has_vel() const {
2629  return (_has_bits_[0] & 0x00000100u) != 0;
2630 }
2631 inline void MotorTopic::set_has_vel() {
2632  _has_bits_[0] |= 0x00000100u;
2633 }
2634 inline void MotorTopic::clear_has_vel() {
2635  _has_bits_[0] &= ~0x00000100u;
2636 }
2637 inline void MotorTopic::clear_vel() {
2638  vel_ = 0;
2639  clear_has_vel();
2640 }
2641 inline double MotorTopic::vel() const {
2642  // @@protoc_insertion_point(field_get:modif.MotorTopic.vel)
2643  return vel_;
2644 }
2645 inline void MotorTopic::set_vel(double value) {
2646  set_has_vel();
2647  vel_ = value;
2648  // @@protoc_insertion_point(field_set:modif.MotorTopic.vel)
2649 }
2650 
2651 // optional int32 info_data1 = 7;
2652 inline bool MotorTopic::has_info_data1() const {
2653  return (_has_bits_[0] & 0x00000200u) != 0;
2654 }
2655 inline void MotorTopic::set_has_info_data1() {
2656  _has_bits_[0] |= 0x00000200u;
2657 }
2658 inline void MotorTopic::clear_has_info_data1() {
2659  _has_bits_[0] &= ~0x00000200u;
2660 }
2662  info_data1_ = 0;
2663  clear_has_info_data1();
2664 }
2665 inline ::google::protobuf::int32 MotorTopic::info_data1() const {
2666  // @@protoc_insertion_point(field_get:modif.MotorTopic.info_data1)
2667  return info_data1_;
2668 }
2669 inline void MotorTopic::set_info_data1(::google::protobuf::int32 value) {
2670  set_has_info_data1();
2671  info_data1_ = value;
2672  // @@protoc_insertion_point(field_set:modif.MotorTopic.info_data1)
2673 }
2674 
2675 // optional int32 info_data2 = 8;
2676 inline bool MotorTopic::has_info_data2() const {
2677  return (_has_bits_[0] & 0x00000400u) != 0;
2678 }
2679 inline void MotorTopic::set_has_info_data2() {
2680  _has_bits_[0] |= 0x00000400u;
2681 }
2682 inline void MotorTopic::clear_has_info_data2() {
2683  _has_bits_[0] &= ~0x00000400u;
2684 }
2686  info_data2_ = 0;
2687  clear_has_info_data2();
2688 }
2689 inline ::google::protobuf::int32 MotorTopic::info_data2() const {
2690  // @@protoc_insertion_point(field_get:modif.MotorTopic.info_data2)
2691  return info_data2_;
2692 }
2693 inline void MotorTopic::set_info_data2(::google::protobuf::int32 value) {
2694  set_has_info_data2();
2695  info_data2_ = value;
2696  // @@protoc_insertion_point(field_set:modif.MotorTopic.info_data2)
2697 }
2698 
2699 // optional .modif.MotorAxisInfo axis_info = 9;
2700 inline bool MotorTopic::has_axis_info() const {
2701  return (_has_bits_[0] & 0x00000020u) != 0;
2702 }
2703 inline void MotorTopic::set_has_axis_info() {
2704  _has_bits_[0] |= 0x00000020u;
2705 }
2706 inline void MotorTopic::clear_has_axis_info() {
2707  _has_bits_[0] &= ~0x00000020u;
2708 }
2710  if (axis_info_ != NULL) axis_info_->::modif::MotorAxisInfo::Clear();
2711  clear_has_axis_info();
2712 }
2714  // @@protoc_insertion_point(field_get:modif.MotorTopic.axis_info)
2715  return axis_info_ != NULL ? *axis_info_
2717 }
2719  set_has_axis_info();
2720  if (axis_info_ == NULL) {
2721  axis_info_ = new ::modif::MotorAxisInfo;
2722  }
2723  // @@protoc_insertion_point(field_mutable:modif.MotorTopic.axis_info)
2724  return axis_info_;
2725 }
2727  // @@protoc_insertion_point(field_release:modif.MotorTopic.axis_info)
2728  clear_has_axis_info();
2729  ::modif::MotorAxisInfo* temp = axis_info_;
2730  axis_info_ = NULL;
2731  return temp;
2732 }
2734  delete axis_info_;
2735  axis_info_ = axis_info;
2736  if (axis_info) {
2737  set_has_axis_info();
2738  } else {
2739  clear_has_axis_info();
2740  }
2741  // @@protoc_insertion_point(field_set_allocated:modif.MotorTopic.axis_info)
2742 }
2743 
2744 // optional .modif.MotorSwitchInfo switch_info = 10;
2745 inline bool MotorTopic::has_switch_info() const {
2746  return (_has_bits_[0] & 0x00000040u) != 0;
2747 }
2748 inline void MotorTopic::set_has_switch_info() {
2749  _has_bits_[0] |= 0x00000040u;
2750 }
2751 inline void MotorTopic::clear_has_switch_info() {
2752  _has_bits_[0] &= ~0x00000040u;
2753 }
2755  if (switch_info_ != NULL) switch_info_->::modif::MotorSwitchInfo::Clear();
2756  clear_has_switch_info();
2757 }
2759  // @@protoc_insertion_point(field_get:modif.MotorTopic.switch_info)
2760  return switch_info_ != NULL ? *switch_info_
2762 }
2764  set_has_switch_info();
2765  if (switch_info_ == NULL) {
2766  switch_info_ = new ::modif::MotorSwitchInfo;
2767  }
2768  // @@protoc_insertion_point(field_mutable:modif.MotorTopic.switch_info)
2769  return switch_info_;
2770 }
2772  // @@protoc_insertion_point(field_release:modif.MotorTopic.switch_info)
2773  clear_has_switch_info();
2774  ::modif::MotorSwitchInfo* temp = switch_info_;
2775  switch_info_ = NULL;
2776  return temp;
2777 }
2779  delete switch_info_;
2780  switch_info_ = switch_info;
2781  if (switch_info) {
2782  set_has_switch_info();
2783  } else {
2784  clear_has_switch_info();
2785  }
2786  // @@protoc_insertion_point(field_set_allocated:modif.MotorTopic.switch_info)
2787 }
2788 
2789 // optional bool local = 11;
2790 inline bool MotorTopic::has_local() const {
2791  return (_has_bits_[0] & 0x00000800u) != 0;
2792 }
2793 inline void MotorTopic::set_has_local() {
2794  _has_bits_[0] |= 0x00000800u;
2795 }
2796 inline void MotorTopic::clear_has_local() {
2797  _has_bits_[0] &= ~0x00000800u;
2798 }
2800  local_ = false;
2801  clear_has_local();
2802 }
2803 inline bool MotorTopic::local() const {
2804  // @@protoc_insertion_point(field_get:modif.MotorTopic.local)
2805  return local_;
2806 }
2807 inline void MotorTopic::set_local(bool value) {
2808  set_has_local();
2809  local_ = value;
2810  // @@protoc_insertion_point(field_set:modif.MotorTopic.local)
2811 }
2812 
2813 // optional int32 error_code = 12;
2814 inline bool MotorTopic::has_error_code() const {
2815  return (_has_bits_[0] & 0x00001000u) != 0;
2816 }
2817 inline void MotorTopic::set_has_error_code() {
2818  _has_bits_[0] |= 0x00001000u;
2819 }
2820 inline void MotorTopic::clear_has_error_code() {
2821  _has_bits_[0] &= ~0x00001000u;
2822 }
2824  error_code_ = 0;
2825  clear_has_error_code();
2826 }
2827 inline ::google::protobuf::int32 MotorTopic::error_code() const {
2828  // @@protoc_insertion_point(field_get:modif.MotorTopic.error_code)
2829  return error_code_;
2830 }
2831 inline void MotorTopic::set_error_code(::google::protobuf::int32 value) {
2832  set_has_error_code();
2833  error_code_ = value;
2834  // @@protoc_insertion_point(field_set:modif.MotorTopic.error_code)
2835 }
2836 
2837 // optional string error_str = 13;
2838 inline bool MotorTopic::has_error_str() const {
2839  return (_has_bits_[0] & 0x00000001u) != 0;
2840 }
2841 inline void MotorTopic::set_has_error_str() {
2842  _has_bits_[0] |= 0x00000001u;
2843 }
2844 inline void MotorTopic::clear_has_error_str() {
2845  _has_bits_[0] &= ~0x00000001u;
2846 }
2848  error_str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2849  clear_has_error_str();
2850 }
2851 inline const ::std::string& MotorTopic::error_str() const {
2852  // @@protoc_insertion_point(field_get:modif.MotorTopic.error_str)
2853  return error_str_.GetNoArena();
2854 }
2855 inline void MotorTopic::set_error_str(const ::std::string& value) {
2856  set_has_error_str();
2857  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2858  // @@protoc_insertion_point(field_set:modif.MotorTopic.error_str)
2859 }
2860 #if LANG_CXX11
2861 inline void MotorTopic::set_error_str(::std::string&& value) {
2862  set_has_error_str();
2863  error_str_.SetNoArena(
2864  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value));
2865  // @@protoc_insertion_point(field_set_rvalue:modif.MotorTopic.error_str)
2866 }
2867 #endif
2868 inline void MotorTopic::set_error_str(const char* value) {
2869  set_has_error_str();
2870  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2871  // @@protoc_insertion_point(field_set_char:modif.MotorTopic.error_str)
2872 }
2873 inline void MotorTopic::set_error_str(const char* value, size_t size) {
2874  set_has_error_str();
2875  error_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2876  ::std::string(reinterpret_cast<const char*>(value), size));
2877  // @@protoc_insertion_point(field_set_pointer:modif.MotorTopic.error_str)
2878 }
2879 inline ::std::string* MotorTopic::mutable_error_str() {
2880  set_has_error_str();
2881  // @@protoc_insertion_point(field_mutable:modif.MotorTopic.error_str)
2882  return error_str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2883 }
2884 inline ::std::string* MotorTopic::release_error_str() {
2885  // @@protoc_insertion_point(field_release:modif.MotorTopic.error_str)
2886  clear_has_error_str();
2887  return error_str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2888 }
2889 inline void MotorTopic::set_allocated_error_str(::std::string* error_str) {
2890  if (error_str != NULL) {
2891  set_has_error_str();
2892  } else {
2893  clear_has_error_str();
2894  }
2895  error_str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_str);
2896  // @@protoc_insertion_point(field_set_allocated:modif.MotorTopic.error_str)
2897 }
2898 
2899 // -------------------------------------------------------------------
2900 
2901 // States
2902 
2903 // optional int32 state = 1;
2904 inline bool States::has_state() const {
2905  return (_has_bits_[0] & 0x00000001u) != 0;
2906 }
2907 inline void States::set_has_state() {
2908  _has_bits_[0] |= 0x00000001u;
2909 }
2910 inline void States::clear_has_state() {
2911  _has_bits_[0] &= ~0x00000001u;
2912 }
2913 inline void States::clear_state() {
2914  state_ = 0;
2915  clear_has_state();
2916 }
2917 inline ::google::protobuf::int32 States::state() const {
2918  // @@protoc_insertion_point(field_get:modif.States.state)
2919  return state_;
2920 }
2921 inline void States::set_state(::google::protobuf::int32 value) {
2922  set_has_state();
2923  state_ = value;
2924  // @@protoc_insertion_point(field_set:modif.States.state)
2925 }
2926 
2927 // optional int32 substate = 2;
2928 inline bool States::has_substate() const {
2929  return (_has_bits_[0] & 0x00000002u) != 0;
2930 }
2931 inline void States::set_has_substate() {
2932  _has_bits_[0] |= 0x00000002u;
2933 }
2934 inline void States::clear_has_substate() {
2935  _has_bits_[0] &= ~0x00000002u;
2936 }
2937 inline void States::clear_substate() {
2938  substate_ = 0;
2939  clear_has_substate();
2940 }
2941 inline ::google::protobuf::int32 States::substate() const {
2942  // @@protoc_insertion_point(field_get:modif.States.substate)
2943  return substate_;
2944 }
2945 inline void States::set_substate(::google::protobuf::int32 value) {
2946  set_has_substate();
2947  substate_ = value;
2948  // @@protoc_insertion_point(field_set:modif.States.substate)
2949 }
2950 
2951 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
2952 // -------------------------------------------------------------------
2953 
2954 // -------------------------------------------------------------------
2955 
2956 // -------------------------------------------------------------------
2957 
2958 // -------------------------------------------------------------------
2959 
2960 // -------------------------------------------------------------------
2961 
2962 // -------------------------------------------------------------------
2963 
2964 // -------------------------------------------------------------------
2965 
2966 // -------------------------------------------------------------------
2967 
2968 // -------------------------------------------------------------------
2969 
2970 
2971 // @@protoc_insertion_point(namespace_scope)
2972 
2973 
2974 } // namespace modif
2975 
2976 // @@protoc_insertion_point(global_scope)
2977 
2978 #endif // PROTOBUF_topics_2eproto__INCLUDED
void set_step(::google::protobuf::int32 value)
Definition: topics.pb.h:2389
bool has_error_code() const
Definition: topics.pb.h:1823
void clear_state()
Definition: topics.pb.h:2913
static const MotorAxisInfo * internal_default_instance()
Definition: topics.pb.h:746
void set_allocated_error_str(::std::string *error_str)
Definition: topics.pb.h:1739
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:1150
MotorInitInfoDefaultTypeInternal _MotorInitInfo_default_instance_
void clear_error_code()
Definition: topics.pb.h:1673
double value
Definition: easylogging++.h:814
void Clear() PROTOBUF_FINAL
Definition: topics.pb.h:981
TaskIdDefaultTypeInternal _TaskId_default_instance_
optional bool index
Definition: topics.proto:34
bool has_index() const
Definition: topics.pb.h:2034
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:1112
void set_allocated_error_str(::std::string *error_str)
Definition: topics.pb.h:2889
void set_allocated_msg(::std::string *msg)
Definition: topics.pb.h:1556
double enc() const
Definition: topics.pb.h:2271
::google::protobuf::int32 action() const
Definition: topics.pb.h:2409
::google::protobuf::int32 error_code() const
Definition: topics.pb.h:1677
bool uhw() const
Definition: topics.pb.h:2071
message MotorTopic
Definition: topics.proto:59
static const int kLocalFieldNumber
Definition: topics.pb.h:448
void clear_switch_info()
Definition: topics.pb.h:2754
static const ::google::protobuf::Descriptor * descriptor()
static const MotorPosition * internal_default_instance()
Definition: topics.pb.h:881
void Clear() PROTOBUF_FINAL
Definition: topics.pb.h:858
::std::string * mutable_name()
Definition: topics.pb.h:2323
const ::modif::MotorPosition & target_pos() const
Definition: topics.pb.h:2527
optional bool in_position
Definition: topics.proto:44
TaskId * New() const PROTOBUF_FINAL
Definition: topics.pb.h:112
float intensity() const
Definition: topics.pb.h:1629
::std::string * release_name()
Definition: topics.pb.h:2328
virtual ~SensorTopic()
void clear_error_code()
Definition: topics.pb.h:2823
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
::modif::MotorPosition * mutable_actual_pos()
Definition: topics.pb.h:2487
void set_allocated_init_info(::modif::MotorInitInfo *init_info)
Definition: topics.pb.h:2592
void clear_locked()
Definition: topics.pb.h:2191
bool has_state() const
Definition: topics.pb.h:2904
void set_allocated_states(::modif::States *states)
Definition: topics.pb.h:1787
::modif::MotorSwitchInfo * release_switch_info()
Definition: topics.pb.h:2771
bool has_init_info() const
Definition: topics.pb.h:2559
static const ::google::protobuf::Descriptor * descriptor()
void set_local(bool value)
Definition: topics.pb.h:2807
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:997
bool has_local() const
Definition: topics.pb.h:1799
const ::modif::MotorAxisInfo & axis_info() const
Definition: topics.pb.h:2713
Definition: topics.pb.h:80
MotorSwitchInfo & operator=(const MotorSwitchInfo &from)
Definition: topics.pb.h:585
bool braked() const
Definition: topics.pb.h:2171
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:1343
::modif::MotorInitInfo * mutable_init_info()
Definition: topics.pb.h:2577
static const int kIntensityFieldNumber
Definition: topics.pb.h:303
void clear_local()
Definition: topics.pb.h:2799
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const PROTOBUF_FINAL
Definition: topics.pb.h:250
const ::std::string & error_str() const
Definition: topics.pb.h:1701
void set_allocated_actual_pos(::modif::MotorPosition *actual_pos)
Definition: topics.pb.h:2502
const ::std::string & msg() const
Definition: topics.pb.h:1518
bool IsInitialized() const PROTOBUF_FINAL
optional bool ref
Definition: topics.proto:33
static const int kStatesFieldNumber
Definition: topics.pb.h:294
::std::string * release_error_str()
Definition: topics.pb.h:1734
SensorTopic & operator=(const SensorTopic &from)
Definition: topics.pb.h:488
optional MotorInitInfo init_info
Definition: topics.proto:63
void set_local(bool value)
Definition: topics.pb.h:1816
size_t ByteSizeLong() const PROTOBUF_FINAL
size_t ByteSizeLong() const PROTOBUF_FINAL
void set_uhw(bool value)
Definition: topics.pb.h:2075
double uu() const
Definition: topics.pb.h:2247
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:739
void clear_error_str()
Definition: topics.pb.h:2847
void set_uu(double value)
Definition: topics.pb.h:2251
void set_allocated_states(::modif::States *states)
Definition: topics.pb.h:1604
States * New() const PROTOBUF_FINAL
Definition: topics.pb.h:1363
void set_ready(bool value)
Definition: topics.pb.h:2127
void set_error_code(::google::protobuf::int32 value)
Definition: topics.pb.h:1840
void set_allocated_switch_info(::modif::MotorSwitchInfo *switch_info)
Definition: topics.pb.h:2778
::std::string * mutable_error_str()
Definition: topics.pb.h:1729
::modif::MotorSwitchInfo * mutable_switch_info()
Definition: topics.pb.h:2763
static const int kErrorStrFieldNumber
Definition: topics.pb.h:279
bool has_enc() const
Definition: topics.pb.h:2258
void Swap(ShutterTopic *other)
static const MotorTopic * internal_default_instance()
Definition: topics.pb.h:1119
void clear_init_info()
Definition: topics.pb.h:2568
::google::protobuf::int32 state() const
Definition: topics.pb.h:2917
bool has_enabled() const
Definition: topics.pb.h:2134
void clear_target_pos()
Definition: topics.pb.h:2523
bool has_action() const
Definition: topics.pb.h:2396
::std::string * release_id()
Definition: topics.pb.h:1489
void set_locked(bool value)
Definition: topics.pb.h:2199
message ShutterTopic
Definition: topics.proto:18
void clear_lhw()
Definition: topics.pb.h:1995
virtual ~LampTopic()
::google::protobuf::int32 error_code() const
Definition: topics.pb.h:1836
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:874
Definition: topics.pb.h:723
bool enabled() const
Definition: topics.pb.h:2147
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
void clear_info_data2()
Definition: topics.pb.h:2685
bool has_info_data2() const
Definition: topics.pb.h:2676
bool locked() const
Definition: topics.pb.h:2195
StatesDefaultTypeInternal _States_default_instance_
bool has_step() const
Definition: topics.pb.h:2372
const ::modif::MotorInitInfo & init_info() const
Definition: topics.pb.h:2572
ShutterTopic & operator=(const ShutterTopic &from)
Definition: topics.pb.h:353
void set_error_code(::google::protobuf::int32 value)
Definition: topics.pb.h:1681
void set_local(bool value)
Definition: topics.pb.h:1657
static const int kErrorCodeFieldNumber
Definition: topics.pb.h:455
optional bool uhw
Definition: topics.proto:35
void set_error_code(::google::protobuf::int32 value)
Definition: topics.pb.h:2831
void clear_uhw()
Definition: topics.pb.h:2067
bool has_states() const
Definition: topics.pb.h:1754
Definition: topics.pb.h:481
MotorAxisInfo & operator=(const MotorAxisInfo &from)
Definition: topics.pb.h:730
void Swap(SensorTopic *other)
bool ref() const
Definition: topics.pb.h:2023
const ::std::string & error_str() const
Definition: topics.pb.h:1860
void clear_name()
Definition: topics.pb.h:2291
static const SensorTopic & default_instance()
void set_substate(::google::protobuf::int32 value)
Definition: topics.pb.h:2945
void clear_uu()
Definition: topics.pb.h:2243
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:400
::std::string * release_msg()
Definition: topics.pb.h:1551
const ::modif::States & states() const
Definition: topics.pb.h:1926
void clear_states()
Definition: topics.pb.h:1763
bool has_error_code() const
Definition: topics.pb.h:2814
static const int kIdFieldNumber
Definition: topics.pb.h:158
message MotorSwitchInfo
Definition: topics.proto:30
optional string msg
Definition: topics.proto:7
optional bool lhw
Definition: topics.proto:32
bool IsInitialized() const PROTOBUF_FINAL
virtual ~TaskId()
void Swap(TaskId *other)
::modif::States * mutable_states()
Definition: topics.pb.h:1931
SensorTopic * New() const PROTOBUF_FINAL
Definition: topics.pb.h:513
Definition: topics.pb.h:201
::std::string * mutable_error_str()
Definition: topics.pb.h:2879
void InitDefaults()
Definition: Types.pb.cpp:111
optional bool locked
Definition: topics.proto:43
MotorAxisInfoDefaultTypeInternal _MotorAxisInfo_default_instance_
optional int32 info_data1
Definition: topics.proto:66
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
SensorTopicDefaultTypeInternal _SensorTopic_default_instance_
optional int32 step
Definition: topics.proto:55
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:1108
virtual ~ShutterTopic()
void set_info_data2(::google::protobuf::int32 value)
Definition: topics.pb.h:2693
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:632
bool has_target_pos() const
Definition: topics.pb.h:2514
MotorPosition & operator=(const MotorPosition &from)
Definition: topics.pb.h:865
bool has_states() const
Definition: topics.pb.h:1571
bool has_info_data1() const
Definition: topics.pb.h:2652
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
bool has_error_code() const
Definition: topics.pb.h:1664
void set_error_str(const ::std::string &value)
Definition: topics.pb.h:1705
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:1035
optional double pos_error
Definition: topics.proto:64
void Clear() PROTOBUF_FINAL
static const ::google::protobuf::Descriptor * descriptor()
message MotorInitInfo
Definition: topics.proto:53
MotorTopic & operator=(const MotorTopic &from)
Definition: topics.pb.h:1103
void clear_index()
Definition: topics.pb.h:2043
MotorTopic * New() const PROTOBUF_FINAL
Definition: topics.pb.h:1128
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
bool has_intensity() const
Definition: topics.pb.h:1616
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
bool has_error_str() const
Definition: topics.pb.h:1688
::modif::MotorAxisInfo * mutable_axis_info()
Definition: topics.pb.h:2718
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
void set_state(::google::protobuf::int32 value)
Definition: topics.pb.h:2921
bool local() const
Definition: topics.pb.h:1812
void clear_error_str()
Definition: topics.pb.h:1856
const ::modif::States & states() const
Definition: topics.pb.h:1584
bool has_pos_error() const
Definition: topics.pb.h:2604
void clear_initialised()
Definition: topics.pb.h:2357
optional MotorAxisInfo axis_info
Definition: topics.proto:68
void set_error_str(const ::std::string &value)
Definition: topics.pb.h:2855
::modif::States * release_states()
Definition: topics.pb.h:1939
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:362
::modif::MotorInitInfo * release_init_info()
Definition: topics.pb.h:2585
::google::protobuf::int32 error_code() const
Definition: topics.pb.h:2827
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:594
::std::string * mutable_msg()
Definition: topics.pb.h:1546
bool has_error_str() const
Definition: topics.pb.h:1847
static const SensorTopic * internal_default_instance()
Definition: topics.pb.h:504
static const LampTopic & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:993
void set_allocated_states(::modif::States *states)
Definition: topics.pb.h:1946
void set_id(const ::std::string &value)
Definition: topics.pb.h:1460
static const ::google::protobuf::uint32 offsets[]
Definition: topics.pb.h:70
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
static const int kStatesFieldNumber
Definition: topics.pb.h:439
void set_error_str(const ::std::string &value)
Definition: topics.pb.h:1864
bool index() const
Definition: topics.pb.h:2047
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
LampTopic & operator=(const LampTopic &from)
Definition: topics.pb.h:208
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const PROTOBUF_FINAL
Definition: topics.pb.h:129
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const PROTOBUF_FINAL
Definition: topics.pb.h:530
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
optional int32 substate
Definition: topics.proto:77
optional int32 info_data2
Definition: topics.proto:67
MotorAxisInfo * New() const PROTOBUF_FINAL
Definition: topics.pb.h:755
static const int kLocalFieldNumber
Definition: topics.pb.h:310
double pos_error() const
Definition: topics.pb.h:2617
optional int32 action
Definition: topics.proto:56
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:493
void clear_actual_pos()
Definition: topics.pb.h:2478
void clear_local()
Definition: topics.pb.h:1808
void clear_in_position()
Definition: topics.pb.h:2215
void set_enc(double value)
Definition: topics.pb.h:2275
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:535
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:777
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:213
void set_allocated_name(::std::string *name)
Definition: topics.pb.h:2333
void set_allocated_states(::modif::States *states)
Definition: topics.pb.h:2457
bool IsInitialized() const PROTOBUF_FINAL
void clear_axis_info()
Definition: topics.pb.h:2709
bool has_lstop() const
Definition: topics.pb.h:1962
bool has_substate() const
Definition: topics.pb.h:2928
message TaskId
Definition: topics.proto:5
const ::modif::MotorSwitchInfo & switch_info() const
Definition: topics.pb.h:2758
::std::string * mutable_id()
Definition: topics.pb.h:1484
void set_enabled(bool value)
Definition: topics.pb.h:2151
bool in_position() const
Definition: topics.pb.h:2219
void set_vel(double value)
Definition: topics.pb.h:2645
::google::protobuf::int32 info_data2() const
Definition: topics.pb.h:2689
message MotorPosition
Definition: topics.proto:47
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
bool has_uhw() const
Definition: topics.pb.h:2058
Definition: topics.pb.h:1331
::std::string * release_error_str()
Definition: topics.pb.h:1893
MotorInitInfo * New() const PROTOBUF_FINAL
Definition: topics.pb.h:1013
::google::protobuf::int32 substate() const
Definition: topics.pb.h:2941
optional double vel
Definition: topics.proto:65
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:96
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:870
bool has_in_position() const
Definition: topics.pb.h:2206
void set_lhw(bool value)
Definition: topics.pb.h:2003
static const int kStatesFieldNumber
Definition: topics.pb.h:559
bool has_error_str() const
Definition: topics.pb.h:2838
MotorInitInfo & operator=(const MotorInitInfo &from)
Definition: topics.pb.h:988
void Clear() PROTOBUF_FINAL
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
void clear_enc()
Definition: topics.pb.h:2267
static const ::google::protobuf::Descriptor * descriptor()
static const ShutterTopic & default_instance()
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void set_in_position(bool value)
Definition: topics.pb.h:2223
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:912
::modif::States * release_states()
Definition: topics.pb.h:2450
bool has_ustop() const
Definition: topics.pb.h:2082
bool has_states() const
Definition: topics.pb.h:2424
void clear_ustop()
Definition: topics.pb.h:2091
void clear_error_code()
Definition: topics.pb.h:1832
void set_allocated_error_str(::std::string *error_str)
Definition: topics.pb.h:1898
bool lstop() const
Definition: topics.pb.h:1975
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:735
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:217
bool has_actual_pos() const
Definition: topics.pb.h:2469
message States
Definition: topics.proto:75
bool has_switch_info() const
Definition: topics.pb.h:2745
void set_pos_error(double value)
Definition: topics.pb.h:2621
optional bool local
Definition: topics.proto:13
bool has_uu() const
Definition: topics.pb.h:2234
static const MotorSwitchInfo * internal_default_instance()
Definition: topics.pb.h:601
void clear_id()
Definition: topics.pb.h:1452
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
optional double enc
Definition: topics.proto:49
static const States * internal_default_instance()
Definition: topics.pb.h:1354
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:92
const ::modif::States & states() const
Definition: topics.pb.h:1767
bool has_name() const
Definition: topics.pb.h:2282
bool has_ready() const
Definition: topics.pb.h:2110
::std::string * mutable_error_str()
Definition: topics.pb.h:1888
static const LampTopic * internal_default_instance()
Definition: topics.pb.h:224
bool has_initialised() const
Definition: topics.pb.h:2348
void clear_ready()
Definition: topics.pb.h:2119
Definition: topics.pb.h:1096
::modif::States * release_states()
Definition: topics.pb.h:1780
::google::protobuf::int32 step() const
Definition: topics.pb.h:2385
void clear_ref()
Definition: topics.pb.h:2019
void set_intensity(float value)
Definition: topics.pb.h:1633
Definition: topics.pb.h:346
static const TaskId * internal_default_instance()
Definition: topics.pb.h:103
void set_msg(const ::std::string &value)
Definition: topics.pb.h:1522
void Swap(LampTopic *other)
void set_index(bool value)
Definition: topics.pb.h:2051
bool ustop() const
Definition: topics.pb.h:2095
void clear_info_data1()
Definition: topics.pb.h:2661
void set_allocated_id(::std::string *id)
Definition: topics.pb.h:1494
void set_ref(bool value)
Definition: topics.pb.h:2027
bool has_msg() const
Definition: topics.pb.h:1505
void clear_enabled()
Definition: topics.pb.h:2143
void set_allocated_axis_info(::modif::MotorAxisInfo *axis_info)
Definition: topics.pb.h:2733
void AddDescriptors()
Definition: Types.pb.cpp:130
::modif::States * mutable_states()
Definition: topics.pb.h:1772
const ::std::string & error_str() const
Definition: topics.pb.h:2851
const ::modif::MotorPosition & actual_pos() const
Definition: topics.pb.h:2482
static const int kErrorCodeFieldNumber
Definition: topics.pb.h:317
void clear_msg()
Definition: topics.pb.h:1514
optional bool enabled
Definition: topics.proto:41
TaskId & operator=(const TaskId &from)
Definition: topics.pb.h:87
::std::string * release_error_str()
Definition: topics.pb.h:2884
message MotorAxisInfo
Definition: topics.proto:39
bool has_vel() const
Definition: topics.pb.h:2628
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
bool has_local() const
Definition: topics.pb.h:2790
optional int32 error_code
Definition: topics.proto:14
void set_initialised(bool value)
Definition: topics.pb.h:2365
::modif::MotorAxisInfo * release_axis_info()
Definition: topics.pb.h:2726
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
bool has_axis_info() const
Definition: topics.pb.h:2700
message SensorTopic
Definition: topics.proto:25
::modif::States * release_states()
Definition: topics.pb.h:1597
bool IsInitialized() const PROTOBUF_FINAL
optional bool braked
Definition: topics.proto:42
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:134
static const ShutterTopic * internal_default_instance()
Definition: topics.pb.h:369
::modif::States * mutable_states()
Definition: topics.pb.h:1589
void clear_substate()
Definition: topics.pb.h:2937
const ::modif::States & states() const
Definition: topics.pb.h:2437
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:1385
MotorTopicDefaultTypeInternal _MotorTopic_default_instance_
LampTopic * New() const PROTOBUF_FINAL
Definition: topics.pb.h:233
::modif::MotorPosition * release_actual_pos()
Definition: topics.pb.h:2495
void clear_error_str()
Definition: topics.pb.h:1697
void clear_states()
Definition: topics.pb.h:1922
void set_braked(bool value)
Definition: topics.pb.h:2175
Definition: topics.pb.h:578
optional MotorPosition actual_pos
Definition: topics.proto:61
ShutterTopicDefaultTypeInternal _ShutterTopic_default_instance_
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void set_allocated_target_pos(::modif::MotorPosition *target_pos)
Definition: topics.pb.h:2547
void set_action(::google::protobuf::int32 value)
Definition: topics.pb.h:2413
ShutterTopic * New() const PROTOBUF_FINAL
Definition: topics.pb.h:378
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const PROTOBUF_FINAL
Definition: topics.pb.h:395
::google::protobuf::int32 info_data1() const
Definition: topics.pb.h:2665
size_t ByteSizeLong() const PROTOBUF_FINAL
bool local() const
Definition: topics.pb.h:1653
void clear_states()
Definition: topics.pb.h:2433
const ::std::string & name() const
Definition: topics.pb.h:2295
optional string error_str
Definition: topics.proto:15
bool has_lhw() const
Definition: topics.pb.h:1986
bool ready() const
Definition: topics.pb.h:2123
bool initialised() const
Definition: topics.pb.h:2361
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:255
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
void set_info_data1(::google::protobuf::int32 value)
Definition: topics.pb.h:2669
void set_name(const ::std::string &value)
Definition: topics.pb.h:2299
static const MotorInitInfo * internal_default_instance()
Definition: topics.pb.h:1004
void clear_pos_error()
Definition: topics.pb.h:2613
MotorSwitchInfoDefaultTypeInternal _MotorSwitchInfo_default_instance_
::modif::MotorPosition * release_target_pos()
Definition: topics.pb.h:2540
bool local() const
Definition: topics.pb.h:2803
optional bool ustop
Definition: topics.proto:36
bool has_local() const
Definition: topics.pb.h:1640
MotorPosition * New() const PROTOBUF_FINAL
Definition: topics.pb.h:890
std::string const
Definition: Test{{cookiecutter.device_name}}.cpp:209
void clear_local()
Definition: topics.pb.h:1649
bool has_states() const
Definition: topics.pb.h:1913
void set_ustop(bool value)
Definition: topics.pb.h:2099
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:590
LampTopicDefaultTypeInternal _LampTopic_default_instance_
package modif
Definition: requests.proto:3
optional string name
Definition: topics.proto:50
static const int kMsgFieldNumber
Definition: topics.pb.h:173
void clear_intensity()
Definition: topics.pb.h:1625
void set_lstop(bool value)
Definition: topics.pb.h:1979
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: topics.pb.h:358
bool has_locked() const
Definition: topics.pb.h:2182
void clear_vel()
Definition: topics.pb.h:2637
::modif::States * mutable_states()
Definition: topics.pb.h:2442
void clear_braked()
Definition: topics.pb.h:2167
void clear_states()
Definition: topics.pb.h:1580
optional MotorSwitchInfo switch_info
Definition: topics.proto:69
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
void clear_action()
Definition: topics.pb.h:2405
bool lhw() const
Definition: topics.pb.h:1999
MotorPositionDefaultTypeInternal _MotorPosition_default_instance_
optional MotorPosition target_pos
Definition: topics.proto:62
::modif::MotorPosition * mutable_target_pos()
Definition: topics.pb.h:2532
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:1347
void clear_step()
Definition: topics.pb.h:2381
void clear_lstop()
Definition: topics.pb.h:1971
double vel() const
Definition: topics.pb.h:2641
message LampTopic
Definition: topics.proto:10
static const int kErrorStrFieldNumber
Definition: topics.pb.h:424
bool has_id() const
Definition: topics.pb.h:1443
size_t ByteSizeLong() const PROTOBUF_FINAL
States & operator=(const States &from)
Definition: topics.pb.h:1338
static const TaskId & default_instance()
MotorSwitchInfo * New() const PROTOBUF_FINAL
Definition: topics.pb.h:610
const ::std::string & id() const
Definition: topics.pb.h:1456
bool has_braked() const
Definition: topics.pb.h:2158
bool has_ref() const
Definition: topics.pb.h:2010
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: topics.pb.h:497