prg_calendar_create()
Abstract
Create a calendar object.
Syntax
prg_calendar_create (max_duration, speed_parameter)
| Argument | Type | Description |
|---|---|---|
max_duration |
double |
expected maximum time for an event (events can be scheduled past that time, but with impact on the speed of retrieval later on) |
speed_parameter |
int |
affects the insertion and retrieval speed of events scheduled between time 0 and "max_duration". A larger value speeds things up, at the expanse of memory use. |
Return Type
PrgT_Calendar_Handle
handle to calendar object, to be used in other APIs of this package
Header
prg_calendar.h
Details
A PrgT_Calendar object is used to schedule a set of events at specified times in the future. The events can then be retrieved in the time order.