s_timer Struct Reference

Collaboration diagram for s_timer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores active timers.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 151 of file logic.cpp.

Public Member Functions

 s_timer ()

Public Attributes

time_t again_at
 Time when timer should be raised.
string call_string
 Timer's execution string.
long duration
 Number of seconds between set_at and again_at.
string name
 Name of timer.
bool once
 Has to be timer event raised only once? If true, after raising delete it.
list< string > params
 Timer's execution parameters.
time_t set_at
 Time when timer was set.
map< string, string > vars
 Array of local variables, stored state at timer's set time.


Constructor & Destructor Documentation

s_timer::s_timer  )  [inline]
 

Definition at line 163 of file logic.cpp.

References again_at, call_string, duration, name, once, params, set_at, and vars.

00164     {
00165         once=false;
00166         name="";
00167         set_at=0;
00168         again_at=0;
00169         duration=0;
00170         call_string="";
00171         params.clear();
00172         vars.clear();
00173     }


Member Data Documentation

time_t s_timer::again_at
 

Time when timer should be raised.

Definition at line 155 of file logic.cpp.

Referenced by logic_exec(), and s_timer().

string s_timer::call_string
 

Timer's execution string.

Definition at line 158 of file logic.cpp.

Referenced by logic_exec(), and s_timer().

long s_timer::duration
 

Number of seconds between set_at and again_at.

Definition at line 156 of file logic.cpp.

Referenced by logic_exec(), and s_timer().

string s_timer::name
 

Name of timer.

Definition at line 153 of file logic.cpp.

Referenced by logic_exec(), and s_timer().

bool s_timer::once
 

Has to be timer event raised only once? If true, after raising delete it.

Definition at line 152 of file logic.cpp.

Referenced by logic_exec(), and s_timer().

list<string> s_timer::params
 

Timer's execution parameters.

Definition at line 159 of file logic.cpp.

Referenced by logic_exec(), and s_timer().

time_t s_timer::set_at
 

Time when timer was set.

Definition at line 154 of file logic.cpp.

Referenced by logic_exec(), and s_timer().

map<string,string> s_timer::vars
 

Array of local variables, stored state at timer's set time.

Definition at line 161 of file logic.cpp.

Referenced by logic_exec(), and s_timer().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:50 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo