22 #ifndef TETRAEDGE_TE_TE_SIGNAL_H 23 #define TETRAEDGE_TE_TE_SIGNAL_H 25 #include "common/array.h" 26 #include "common/ptr.h" 27 #include "tetraedge/te/te_callback.h" 31 template<
class C>
bool _teCallbackSorter(
const C &c1,
const C &c2) {
33 float p1 = c1->priority();
34 float p2 = c2->priority();
48 for (; i < end_; i++) {
55 void remove(
const TeICallback0ParamPtr &item) {
58 for (; i < end_; i++) {
59 if ((*i)->equals(item.get())) {
88 for (; i < end_; i++) {
98 for (; i < end_; i++) {
99 if ((*i)->equals(item.get())) {
123 bool call(S s, T t) {
127 for (; i < end_; i++) {
128 if ((*i)->call(s, t))
137 for (; i < end_; i++) {
138 if ((*i)->equals(item.get())) {
156 #endif // TETRAEDGE_TE_TE_SIGNAL_H Definition: te_signal.h:40
Definition: detection.h:27
iterator end()
Definition: array.h:379
iterator begin()
Definition: array.h:374
T * iterator
Definition: array.h:54
Definition: te_callback.h:107
void push_back(const TeICallback0ParamPtr &element)
Definition: array.h:180
Definition: te_callback.h:74
Definition: te_callback.h:42
Definition: te_signal.h:119
Definition: te_signal.h:80
void sort(T first, T last, StrictWeakOrdering comp)
Definition: algorithm.h:349
iterator erase(iterator pos)
Definition: array.h:328