Freeciv21
Develop your civilization from humble roots to a global empire
civtimer Class Reference
+ Inheritance diagram for civtimer:
+ Collaboration diagram for civtimer:

Public Member Functions

 civtimer (enum timer_timetype type, enum timer_use use)
 

Public Attributes

enum timer_state state
 
enum timer_timetype type
 
enum timer_use use
 
double sec
 
int msec
 

Detailed Description

Definition at line 24 of file timing.cpp.

Constructor & Destructor Documentation

◆ civtimer()

civtimer::civtimer ( enum timer_timetype  type,
enum timer_use  use 
)

Definition at line 34 of file timing.cpp.

Member Data Documentation

◆ msec

int civtimer::msec

Definition at line 31 of file timing.cpp.

Referenced by timer_clear(), and timer_stop().

◆ sec

double civtimer::sec

Definition at line 30 of file timing.cpp.

Referenced by timer_clear(), timer_read_seconds(), and timer_stop().

◆ state

enum timer_state civtimer::state

Definition at line 26 of file timing.cpp.

Referenced by timer_clear(), timer_read_seconds(), timer_start(), and timer_stop().

◆ type

enum timer_timetype civtimer::type

Definition at line 26 of file timing.cpp.

Referenced by timer_renew().

◆ use

enum timer_use civtimer::use

Definition at line 26 of file timing.cpp.

Referenced by timer_in_use(), timer_read_seconds(), timer_renew(), timer_start(), and timer_stop().