F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
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
6namespace Svc {
7
8 class ConsoleTextLoggerImpl : public PassiveTextLoggerComponentBase {
9
10 public:
11
12 // Only called by derived class
13 ConsoleTextLoggerImpl(const char* compName);
14 void init(NATIVE_INT_TYPE instanceId = 0);
16
17 private:
18
19 // downcalls for input ports
20 void TextLogger_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::TextLogString &text);
21 };
22
23}
24
25#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:51
U32 FwEventIdType
Definition FpConfig.h:62
void init(NATIVE_INT_TYPE instanceId=0)