SIMLIB/C++
3.07
|
Calendar queue implementation. More...
Go to the source code of this file.
Classes | |
class | simlib3::Calendar |
common interface for all calendar (PES) implementations More... | |
struct | simlib3::EventNoticeLinkBase |
calendar item - PRIVATE for any implementation we use double-linked circular list More... | |
struct | simlib3::EventNotice |
activation record More... | |
class | simlib3::EventNoticeAllocator |
allocate activation records fast More... | |
class | simlib3::CalendarListImplementation |
class CalendarListImplementation — sorted list More... | |
class | simlib3::CalendarListImplementation::iterator |
class | simlib3::CalendarList |
class CalendarList — list implementation of calendar More... | |
class | simlib3::CalendarQueue |
CQ implementation of calendar. More... | |
Namespaces | |
simlib3 | |
Implementation of class CalendarList interface is static - using global functions in SQS namespace. | |
Macros | |
#define | MAX_OP (Size()/2) |
Functions | |
void | simlib3::SetCalendar (const char *name) |
choose calendar implementation default is list More... | |
Variables | |
class simlib3::EventNoticeAllocator | simlib3::allocator |
const unsigned | simlib3::LIST_MAX = 512 |
const unsigned | simlib3::MINBUCKETS = LIST_MAX>4?LIST_MAX:4 |
const unsigned | simlib3::LIST_MIN = LIST_MAX/2 |
const double | simlib3::COEF_PAR = 1.5 |
const double | simlib3::MUL_PAR = 1.0 |
Calendar queue implementation.
Definition in file calendar.cc.
#define MAX_OP (Size()/2) |
Definition at line 621 of file calendar.cc.
Referenced by simlib3::CalendarQueue::Get(), simlib3::CalendarQueue::GetFirst(), and simlib3::CalendarQueue::ScheduleAt().