SEGS  0.6.1-develop [3e741b81]
Super Entity Game Server
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, uint64_t 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
 
uint64_t user_id () const
 
void schedule_repeatable ()
 

Protected Attributes

long m_id
 
uint64_t m_user_id
 
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

◆ target()

EventProcessor* SEGSTimer::target ( ) const
inline
Here is the caller graph for this function:

◆ user_id()

uint64_t SEGSTimer::user_id ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_fire_delta_time

ACE_Time_Value SEGSTimer::m_fire_delta_time
protected

◆ m_id

long SEGSTimer::m_id
protected

◆ m_one_shot

bool SEGSTimer::m_one_shot
protected

◆ m_target

EventProcessor* SEGSTimer::m_target
protected

◆ m_user_id

uint64_t SEGSTimer::m_user_id
protected

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