LRAUV  revA
Rule Class Referenceabstract

Abstract base class for classes that are used by LogEngine to determine which LogWriter(s) to use for each LogEntry as they are popped off the LogQueue. More...

#include <LoggerRules.h>

Inheritance diagram for Rule:

Public Member Functions

virtual ~Rule (void)
 Destructor. More...
 
virtual bool check (const LogEntry *entry)=0
 Does this rule match this LogEntry. More...
 
virtual Str toString (void)=0
 Serialize this Rule to a Str. More...
 
virtual void activate ()
 
virtual void deactivate ()
 
virtual bool isActive ()
 

Protected Member Functions

 Rule (void)
 Protected constructor for pure virtual class. More...
 

Private Member Functions

 Rule (const Rule &old)
 

Private Attributes

bool active_
 

Detailed Description

Abstract base class for classes that are used by LogEngine to determine which LogWriter(s) to use for each LogEntry as they are popped off the LogQueue.

Constructor & Destructor Documentation

virtual Rule::~Rule ( void  )
inlinevirtual

Destructor.

Rule::Rule ( void  )
protected

Protected constructor for pure virtual class.

Rule::Rule ( const Rule old)
private

Member Function Documentation

void Rule::activate ( )
virtual

References active_.

virtual bool Rule::check ( const LogEntry entry)
pure virtual
void Rule::deactivate ( )
virtual

References active_.

bool Rule::isActive ( void  )
virtual

References active_.

Referenced by LogAssociation::matchAndProcess().

virtual Str Rule::toString ( void  )
pure virtual

Member Data Documentation

bool Rule::active_
private

Referenced by activate(), deactivate(), and isActive().


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