1 #ifndef __JACOUSTICS__JTRIGGEROUTPUT__
2 #define __JACOUSTICS__JTRIGGEROUTPUT__
13 namespace JACOUSTICS {}
14 namespace JPP {
using namespace JACOUSTICS; }
16 namespace JACOUSTICS {
39 template<
class JMatch_t>
40 inline void merge(
const JMatch_t& match)
42 std::sort(this->begin(), this->end());
44 iterator out = this->begin();
46 for (iterator
i = this->begin();
i != this->end(); ++out) {
52 while (++
i != this->end() && match(*out,*
i)) {
57 this->erase(out, this->end());
void merge(const JMatch_t &match)
Merge events.
JTriggerOutput()
Default constructor.