F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Os::QueueUserInterface Struct Reference

types and constants shared by users of Os::Queue and by its implementations More...

#include <Os/Interfaces/QueueUserInterface.hpp>

Inheritance diagram for Os::QueueUserInterface:
Os::QueueCommon< T > Os::QueueInterface Os::Generic::LocklessPriorityQueue Os::Generic::PriorityMemQueue Os::Generic::PriorityQueue Os::Stub::Queue::StubQueue

Public Types

enum  Status {
  OP_OK, ALREADY_CREATED, EMPTY, UNINITIALIZED,
  SIZE_MISMATCH, SEND_ERROR, RECEIVE_ERROR, INVALID_PRIORITY,
  FULL, NOT_SUPPORTED, ALLOCATION_FAILED, UNKNOWN_ERROR
}
 status returned from the queue send function More...
 
enum  BlockingType { BLOCKING, NONBLOCKING }
 message type More...
 

Detailed Description

types and constants shared by users of Os::Queue and by its implementations

Definition at line 23 of file QueueUserInterface.hpp.

Member Enumeration Documentation

◆ BlockingType

message type

Enumerator
BLOCKING 

Message will block until space is available.

NONBLOCKING 

Message will return with status when space is unavailable.

Definition at line 41 of file QueueUserInterface.hpp.

◆ Status

status returned from the queue send function

Enumerator
OP_OK 

message sent/received okay

ALREADY_CREATED 

creating an already created queue

EMPTY 

If non-blocking, all the messages have been drained.

UNINITIALIZED 

Queue wasn't initialized successfully.

SIZE_MISMATCH 

attempted to send or receive with buffer too large, too small

SEND_ERROR 

message send error

RECEIVE_ERROR 

message receive error

INVALID_PRIORITY 

invalid priority requested

FULL 

Queue was full when attempting to send a message.

NOT_SUPPORTED 

Queue feature is not supported.

ALLOCATION_FAILED 

required memory could not be allocated

UNKNOWN_ERROR 

Unexpected error; can't match with returns.

Definition at line 25 of file QueueUserInterface.hpp.


The documentation for this struct was generated from the following file: