15 #ifndef CINTERVALMANAGER_H
16 #define CINTERVALMANAGER_H
18 #include "directbase.h"
19 #include "cInterval.h"
20 #include "pointerTo.h"
23 #include "vector_int.h"
48 INLINE
void set_event_queue(
EventQueue *event_queue);
51 int add_c_interval(
CInterval *interval,
bool external);
52 int find_c_interval(
const string &name)
const;
54 CInterval *get_c_interval(
int index)
const;
55 void remove_c_interval(
int index);
58 int get_num_intervals()
const;
59 int get_max_index()
const;
63 int get_next_removal();
65 void output(ostream &out)
const;
66 void write(ostream &out)
const;
71 void finish_interval(
CInterval *interval);
72 void remove_index(
int index);
76 F_meta_interval = 0x0002,
88 typedef vector_int Removed;
93 int _next_event_index;
100 INLINE ostream &operator << (ostream &out,
const CInterval &ival_mgr);
102 #include "cIntervalManager.I"
The base class for timeline components.
A standard mutex, or mutual exclusion lock.
A queue of pending events.
This object holds a number of currently-playing intervals and is responsible for advancing them each ...