7 #ifndef Svc_ComQueue_HPP 8 #define Svc_ComQueue_HPP 26 enum BufferState { OWNED, UNOWNED };
36 "FwIndexType not large enough to hold com and buffer ports");
83 struct QueueMetadata {
116 void configure(QueueConfigurationTable queueConfig,
132 void bufferQueueIn_handler(
const FwIndexType portNum,
137 void comPacketQueueIn_handler(
const FwIndexType portNum,
144 void comStatusIn_handler(
const FwIndexType portNum,
167 void bufferQueueIn_overflowHook(
FwIndexType portNum,
208 BufferState m_buffer_state;
configuration data for each queue
PlatformSizeType FwSizeType
QueueConfigurationEntry entries[TOTAL_PORT_COUNT]
configuration table for each queue
static const FwIndexType TOTAL_PORT_COUNT
Total count of input buffer ports and thus total queues.
ComQueue(const char *const compName)
static const FwIndexType BUFFER_PORT_COUNT
static const FwIndexType COM_PORT_COUNT
< Count of Fw::Com input ports and thus Fw::Com queues
QueueConfigurationTable()
constructs a basic un-prioritized table with depth 0
FwIndexType priority
Priority of the queue [0, TOTAL_PORT_COUNT)
FwSizeType depth
Depth of the queue [0, infinity)
uint8_t U8
8-bit unsigned integer
Memory Allocation base class.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
Defines a base class for a memory allocator for classes.
void configure(QueueConfigurationTable queueConfig, FwEnumStoreType allocationId, Fw::MemAllocator &allocator)
Auto-generated base for ComQueue component.