F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
ConsoleTextLoggerImpl.hpp
Go to the documentation of this file.
1 #ifndef SVC_TEXT_LOGGER_IMPL_HPP
2 #define SVC_TEXT_LOGGER_IMPL_HPP
3 
5 #include <config/PassiveTextLoggerCfg.hpp>
6 
7 namespace Svc {
8 
10  public:
11  // Only called by derived class
12  ConsoleTextLoggerImpl(const char* compName);
14 
16  void configure(const FwEventIdType* filteredIds, FwSizeType count);
17 
18  private:
19  // downcalls for input ports
20  void TextLogger_handler(FwIndexType portNum,
21  FwEventIdType id,
22  Fw::Time& timeTag,
23  const Fw::LogSeverity& severity,
24  Fw::TextLogString& text);
25 
26  // Event ID filters
27  FwSizeType m_numFilteredIDs;
29 };
30 
31 } // namespace Svc
32 
33 #endif
PlatformSizeType FwSizeType
Auto-generated base for PassiveTextLogger component.
FwIdType FwEventIdType
The type of an event identifier.
void configure(const FwEventIdType *filteredIds, FwSizeType count)
Configure component with event ID filters.
Enum representing event severity.
PlatformIndexType FwIndexType
RateGroupDivider component implementation.