25 #ifndef __BACKCALLERVECTOR_H_
26 #define __BACKCALLERVECTOR_H_
37 template<
typename _Tp,
typename _Alloc = std::allocator<_Tp> >
41 typedef typename std::vector<_Tp,_Alloc>::iterator
iterator;
61 std::vector<_Tp,_Alloc>::push_back(i);
66 iterator i = std::vector<_Tp,_Alloc>::erase(pos);
72 std::vector<_Tp,_Alloc>::pop_back();
77 std::vector<_Tp,_Alloc>::clear();
static const CallbackableType BACKCALLER_VECTOR_MODIFIED
Indicates that the list/vector has been modified, a new instance was either added or removed...
Definition: backcallervector.h:52
virtual void callBack(CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
Calls all registered callbackable classes of the determined type.
Definition: backcaller.cpp:86
iterator erase(iterator pos)
Definition: backcallervector.h:65
unsigned long CallbackableType
Definition: backcaller.h:45
std::vector< _Tp, _Alloc >::iterator iterator
Definition: backcallervector.h:41
void push_back(const _Tp &i)
Definition: backcallervector.h:60
BackCallerVector()
Definition: backcallervector.h:43
void clear()
Definition: backcallervector.h:76
void pop_back()
Definition: backcallervector.h:71
Establishes for some methods the notifications for registered Callbackable instances (use addCallback...
Definition: backcallervector.h:38
virtual ~BackCallerVector()
Definition: backcallervector.h:44
static const CallbackableType BACKCALLER_VECTOR_BEING_DELETED
Indicates that the list is being deleted.
Definition: backcallervector.h:57
Class prototype which provides functions to handle callbackable classes.
Definition: backcaller.h:42