stk::LogControlRuleInterval Struct Reference

Inheritance diagram for stk::LogControlRuleInterval:

stk::LogControlRule List of all members.

Detailed Description

Definition at line 95 of file LogControl.hpp.

Public Member Functions

 LogControlRuleInterval (int interval)
 Creates a new LogControlRuleInterval instance.
virtual ~LogControlRuleInterval ()
 Destroys a LogControlRuleInterval instance.
virtual LogControlRuleclone () const
 Member function clone creates a duplicate LogControlRuleAlways object.
virtual bool next ()
 Member function next returns true when the current count modulo the interval is zero.


Constructor & Destructor Documentation

stk::LogControlRuleInterval::LogControlRuleInterval ( int  interval  ) 

Creates a new LogControlRuleInterval instance.

Parameters:
interval an int interval to enable log output.

Definition at line 30 of file LogControl.cpp.


Member Function Documentation

virtual LogControlRule* stk::LogControlRuleInterval::clone (  )  const [inline, virtual]

Member function clone creates a duplicate LogControlRuleAlways object.

Returns:
a LogControlRule pointer to the new duplicated always object.

Implements stk::LogControlRule.

Definition at line 117 of file LogControl.hpp.

bool stk::LogControlRuleInterval::next (  )  [virtual]

Member function next returns true when the current count modulo the interval is zero.

whichs indicate that the log stream should write to the log file.

Returns:
a bool returns true when the current count modulo the interval is zero. whichs indicate that the log stream should write to the log file.

Implements stk::LogControlRule.

Definition at line 38 of file LogControl.cpp.


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