F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
QueueUserInterface.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title Os/Interfaces/QueueUserInterface.hpp
3 // \brief types shared by Os::Queue users and implementations
4 //
5 // Includes no other Os service header, so both Os/Queue.hpp and the Os::Queue implementations may include it.
6 // ======================================================================
7 #ifndef OS_INTERFACES_QUEUEUSERINTERFACE_HPP_
8 #define OS_INTERFACES_QUEUEUSERINTERFACE_HPP_
9 
10 #include <Fw/FPrimeBasicTypes.hpp>
11 #include <Fw/Obj/ObjBase.hpp>
12 #include <Fw/Types/Assert.hpp>
14 #include <Os/Os.hpp>
15 #include <Os/QueueString.hpp>
16 
17 namespace Os {
18 
20 class QueueHandle {};
21 
25  enum Status {
34  FULL,
38  };
39 
41  enum BlockingType {
44  };
45 };
46 
47 } // namespace Os
48 
49 #endif // OS_INTERFACES_QUEUEUSERINTERFACE_HPP_
Queue wasn&#39;t initialized successfully.
Message will block until space is available.
QueueHandle parent class.
Queue feature is not supported.
Queue was full when attempting to send a message.
types and constants shared by users of Os::Queue and by its implementations
Status
status returned from the queue send function
creating an already created queue
message sent/received okay
attempted to send or receive with buffer too large, too small
required memory could not be allocated
If non-blocking, all the messages have been drained.
Declarations for Fw::ObjBase and Fw::ObjRegistry.
Unexpected error; can&#39;t match with returns.
Message will return with status when space is unavailable.