stk::LogControlRule Struct Reference

#include <LogControl.hpp>

Inheritance diagram for stk::LogControlRule:

stk::LogControlRuleAlways stk::LogControlRuleInterval List of all members.

Detailed Description

Interface LogControlRule describes the interface to a log control rule.

Definition at line 25 of file LogControl.hpp.

Public Member Functions

virtual ~LogControlRule ()
 Destroys a LogControlRule instance.
virtual LogControlRuleclone () const =0
 Member function clone creates a clone of the rule.
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.


Member Function Documentation

virtual LogControlRule* stk::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::LogControlRuleAlways, and stk::LogControlRuleInterval.

virtual bool stk::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::LogControlRuleAlways, and stk::LogControlRuleInterval.


The documentation for this struct was generated from the following file:
Generated on Tue Jul 13 09:27:33 2010 for Sierra Toolkit by  doxygen 1.4.7