21 INLINE RecorderTable::
31 INLINE RecorderTable::
41 INLINE
void RecorderTable::
43 _recorders = copy._recorders;
46 Recorders::iterator ri;
47 for (ri = _recorders.begin(); ri != _recorders.end(); ++ri) {
62 std::pair<Recorders::iterator, bool> result =
63 _recorders.insert(Recorders::value_type(name, recorder));
67 unref_delete(result.first->second);
68 result.first->second = recorder;
80 Recorders::const_iterator ri = _recorders.find(name);
81 if (ri != _recorders.end()) {
96 Recorders::iterator ri = _recorders.find(name);
97 if (ri != _recorders.end()) {
98 unref_delete(ri->second);
bool remove_recorder(const string &name)
Removes the named recorder from the table.
This object is used by the RecorderController to write (and read) a record of the set of recorders in...
This is the base class to a number of objects that record particular kinds of user input (like a Mous...
RecorderBase * get_recorder(const string &name) const
Returns the recorder with the indicated name, or NULL if there is no such recorder.
void add_recorder(const string &name, RecorderBase *recorder)
Adds the named recorder to the set of recorders.