ONE - On-device Neural Engine
Loading...
Searching...
No Matches
hermes::SourceSetting Class Referencefinal

#include <SourceSetting.h>

Public Member Functions

 SourceSetting ()
 
void reject_all (void)
 
void accept_all (void)
 
Filter filter (const SeverityCategory &cat)
 
Limit limit (const SeverityCategory &cat) const
 

Detailed Description

Definition at line 58 of file SourceSetting.h.

Constructor & Destructor Documentation

◆ SourceSetting()

hermes::SourceSetting::SourceSetting ( )
inline

Definition at line 61 of file SourceSetting.h.

62 {
63 // Reject all the messages by default
64 reject_all();
65 }

References reject_all().

Member Function Documentation

◆ accept_all()

◆ filter()

Filter hermes::SourceSetting::filter ( const SeverityCategory cat)
inline

Definition at line 86 of file SourceSetting.h.

87 {
88 return _ulimits.data() + static_cast<uint32_t>(cat);
89 }

Referenced by accept_all(), luci::LoggerConfig::configure(), and reject_all().

◆ limit()

Limit hermes::SourceSetting::limit ( const SeverityCategory cat) const
inline

Definition at line 91 of file SourceSetting.h.

92 {
93 return _ulimits.data() + static_cast<uint32_t>(cat);
94 }

Referenced by hermes::Source::check().

◆ reject_all()


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