10 #ifndef event_signal_H_
11 #define event_signal_H_
16 #include <boost/bind/bind.hpp>
17 #include <boost/type_traits/function_traits.hpp>
18 #include <boost/signals2/last_value.hpp>
41 typename Combiner = boost::signals2::last_value<typename boost::function_traits<Signature>::result_type>,
43 typename GroupCompare = std::less<Group>,
44 typename SlotFunction = boost::function<Signature>
46 class event_signal :
public boost::signalslib::signal<Signature,Combiner,Group,GroupCompare,SlotFunction>
50 typedef boost::function_traits<Signature>
traits;
53 template <
typename ClassType>
57 template <
typename ClassType>
63 #define event_signal_INL_
64 #include <vrvUtil/event_signal.inl>
65 #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:49
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
a event_signal, the signal queues events into an event queue
Definition: event_signal.h:46
The event queue interface is a cross thread event queue used to emit event_signal across thread bound...
Definition: DtEventQueueInterface.h:27
boost::function_traits< Signature > traits
Definition: event_signal.h:50