distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
QueueWrappers.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_QUEUE_QUEUEWRAPPERS_HPP_
13 #define TEST_QUEUE_QUEUEWRAPPERS_HPP_
14 
16 
25 
26 namespace distortos
27 {
28 
29 namespace test
30 {
31 
34 {
35 public:
36 
41  virtual ~QueueWrapper() = 0;
42 
54  virtual bool check(uint8_t priority1, const OperationCountingType& value1, uint8_t priority2,
55  const OperationCountingType& value2) const = 0;
56 
64  virtual bool checkCounters(size_t constructed, size_t copyConstructed, size_t moveConstructed, size_t destructed,
65  size_t copyAssigned, size_t moveAssigned, size_t swapped) const = 0;
66 
71  virtual int emplace(uint8_t priority, OperationCountingType::Value value = {}) const = 0;
72 
77  virtual int pop(uint8_t& priority, OperationCountingType& value) const = 0;
78 
83  virtual int push(uint8_t priority, const OperationCountingType& value) const = 0;
84 
89  virtual int push(uint8_t priority, OperationCountingType&& value) const = 0;
90 
95  virtual int tryEmplace(uint8_t priority, OperationCountingType::Value value = {}) const = 0;
96 
101  virtual int tryEmplaceFor(TickClock::duration duration, uint8_t priority, OperationCountingType::Value value = {})
102  const = 0;
103 
108  virtual int tryEmplaceUntil(TickClock::time_point timePoint, uint8_t priority,
109  OperationCountingType::Value value = {}) const = 0;
110 
115  virtual int tryPop(uint8_t& priority, OperationCountingType& value) const = 0;
116 
121  virtual int tryPopFor(TickClock::duration duration, uint8_t& priority, OperationCountingType& value) const = 0;
122 
127  virtual int tryPopUntil(TickClock::time_point timePoint, uint8_t& priority, OperationCountingType& value) const = 0;
128 
134  virtual int tryPush(uint8_t priority, const OperationCountingType& value) const = 0;
135 
141  virtual int tryPush(uint8_t priority, OperationCountingType&& value) const = 0;
142 
148  virtual int tryPushFor(TickClock::duration duration, uint8_t priority, const OperationCountingType& value) const =
149  0;
150 
156  virtual int tryPushFor(TickClock::duration duration, uint8_t priority, OperationCountingType&& value) const = 0;
157 
163  virtual int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const OperationCountingType& value)
164  const = 0;
165 
171  virtual int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType&& value) const =
172  0;
173 };
174 
176 using QueueWrapperUniquePointer = std::unique_ptr<QueueWrapper>;
177 
180 {
181 public:
182 
189  bool checkCounters(size_t constructed, size_t copyConstructed, size_t moveConstructed, size_t destructed,
190  size_t copyAssigned, size_t moveAssigned, size_t swapped) const override;
191 };
192 
195 {
196 public:
197 
200 
207  constexpr explicit FifoQueueWrapper(TestFifoQueue& fifoQueue) :
208  fifoQueue_{fifoQueue}
209  {
210 
211  }
212 
226  bool check(uint8_t priority1, const OperationCountingType& value1, uint8_t priority2,
227  const OperationCountingType& value2) const override;
228 
233  int emplace(uint8_t priority, OperationCountingType::Value value = {}) const override;
234 
239  int pop(uint8_t& priority, OperationCountingType& value) const override;
240 
245  int push(uint8_t priority, const OperationCountingType& value) const override;
246 
251  int push(uint8_t priority, OperationCountingType&& value) const override;
252 
257  int tryEmplace(uint8_t priority, OperationCountingType::Value value = {}) const override;
258 
263  int tryEmplaceFor(TickClock::duration duration, uint8_t priority, OperationCountingType::Value value = {}) const
264  override;
265 
270  int tryEmplaceUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType::Value value = {})
271  const override;
272 
277  int tryPop(uint8_t& priority, OperationCountingType& value) const override;
278 
283  int tryPopFor(TickClock::duration duration, uint8_t& priority, OperationCountingType& value) const override;
284 
289  int tryPopUntil(TickClock::time_point timePoint, uint8_t& priority, OperationCountingType& value) const override;
290 
295  int tryPush(uint8_t priority, const OperationCountingType& value) const override;
296 
301  int tryPush(uint8_t priority, OperationCountingType&& value) const override;
302 
307  int tryPushFor(TickClock::duration duration, uint8_t priority, const OperationCountingType& value) const override;
308 
313  int tryPushFor(TickClock::duration duration, uint8_t priority, OperationCountingType&& value) const override;
314 
319  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const OperationCountingType& value) const
320  override;
321 
326  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType&& value) const override;
327 
328 private:
329 
332 };
333 
339 {
340 public:
341 
344 
351  explicit DynamicFifoQueueWrapper(size_t queueSize);
352 
353 private:
354 
357 };
358 
365 template<size_t QueueSize>
367 {
368 public:
369 
372 
378  FifoQueueWrapper{fifoQueue_}
379  {
380 
381  }
382 
383 private:
384 
387 };
388 
391 {
392 public:
393 
396 
403  constexpr explicit MessageQueueWrapper(TestMessageQueue& messageQueue) :
404  messageQueue_{messageQueue}
405  {
406 
407  }
408 
420  bool check(uint8_t priority1, const OperationCountingType& value1, uint8_t priority2,
421  const OperationCountingType& value2) const override;
422 
427  int emplace(uint8_t priority, OperationCountingType::Value value = {}) const override;
428 
433  int pop(uint8_t& priority, OperationCountingType& value) const override;
434 
439  int push(uint8_t priority, const OperationCountingType& value) const override;
440 
445  int push(uint8_t priority, OperationCountingType&& value) const override;
446 
451  int tryEmplace(uint8_t priority, OperationCountingType::Value value = {}) const override;
452 
457  int tryEmplaceFor(TickClock::duration duration, uint8_t priority, OperationCountingType::Value value = {}) const
458  override;
459 
464  int tryEmplaceUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType::Value value = {})
465  const override;
466 
471  int tryPop(uint8_t& priority, OperationCountingType& value) const override;
472 
477  int tryPopFor(TickClock::duration duration, uint8_t& priority, OperationCountingType& value) const override;
478 
483  int tryPopUntil(TickClock::time_point timePoint, uint8_t& priority, OperationCountingType& value) const override;
484 
489  int tryPush(uint8_t priority, const OperationCountingType& value) const override;
490 
495  int tryPush(uint8_t priority, OperationCountingType&& value) const override;
496 
501  int tryPushFor(TickClock::duration duration, uint8_t priority, const OperationCountingType& value) const override;
502 
507  int tryPushFor(TickClock::duration duration, uint8_t priority, OperationCountingType&& value) const override;
508 
513  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const OperationCountingType& value) const
514  override;
515 
520  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType&& value) const override;
521 
522 private:
523 
526 };
527 
534 {
535 public:
536 
539 
546  explicit DynamicMessageQueueWrapper(size_t queueSize);
547 
548 private:
549 
552 };
553 
561 template<size_t QueueSize>
563 {
564 public:
565 
568 
574  MessageQueueWrapper{messageQueue_}
575  {
576 
577  }
578 
579 private:
580 
583 };
584 
587 {
588 public:
589 
596  bool checkCounters(size_t constructed, size_t copyConstructed, size_t moveConstructed, size_t destructed,
597  size_t copyAssigned, size_t moveAssigned, size_t swapped) const override;
598 
603  int emplace(uint8_t priority, OperationCountingType::Value value = {}) const final override;
604 
609  virtual int pop(uint8_t& priority, void* buffer, size_t size) const = 0;
610 
615  int pop(uint8_t& priority, OperationCountingType& value) const final override;
616 
621  virtual int push(uint8_t priority, const void* data, size_t size) const = 0;
622 
627  int push(uint8_t priority, const OperationCountingType& value) const final override;
628 
633  int push(uint8_t priority, OperationCountingType&& value) const final override;
634 
639  int tryEmplace(uint8_t priority, OperationCountingType::Value value = {}) const final override;
640 
645  int tryEmplaceFor(TickClock::duration duration, uint8_t priority, OperationCountingType::Value value = {}) const
646  final override;
647 
652  int tryEmplaceUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType::Value value = {})
653  const final override;
654 
659  virtual int tryPop(uint8_t& priority, void* buffer, size_t size) const = 0;
660 
665  int tryPop(uint8_t& priority, OperationCountingType& value) const final override;
666 
671  virtual int tryPopFor(TickClock::duration duration, uint8_t& priority, void* buffer, size_t size) const = 0;
672 
677  int tryPopFor(TickClock::duration duration, uint8_t& priority, OperationCountingType& value) const final override;
678 
683  virtual int tryPopUntil(TickClock::time_point timePoint, uint8_t& priority, void* buffer, size_t size) const = 0;
684 
689  int tryPopUntil(TickClock::time_point timePoint, uint8_t& priority, OperationCountingType& value) const final
690  override;
691 
696  virtual int tryPush(uint8_t priority, const void* data, size_t size) const = 0;
697 
702  int tryPush(uint8_t priority, const OperationCountingType& value) const final override;
703 
708  int tryPush(uint8_t priority, OperationCountingType&& value) const final override;
709 
714  virtual int tryPushFor(TickClock::duration duration, uint8_t priority, const void* data, size_t size) const = 0;
715 
720  int tryPushFor(TickClock::duration duration, uint8_t priority, const OperationCountingType& value) const final
721  override;
722 
727  int tryPushFor(TickClock::duration duration, uint8_t priority, OperationCountingType&& value) const final override;
728 
733  virtual int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const void* data, size_t size) const =
734  0;
735 
740  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const OperationCountingType& value) const final
741  override;
742 
747  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType&& value) const final
748  override;
749 };
750 
752 using RawQueueWrapperUniquePointer = std::unique_ptr<RawQueueWrapper>;
753 
756 {
757 public:
758 
765  constexpr explicit RawFifoQueueWrapper(RawFifoQueue& rawFifoQueue) :
766  rawFifoQueue_{rawFifoQueue}
767  {
768 
769  }
770 
784  bool check(uint8_t priority1, const OperationCountingType& value1, uint8_t priority2,
785  const OperationCountingType& value2) const override;
786 
791  int pop(uint8_t& priority, void* buffer, size_t size) const override;
792 
797  int push(uint8_t priority, const void* data, size_t size) const override;
798 
803  int tryPop(uint8_t& priority, void* buffer, size_t size) const override;
804 
809  int tryPopFor(TickClock::duration duration, uint8_t& priority, void* buffer, size_t size) const override;
810 
815  int tryPopUntil(TickClock::time_point timePoint, uint8_t& priority, void* buffer, size_t size) const override;
816 
821  int tryPush(uint8_t priority, const void* data, size_t size) const override;
822 
827  int tryPushFor(TickClock::duration duration, uint8_t priority, const void* data, size_t size) const override;
828 
833  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const void* data, size_t size) const override;
834 
835 private:
836 
839 };
840 
847 {
848 public:
849 
856  explicit DynamicRawFifoQueueWrapper(size_t queueSize);
857 
858 private:
859 
862 };
863 
871 template<size_t QueueSize>
873 {
874 public:
875 
878 
884  RawFifoQueueWrapper{rawFifoQueue_}
885  {
886 
887  }
888 
889 private:
890 
893 };
894 
897 {
898 public:
899 
906  constexpr explicit RawMessageQueueWrapper(RawMessageQueue& rawMessageQueue) :
907  rawMessageQueue_{rawMessageQueue}
908  {
909 
910  }
911 
923  bool check(uint8_t priority1, const OperationCountingType& value1, uint8_t priority2,
924  const OperationCountingType& value2) const override;
925 
930  int pop(uint8_t& priority, void* buffer, size_t size) const override;
931 
936  int push(uint8_t priority, const void* data, size_t size) const override;
937 
942  int tryPop(uint8_t& priority, void* buffer, size_t size) const override;
943 
948  int tryPopFor(TickClock::duration duration, uint8_t& priority, void* buffer, size_t size) const override;
949 
954  int tryPopUntil(TickClock::time_point timePoint, uint8_t& priority, void* buffer, size_t size) const override;
955 
960  int tryPush(uint8_t priority, const void* data, size_t size) const override;
961 
966  int tryPushFor(TickClock::duration duration, uint8_t priority, const void* data, size_t size) const override;
967 
972  int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const void* data, size_t size) const override;
973 
974 private:
975 
978 };
979 
986 {
987 public:
988 
995  explicit DynamicRawMessageQueueWrapper(size_t queueSize);
996 
997 private:
998 
1001 };
1002 
1010 template<size_t QueueSize>
1012 {
1013 public:
1014 
1017 
1023  RawMessageQueueWrapper{rawMessageQueue_}
1024  {
1025 
1026  }
1027 
1028 private:
1029 
1032 };
1033 
1045 template<size_t QueueSize>
1046 RawQueueWrapperUniquePointer makeRawQueueWrapper(const bool dynamic, const bool fifo)
1047 {
1048  if (dynamic == false)
1049  {
1050  if (fifo == false)
1052  else // if (fifo != false)
1054  }
1055  else // if (dynamic != false)
1056  {
1057  if (fifo == false)
1059  else // if (fifo != false)
1061  }
1062 }
1063 
1076 template<size_t QueueSize>
1077 QueueWrapperUniquePointer makeQueueWrapper(const bool dynamic, const bool raw, const bool fifo)
1078 {
1079  if (raw == true)
1080  return makeRawQueueWrapper<QueueSize>(dynamic, fifo);
1081 
1082  if (dynamic == false)
1083  {
1084  if (fifo == false)
1086  else // if (fifo != false)
1088  }
1089  else // if (dynamic != false)
1090  {
1091  if (fifo == false)
1092  return QueueWrapperUniquePointer {new DynamicMessageQueueWrapper {QueueSize}};
1093  else // if (fifo != false)
1094  return QueueWrapperUniquePointer {new DynamicFifoQueueWrapper {QueueSize}};
1095  }
1096 }
1097 
1098 } // namespace test
1099 
1100 } // namespace distortos
1101 
1102 #endif // TEST_QUEUE_QUEUEWRAPPERS_HPP_
virtual int tryPush(uint8_t priority, const OperationCountingType &value) const =0
Wrapper for {Fifo,Message}Queue::tryPush(..., const OperationCountingType&) or Raw{Fifo,Message}Queue::tryPush()
implementation of RawQueueWrapper for RawMessageQueue
Definition: QueueWrappers.hpp:896
virtual int tryEmplace(uint8_t priority, OperationCountingType::Value value={}) const =0
Wrapper for {Fifo,Message}Queue::tryEmplace() or Raw{Fifo,Message}Queue::tryPush() ...
TestMessageQueue & messageQueue_
reference to wrapped TestMessageQueue object
Definition: QueueWrappers.hpp:525
virtual bool check(uint8_t priority1, const OperationCountingType &value1, uint8_t priority2, const OperationCountingType &value2) const =0
Tests whether pushed and popped data match.
RawMessageQueue class is very similar to MessageQueue, but optimized for binary serializable types (l...
Definition: RawMessageQueue.hpp:33
StaticRawMessageQueueWrapper()
StaticMessageQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:1022
virtual int tryPopUntil(TickClock::time_point timePoint, uint8_t &priority, OperationCountingType &value) const =0
Wrapper for [Raw]{Fifo,Message}Queue::tryPopUntil()
TestStaticRawFifoQueue rawFifoQueue_
internal TestStaticRawFifoQueue object that will be wrapped
Definition: QueueWrappers.hpp:892
StaticFifoQueueWrapper class is a variant of FifoQueueWrapper that has automatic storage for queue&#39;s ...
Definition: QueueWrappers.hpp:366
OperationCountingType class header.
DynamicRawFifoQueue class header.
virtual bool checkCounters(size_t constructed, size_t copyConstructed, size_t moveConstructed, size_t destructed, size_t copyAssigned, size_t moveAssigned, size_t swapped) const =0
Wrapper for OperationCountingType::checkCounters().
DynamicFifoQueue class header.
StaticFifoQueue class header.
implementation of RawQueueWrapper for RawFifoQueue
Definition: QueueWrappers.hpp:755
virtual int tryEmplaceUntil(TickClock::time_point timePoint, uint8_t priority, OperationCountingType::Value value={}) const =0
Wrapper for {Fifo,Message}Queue::tryEmplaceUntil() or Raw{Fifo,Message}Queue::tryPushUntil() ...
virtual int emplace(uint8_t priority, OperationCountingType::Value value={}) const =0
Wrapper for {Fifo,Message}Queue::emplace() or Raw{Fifo,Message}Queue::push()
RawFifoQueue class is very similar to FifoQueue, but optimized for binary serializable types (like PO...
Definition: RawFifoQueue.hpp:30
Definition: OperationCountingType.hpp:27
std::unique_ptr< QueueWrapper > QueueWrapperUniquePointer
unique_ptr with QueueWrapper
Definition: QueueWrappers.hpp:176
DynamicRawMessageQueue class is a variant of RawMessageQueue that has dynamic storage for queue&#39;s con...
Definition: DynamicRawMessageQueue.hpp:26
DynamicRawFifoQueue rawFifoQueue_
internal DynamicRawFifoQueue object that will be wrapped
Definition: QueueWrappers.hpp:861
DynamicRawMessageQueue rawMessageQueue_
internal DynamicRawMessageQueue object that will be wrapped
Definition: QueueWrappers.hpp:1000
RawQueueWrapperUniquePointer makeRawQueueWrapper(const bool dynamic, const bool fifo)
RawQueueWrapper&#39;s factory function.
Definition: QueueWrappers.hpp:1046
TestStaticRawMessageQueue rawMessageQueue_
internal TestStaticRawMessageQueue object that will be wrapped
Definition: QueueWrappers.hpp:1031
virtual int pop(uint8_t &priority, OperationCountingType &value) const =0
Wrapper for [Raw]{Fifo,Message}Queue::pop()
std::chrono::time_point< TickClock > time_point
basic time_point type of clock
Definition: TickClock.hpp:42
TestDynamicMessageQueue messageQueue_
internal TestDynamicMessageQueue object that will be wrapped
Definition: QueueWrappers.hpp:551
implementation of QueueWrapper for MessageQueue
Definition: QueueWrappers.hpp:390
DynamicRawMessageQueueWrapper class is a variant of RawMessageQueueWrapper that has dynamic storage f...
Definition: QueueWrappers.hpp:985
implementation of QueueWrapper for FifoQueue
Definition: QueueWrappers.hpp:194
virtual int tryEmplaceFor(TickClock::duration duration, uint8_t priority, OperationCountingType::Value value={}) const =0
Wrapper for {Fifo,Message}Queue::tryEmplaceFor() or Raw{Fifo,Message}Queue::tryPushFor() ...
wrapper for [Raw]{Fifo,Message}Queue
Definition: QueueWrappers.hpp:33
StaticRawMessageQueue and StaticRawMessageQueue2 classes header.
TestStaticMessageQueue messageQueue_
internal TestStaticMessageQueue object that will be wrapped
Definition: QueueWrappers.hpp:582
DynamicRawFifoQueue class is a variant of RawFifoQueue that has dynamic storage for queue&#39;s contents...
Definition: DynamicRawFifoQueue.hpp:26
Top-level namespace of distortos project.
DynamicFifoQueueWrapper class is a variant of FifoQueueWrapper that has dynamic storage for queue&#39;s c...
Definition: QueueWrappers.hpp:338
StaticFifoQueueWrapper()
StaticFifoQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:377
virtual int tryPushFor(TickClock::duration duration, uint8_t priority, const OperationCountingType &value) const =0
Wrapper for {Fifo,Message}Queue::tryPushFor(..., const OperationCountingType&) or Raw{Fifo...
constexpr RawMessageQueueWrapper(RawMessageQueue &rawMessageQueue)
RawMessageQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:906
constexpr FifoQueueWrapper(TestFifoQueue &fifoQueue)
FifoQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:207
virtual ~QueueWrapper()=0
QueueWrapper&#39;s destructor.
Definition: QueueWrappers.cpp:24
StaticMessageQueue class header.
DynamicRawFifoQueueWrapper class is a variant of RawFifoQueueWrapper that has dynamic storage for que...
Definition: QueueWrappers.hpp:846
QueueWrapperUniquePointer makeQueueWrapper(const bool dynamic, const bool raw, const bool fifo)
QueueWrapper&#39;s factory function.
Definition: QueueWrappers.hpp:1077
std::chrono::duration< rep, period > duration
basic duration type of clock
Definition: TickClock.hpp:39
StaticRawFifoQueueWrapper()
StaticFifoQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:883
StaticMessageQueueWrapper()
StaticMessageQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:573
virtual int push(uint8_t priority, const OperationCountingType &value) const =0
Wrapper for {Fifo,Message}Queue::push(..., const OperationCountingType&) or Raw{Fifo,Message}Queue::push()
constexpr RawFifoQueueWrapper(RawFifoQueue &rawFifoQueue)
RawFifoQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:765
RawFifoQueue & rawFifoQueue_
reference to wrapped RawFifoQueue object
Definition: QueueWrappers.hpp:838
common implementation of QueueWrapper for {Fifo,Message}Queue
Definition: QueueWrappers.hpp:179
common implementation of QueueWrapper for Raw{Fifo,Message}Queue
Definition: QueueWrappers.hpp:586
StaticMessageQueueWrapper class is a variant of MessageQueueWrapper that has automatic storage for qu...
Definition: QueueWrappers.hpp:562
virtual int tryPushUntil(TickClock::time_point timePoint, uint8_t priority, const OperationCountingType &value) const =0
Wrapper for {Fifo,Message}Queue::tryPushUntil(..., const OperationCountingType&) or Raw{Fifo...
DynamicRawMessageQueue class header.
TestFifoQueue & fifoQueue_
reference to wrapped TestFifoQueue object
Definition: QueueWrappers.hpp:331
RawMessageQueue & rawMessageQueue_
reference to wrapped RawMessageQueue object
Definition: QueueWrappers.hpp:977
StaticRawFifoQueueWrapper class is a variant of RawFifoQueueWrapper that has automatic storage for qu...
Definition: QueueWrappers.hpp:872
StaticRawFifoQueue and StaticRawFifoQueue2 classes header.
virtual int tryPopFor(TickClock::duration duration, uint8_t &priority, OperationCountingType &value) const =0
Wrapper for [Raw]{Fifo,Message}Queue::tryPopFor()
TestStaticFifoQueue fifoQueue_
internal TestStaticFifoQueue object that will be wrapped
Definition: QueueWrappers.hpp:386
DynamicMessageQueue class header.
DynamicMessageQueueWrapper class is a variant of MessageQueueWrapper that has dynamic storage for que...
Definition: QueueWrappers.hpp:533
constexpr MessageQueueWrapper(TestMessageQueue &messageQueue)
MessageQueueWrapper&#39;s constructor.
Definition: QueueWrappers.hpp:403
std::unique_ptr< RawQueueWrapper > RawQueueWrapperUniquePointer
unique_ptr with RawQueueWrapper
Definition: QueueWrappers.hpp:752
TestDynamicFifoQueue fifoQueue_
internal TestDynamicFifoQueue object that will be wrapped
Definition: QueueWrappers.hpp:356
StaticRawMessageQueueWrapper class is a variant of RawMessageQueueWrapper that has automatic storage ...
Definition: QueueWrappers.hpp:1011
virtual int tryPop(uint8_t &priority, OperationCountingType &value) const =0
Wrapper for [Raw]{Fifo,Message}Queue::tryPop()
unsigned int Value
type used for OperationCountingType&#39;s "value"
Definition: OperationCountingType.hpp:32