SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
SEGSTimer Class Reference

Instances of SEGSTimer class are used to schedule events in the future. More...

#include <SEGSTimer.h>

Collaboration diagram for SEGSTimer:
Collaboration graph

Public Member Functions

 SEGSTimer (EventProcessor *m_processor, void *data, const ACE_Time_Value &fire_delta_time, bool one_shot=true)
 
 ~SEGSTimer ()
 
void schedule ()
 
void cancel ()
 
void reset ()
 
void reschedule (const ACE_Time_Value &new_time)
 
EventProcessortarget () const
 
void * data () const
 
void schedule_repeatable ()
 

Protected Attributes

long m_id
 
void * m_data
 
EventProcessorm_target
 
ACE_Time_Value m_fire_delta_time
 
bool m_one_shot
 

Detailed Description

Instances of SEGSTimer class are used to schedule events in the future.

Member Function Documentation

void* SEGSTimer::data ( ) const
inline

Here is the caller graph for this function:

EventProcessor* SEGSTimer::target ( ) const
inline

Here is the caller graph for this function:

Member Data Documentation

void* SEGSTimer::m_data
protected
ACE_Time_Value SEGSTimer::m_fire_delta_time
protected
long SEGSTimer::m_id
protected
bool SEGSTimer::m_one_shot
protected
EventProcessor* SEGSTimer::m_target
protected

The documentation for this class was generated from the following files: