5 #ifndef OS_INTERFACES_QUEUEINTERFACE_HPP_ 6 #define OS_INTERFACES_QUEUEINTERFACE_HPP_ 115 #endif // OS_INTERFACES_QUEUEINTERFACE_HPP_ PlatformSizeType FwSizeType
virtual QueueInterface & operator=(const QueueInterface &other)=delete
assignment operator is forbidden
QueueHandle parent class.
virtual Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority)=0
receive a message from the queue
virtual ~QueueInterface()=default
default queue destructor
virtual FwSizeType getMessagesAvailable() const =0
get number of messages available
types and constants shared by users of Os::Queue and by its implementations
virtual Status create(FwEnumStoreType id, const Fw::ConstStringBase &name, FwSizeType depth, FwSizeType messageSize)=0
create queue storage
virtual QueueHandle * getHandle()=0
return the underlying queue handle (implementation specific)
Status
status returned from the queue send function
virtual void teardown()=0
teardown the queue
uint8_t U8
8-bit unsigned integer
QueueInterface()=default
default queue interface constructor
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
A read-only abstract superclass for StringBase.
virtual FwSizeType getMessageHighWaterMark() const =0
get maximum messages stored at any given time
virtual Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType)=0
send a message into the queue