Sierra Toolkit  Version of the Day
stk_classic::LogControlRule Struct Referenceabstract

Interface LogControlRule describes the interface to a log control rule. More...

#include <LogControl.hpp>

Inheritance diagram for stk_classic::LogControlRule:

Public Member Functions

virtual ~LogControlRule ()
 
virtual LogControlRuleclone () const =0
 Member function clone creates a clone of the rule. More...
 
virtual bool next ()=0
 Member function next returns true if the log stream should write to the log file, and false if the log stream should write to the cache. More...
 

Detailed Description

Interface LogControlRule describes the interface to a log control rule.

Definition at line 25 of file LogControl.hpp.

Constructor & Destructor Documentation

◆ ~LogControlRule()

virtual stk_classic::LogControlRule::~LogControlRule ( )
inlinevirtual

Destroys a LogControlRule instance.

Definition at line 31 of file LogControl.hpp.

Member Function Documentation

◆ clone()

virtual LogControlRule* stk_classic::LogControlRule::clone ( ) const
pure virtual

Member function clone creates a clone of the rule.

Returns
a LogControlRule pointer to newly created duplicate.

Implemented in stk_classic::LogControlRuleAlways.

◆ next()

virtual bool stk_classic::LogControlRule::next ( )
pure virtual

Member function next returns true if the log stream should write to the log file, and false if the log stream should write to the cache.

Returns
a bool value of true if the log stream should write to the log file, and false if the log stream should write to the cache.

Implemented in stk_classic::LogControlRuleAlways.


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