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
4
#include <
Svc/PassiveConsoleTextLogger/PassiveTextLoggerComponentAc.hpp
>
5
#include <config/PassiveTextLoggerCfg.hpp>
6
7
namespace
Svc
{
8
9
class
ConsoleTextLoggerImpl
final :
public
PassiveTextLoggerComponentBase
{
10
public
:
11
// Only called by derived class
12
ConsoleTextLoggerImpl
(
const
char
* compName);
13
~ConsoleTextLoggerImpl
();
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;
28
FwEventIdType
m_filteredIDs[
PASSIVE_TEXT_LOGGER_ID_FILTER_SIZE
];
29
};
30
31
}
// namespace Svc
32
33
#endif
Fw::Time
Definition:
Time.hpp:11
Fw::TextLogString
Definition:
TextLogString.hpp:17
FwSizeType
PlatformSizeType FwSizeType
Definition:
FwSizeTypeAliasAc.h:15
Svc::PassiveTextLoggerComponentBase
Auto-generated base for PassiveTextLogger component.
Definition:
PassiveTextLoggerComponentAc.hpp:24
PASSIVE_TEXT_LOGGER_ID_FILTER_SIZE
Size of event ID filter.
Definition:
PassiveTextLoggerCfg.hpp:5
FwEventIdType
FwIdType FwEventIdType
The type of an event identifier.
Definition:
FwEventIdTypeAliasAc.h:14
Svc::ConsoleTextLoggerImpl::ConsoleTextLoggerImpl
ConsoleTextLoggerImpl(const char *compName)
Definition:
ConsoleTextLoggerImplCommon.cpp:10
PassiveTextLoggerComponentAc.hpp
Svc::ConsoleTextLoggerImpl::configure
void configure(const FwEventIdType *filteredIds, FwSizeType count)
Configure component with event ID filters.
Definition:
ConsoleTextLoggerImplCommon.cpp:15
Svc::ConsoleTextLoggerImpl::~ConsoleTextLoggerImpl
~ConsoleTextLoggerImpl()
Definition:
ConsoleTextLoggerImplCommon.cpp:13
Svc::ConsoleTextLoggerImpl
Definition:
ConsoleTextLoggerImpl.hpp:9
Fw::LogSeverity
Enum representing event severity.
Definition:
LogSeverityEnumAc.hpp:17
FwIndexType
PlatformIndexType FwIndexType
Definition:
FwIndexTypeAliasAc.h:15
Svc
RateGroupDivider component implementation.
Definition:
ActiveRateGroupCfg.hpp:18
Svc
PassiveConsoleTextLogger
ConsoleTextLoggerImpl.hpp
Generated by
1.8.14