22 #if FW_OBJECT_TO_STRING == 1 23 const char* QueuedComponentBase::getToStringFormatString() {
24 return "QueueComp: %s";
30 #if FW_OBJECT_NAMES == 1 31 queueName = this->m_objName;
39 return this->m_msgsDropped;
43 this->m_msgsDropped++;
virtual ~QueuedComponentBase()
Destructor.
Status create(FwEnumStoreType id, const Fw::ConstStringBase &name, FwSizeType depth, FwSizeType messageSize) override
create queue storage through delegate
PlatformSizeType FwSizeType
QueuedComponentBase(const char *name)
Constructor.
static FwSizeType getNumQueues()
get number of queues system-wide
FwEnumStoreType getInstance() const
Os::Queue m_queue
queue object for active component
void init()
Object initializer.
FwSizeType getNumMsgsDropped()
return number of messages dropped
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
Status
Generic OK/ERROR status.
void deinit()
Allows de-initialization on teardown.
void teardown() override
teardown the queue
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void incNumMsgDropped()
increment the number of messages dropped
Implementation of malloc based allocator.