Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StructuredAnalyticsWarningMessage Class Reference

#include <orea/app/structuredanalyticswarning.hpp>

+ Inheritance diagram for StructuredAnalyticsWarningMessage:
+ Collaboration diagram for StructuredAnalyticsWarningMessage:

Public Member Functions

 StructuredAnalyticsWarningMessage (const std::string &analyticType, const std::string &warningType, const std::string &warningWhat, const std::map< std::string, std::string > &subFields={})
 
- Public Member Functions inherited from StructuredMessage
 StructuredMessage (const Category &category, const Group &group, const std::string &message, const std::map< std::string, std::string > &subFields=std::map< std::string, std::string >())
 
 StructuredMessage (const Category &category, const Group &group, const std::string &message, const std::pair< std::string, std::string > &subField=std::pair< std::string, std::string >())
 
virtual ~StructuredMessage ()
 
std::string msg () const
 
void emitLog () const
 
- Public Member Functions inherited from JSONMessage
virtual ~JSONMessage ()
 
virtual std::string msg () const=0
 
void log () const
 
const std::string json () const
 
void set (const std::string &key, const boost::any &value)
 

Additional Inherited Members

- Public Types inherited from StructuredMessage
enum  Category
 
enum  Group
 
- Static Public Attributes inherited from StructuredMessage
static constexpr const char * name
 
- Protected Member Functions inherited from StructuredMessage
void addSubFields (const std::map< std::string, std::string > &)
 
virtual void emitLog () const=0
 
- Static Protected Member Functions inherited from JSONMessage
static std::string jsonify (const boost::any &)
 
- Protected Attributes inherited from JSONMessage
std::map< std::string, boost::any > data_
 

Detailed Description

Definition at line 31 of file structuredanalyticswarning.hpp.

Constructor & Destructor Documentation

◆ StructuredAnalyticsWarningMessage()

StructuredAnalyticsWarningMessage ( const std::string &  analyticType,
const std::string &  warningType,
const std::string &  warningWhat,
const std::map< std::string, std::string > &  subFields = {} 
)

Definition at line 33 of file structuredanalyticswarning.hpp.

35 {})
37 Category::Warning, Group::Analytics, warningWhat,
38 std::map<std::string, std::string>({{"warningType", warningType}, {"analyticType", analyticType}})) {
39
40 addSubFields(subFields);
41 }
void addSubFields(const std::map< std::string, std::string > &)
StructuredMessage(const Category &category, const Group &group, const std::string &message, const std::map< std::string, std::string > &subFields=std::map< std::string, std::string >())