VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
event_signal.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: event_signal.h,v $ $Revision: 1.4 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef event_signal_H_
14 #define event_signal_H_
15 
16 #include <boost/signals.hpp>
17 #include <boost/bind.hpp>
18 #include <boost/type_traits/function_traits.hpp>
20 
21 namespace makVrv
22 {
23 
39  template
40  <
41  typename Signature,
42  typename Combiner = boost::last_value<typename boost::function_traits<Signature>::result_type>,
43  typename Group = int,
44  typename GroupCompare = std::less<Group>,
45  typename SlotFunction = boost::function<Signature>
46  >
47  class event_signal : public boost::signal<Signature,Combiner,Group,GroupCompare,SlotFunction>
48  {
49  public:
51  typedef boost::function_traits<Signature> traits;
52 
54  template <typename ClassType>
56 
58  template <typename ClassType>
60  };
61 
62 }
63 
64 #define event_signal_INL_
65 #include <vrvUtil/event_signal.inl>
66 #undef event_signal_INL_
67 
68 #endif
69 
Contains makVrv::DtEventQueueInterface class.
event_signal(this_type &(ClassType::*accessor)(), DtEventQueueInterface &i)
CTOR which takes this instance&#39;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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)