F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
6 namespace 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
Fw::TextLogString
Definition: TextLogString.hpp:11
Svc::ConsoleTextLoggerImpl::ConsoleTextLoggerImpl
ConsoleTextLoggerImpl(const char *compName)
Definition: ConsoleTextLoggerImplCommon.cpp:8
Fw::Time
Definition: Time.hpp:10
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:27
Svc::ConsoleTextLoggerImpl
Definition: ConsoleTextLoggerImpl.hpp:8
FwEventIdType
#define FwEventIdType
Type representation for a event id.
Definition: FpConfig.hpp:70
Svc::ConsoleTextLoggerImpl::init
void init(NATIVE_INT_TYPE instanceId=0)
Definition: ConsoleTextLoggerImplCommon.cpp:12
Svc
Definition: ActiveRateGroupCfg.hpp:18
Svc::ConsoleTextLoggerImpl::~ConsoleTextLoggerImpl
~ConsoleTextLoggerImpl()
Definition: ConsoleTextLoggerImplCommon.cpp:16