![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for ActiveTextLogger component. More...
#include <Svc/ActiveTextLogger/ActiveTextLoggerComponentAc.hpp>
Public Member Functions | |
| void | init (NATIVE_INT_TYPE queueDepth, NATIVE_INT_TYPE instance=0) |
| Initialize ActiveTextLoggerComponentBase object. More... | |
| Fw::InputLogTextPort * | get_TextLogger_InputPort (NATIVE_INT_TYPE portNum) |
Public Member Functions inherited from Fw::ActiveComponentBase | |
| void | start (NATIVE_UINT_TYPE priority=Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE stackSize=Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE cpuAffinity=Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE identifier=Os::Task::TASK_DEFAULT) |
| called by instantiator when task is to be started More... | |
| DEPRECATED (void start(NATIVE_INT_TYPE identifier, NATIVE_INT_TYPE priority, NATIVE_INT_TYPE stackSize, NATIVE_INT_TYPE cpuAffinity=-1), "Please switch to start(NATIVE_UINT_TYPE priority, NATIVE_UINT_TYPE stackSize, NATIVE_UINT_TYPE cpuAffinity, NATIVE_UINT_TYPE identifier)") | |
| called by instantiator when task is to be started More... | |
| void | exit () |
| exit task in active component More... | |
| Os::Task::TaskStatus | join (void **value_ptr) |
| provide return value of thread if value_ptr is not NULL More... | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const U32) |
| Set the ID base. More... | |
| U32 | getIdBase () const |
Protected Types | |
| enum | { NUM_TEXTLOGGER_INPUT_PORTS = 1 } |
| Enumerations for numbers of typed input ports. More... | |
Protected Member Functions | |
| ActiveTextLoggerComponentBase (const char *compName="") | |
| Construct ActiveTextLoggerComponentBase object. More... | |
| virtual | ~ActiveTextLoggerComponentBase () |
| Destroy ActiveTextLoggerComponentBase object. More... | |
| NATIVE_INT_TYPE | getNum_TextLogger_InputPorts () const |
| virtual void | TextLogger_handler (NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::TextLogString &text)=0 |
| Handler for input port TextLogger. More... | |
| void | TextLogger_handlerBase (NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::TextLogString &text) |
| Handler base-class function for input port TextLogger. More... | |
| virtual void | TextQueue_internalInterfaceHandler (const Fw::InternalInterfaceString &text)=0 |
| Internal interface handler for TextQueue. More... | |
| void | TextQueue_internalInterfaceInvoke (const Fw::InternalInterfaceString &text) |
| Internal interface base-class function for TextQueue. More... | |
Protected Member Functions inherited from Fw::ActiveComponentBase | |
| ActiveComponentBase (const char *name) | |
| Constructor. More... | |
| virtual | ~ActiveComponentBase () |
| Destructor. More... | |
| void | init (NATIVE_INT_TYPE instance) |
| initialization code More... | |
| virtual void | preamble () |
| A function that will be called before the event loop is entered. More... | |
| virtual void | loop () |
| The function that will loop dispatching messages. More... | |
| virtual void | finalizer () |
| A function that will be called after exiting the loop. More... | |
Protected Member Functions inherited from Fw::QueuedComponentBase | |
| QueuedComponentBase (const char *name) | |
| Constructor. More... | |
| virtual | ~QueuedComponentBase () |
| Destructor. More... | |
| void | init (NATIVE_INT_TYPE instance) |
| initialization function More... | |
| Os::Queue::QueueStatus | createQueue (NATIVE_INT_TYPE depth, NATIVE_INT_TYPE msgSize) |
| NATIVE_INT_TYPE | getNumMsgsDropped () |
| return number of messages dropped More... | |
| void | incNumMsgDropped () |
| increment the number of messages dropped More... | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. More... | |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. More... | |
| NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Friends | |
| class | ActiveTextLoggerComponentBaseFriend |
| Friend class for white-box testing. More... | |
Additional Inherited Members | |
Public Types inherited from Fw::ActiveComponentBase | |
| enum | { ACTIVE_COMPONENT_EXIT } |
Public Types inherited from Fw::QueuedComponentBase | |
| enum | MsgDispatchStatus { MSG_DISPATCH_OK , MSG_DISPATCH_EMPTY , MSG_DISPATCH_ERROR , MSG_DISPATCH_EXIT } |
Protected Attributes inherited from Fw::ActiveComponentBase | |
| Os::Task | m_task |
| task object for active component More... | |
Protected Attributes inherited from Fw::QueuedComponentBase | |
| Os::Queue | m_queue |
| queue object for active component More... | |
Auto-generated base for ActiveTextLogger component.
A component for printing text logs to the console and optionally a file
Definition at line 25 of file ActiveTextLoggerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_TEXTLOGGER_INPUT_PORTS | |
Definition at line 43 of file ActiveTextLoggerComponentAc.hpp.
|
protected |
Construct ActiveTextLoggerComponentBase object.
| compName | The component name |
Definition at line 141 of file ActiveTextLoggerComponentAc.cpp.
|
protectedvirtual |
Destroy ActiveTextLoggerComponentBase object.
Definition at line 148 of file ActiveTextLoggerComponentAc.cpp.
| Fw::InputLogTextPort * Svc::ActiveTextLoggerComponentBase::get_TextLogger_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 126 of file ActiveTextLoggerComponentAc.cpp.
|
protected |
Get the number of TextLogger input ports
Definition at line 158 of file ActiveTextLoggerComponentAc.cpp.
| void Svc::ActiveTextLoggerComponentBase::init | ( | NATIVE_INT_TYPE | queueDepth, |
| NATIVE_INT_TYPE | instance = 0 |
||
| ) |
Initialize ActiveTextLoggerComponentBase object.
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 71 of file ActiveTextLoggerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port TextLogger.
| portNum | The port number |
| id | Log ID |
| timeTag | Time Tag |
| severity | The severity argument |
| text | Text of log message |
|
protected |
Handler base-class function for input port TextLogger.
| portNum | The port number |
| id | Log ID |
| timeTag | Time Tag |
| severity | The severity argument |
| text | Text of log message |
Definition at line 170 of file ActiveTextLoggerComponentAc.cpp.
|
protectedpure virtual |
Internal interface handler for TextQueue.
| text | The text string |
|
protected |
Internal interface base-class function for TextQueue.
| text | The text string |
Definition at line 199 of file ActiveTextLoggerComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 34 of file ActiveTextLoggerComponentAc.hpp.