13 #ifndef event_signal_H_
14 #define event_signal_H_
16 #include <boost/signals.hpp>
17 #include <boost/bind.hpp>
18 #include <boost/type_traits/function_traits.hpp>
42 typename Combiner = boost::last_value<typename boost::function_traits<Signature>::result_type>,
44 typename GroupCompare = std::less<Group>,
45 typename SlotFunction = boost::function<Signature>
47 class event_signal :
public boost::signal<Signature,Combiner,Group,GroupCompare,SlotFunction>
51 typedef boost::function_traits<Signature>
traits;
54 template <
typename ClassType>
58 template <
typename ClassType>
64 #define event_signal_INL_
65 #include <vrvUtil/event_signal.inl>
66 #undef event_signal_INL_
Contains makVrv::DtEventQueueInterface class.
event_signal(this_type &(ClassType::*accessor)(), DtEventQueueInterface &i)
CTOR which takes this instance's accessor function and an interface pointer.
event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction > this_type
Definition: event_signal.h:50
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
a event_signal, the signal queues events into an event queue
Definition: event_signal.h:47
The event queue interface is a cross thread event queue used to emit event_signal across thread bound...
Definition: DtEventQueueInterface.h:29
boost::function_traits< Signature > traits
Definition: event_signal.h:51