HTManager.h File Reference
#include "HTools.h"

Go to the source code of this file.

Classes

class  HTClient
 
class  HTManager
 

Typedefs

typedef bool(* HTClientTickFunction) (float request_time, float actual_time, void *user_data)
 

Enumerations

enum  HTCStyle { HTCS_Invalid, HTCS_Once, HTCS_Periodic, HTCS_PeriodicSkip }
 

Detailed Description

Defines datatypes for the HTManager class

Typedef Documentation

◆ HTClientTickFunction

typedef bool(* HTClientTickFunction) (float request_time, float actual_time, void *user_data)

var typedef bool(*HTClientTickFunction)(float request_time, float actual_time, void * user_data)

Enumeration Type Documentation

◆ HTCStyle

enum HTCStyle

Indicates how timer events will be delivered

Enumerator
HTCS_Invalid 

An invalid default state for the client style. The client style must be set before anything useful will happen.

HTCS_Once 

A single event will be delivered at the designated time, after which the timer client will automatically be unregistered.

HTCS_Periodic 

Events will be delivered at the interval specified with the timer client's "mt_interval" member variable. If for any reason the timer manager falls behind, a series of "make-up" events will be delivered, with identical values for "actual_time", but different "request_time"'s.

HTCS_PeriodicSkip 

Similar to HTCS_Periodic but this option has no make-up events.