 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
22 #if FW_OBJECT_TO_STRING == 1 && FW_OBJECT_NAMES == 1
23 void QueuedComponentBase::toString(
char* buffer,
NATIVE_INT_TYPE size) {
24 (void)snprintf(buffer, size,
"QueueComp: %s", this->m_objName);
32 #if FW_OBJECT_NAMES == 1
33 queueName = this->m_objName;
37 queueName = queueNameChar;
43 return this->m_msgsDropped;
47 this->m_msgsDropped++;
QueueStatus create(const Fw::StringBase &name, NATIVE_INT_TYPE depth, NATIVE_INT_TYPE msgSize)
create a message queue
virtual ~QueuedComponentBase()
Destructor.
void incNumMsgDropped(void)
increment the number of messages dropped
QueuedComponentBase(const char *name)
Constructor.
Os::Queue m_queue
queue object for active component
void init(void)
Object initializer.
NATIVE_INT_TYPE getNumMsgsDropped(void)
return number of messages dropped
static NATIVE_INT_TYPE getNumQueues(void)
get the number of queues in the system
int NATIVE_INT_TYPE
native integer type declaration
#define FW_QUEUE_NAME_MAX_SIZE
Max size of message queue name.
Os::Queue::QueueStatus createQueue(NATIVE_INT_TYPE depth, NATIVE_INT_TYPE msgSize)