Update of /cvsroot/eas-dev/eas-dev/include
In directory sc8-pr-cvs1:/tmp/cvs-serv5135/include
Added Files:
sigslot.h
Log Message:
minor changes in build process; `logger' component rewritten to 'handle'
log records; compiles but not tested yet. sigslot library added to common includes.
another minor changes
--- NEW FILE: sigslot.h ---
// sigslot.h: Signal/Slot classes
//
// Written by Sarah Thompson (sa...@te...) 2002.
//
// License: Public domain. You are free to use this code however you like, with the proviso that
// the author takes on no responsibility or liability for any use.
//
// QUICK DOCUMENTATION
//
// (see also the full documentation at http://sigslot.sourceforge.net/)
//
// #define switches
// SIGSLOT_PURE_ISO - Define this to force ISO C++ compliance. This also disables
// all of the thread safety support on platforms where it is
// available.
//
// SIGSLOT_USE_POSIX_THREADS - Force use of Posix threads when using a C++ compiler other than
// gcc on a platform that supports Posix threads. (When using gcc,
// this is the default - use SIGSLOT_PURE_ISO to disable this if
[...2458 lines suppressed...]
lock_block<mt_policy> lock(this);
connections_list::const_iterator itNext, it = m_connected_slots.begin();
connections_list::const_iterator itEnd = m_connected_slots.end();
while(it != itEnd)
{
itNext = it;
++itNext;
(*it)->emit(a1, a2, a3, a4, a5, a6, a7, a8);
it = itNext;
}
}
};
}; // namespace sigslot
#endif // SIGSLOT_H__
|