Public Types | Public Member Functions | Private Attributes | List of all members
nl::timing::LogMessage Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-09-23/Commissioning/Nearline/TimingPlots/LogMessage.h"

Inheritance diagram for nl::timing::LogMessage:
nl::timing::SpillMessage

Public Types

enum  MessageType { kSpillSent, kTimeDrift, kUnknown }
 

Public Member Functions

 LogMessage (std::string rawtext, MessageType type=MessageType::kUnknown)
 
 ~LogMessage ()
 
MessageType Type ()
 
std::string Text ()
 

Private Attributes

std::string _raw
 
MessageType _type
 

Detailed Description

Definition at line 19 of file LogMessage.h.

Member Enumeration Documentation

Enumerator
kSpillSent 
kTimeDrift 
kUnknown 

Definition at line 22 of file LogMessage.h.

Constructor & Destructor Documentation

nl::timing::LogMessage::LogMessage ( std::string  rawtext,
MessageType  type = MessageType::kUnknown 
)

Definition at line 18 of file LogMessage.cxx.

19  {
20  _raw = rawtext;
21  _type = type;
22  // std::cout << "Found message: " << rawtext << std::endl;
23  }
nl::timing::LogMessage::~LogMessage ( )

Definition at line 26 of file LogMessage.cxx.

26 {}

Member Function Documentation

std::string nl::timing::LogMessage::Text ( )
inline

Definition at line 32 of file LogMessage.h.

References _raw.

Referenced by nl::timing::SpillMessage::SpillMessage().

32 { return _raw; };
MessageType nl::timing::LogMessage::Type ( )
inline

Definition at line 31 of file LogMessage.h.

References _type.

31 { return _type; };

Member Data Documentation

std::string nl::timing::LogMessage::_raw
private

Definition at line 32 of file LogMessage.h.

Referenced by Text().

MessageType nl::timing::LogMessage::_type
private

Definition at line 36 of file LogMessage.h.

Referenced by Type().


The documentation for this class was generated from the following files: