1 #ifndef OPM_EVENT_HEADER_INCLUDED
2 #define OPM_EVENT_HEADER_INCLUDED
30 virtual Event&
add (
const std::function <
void ()>& handler) = 0;
37 template <
typename T,
void (T::*member)()>
Event&
add (T& t);
84 class EventSource :
public Event {
86 virtual Event& add (
const std::function <
void ()>& handler);
87 virtual void signal ();
90 std::list <std::function <void ()> > handlers_;
Definition: AnisotropicEikonal.hpp:43
virtual Event & add(const std::function< void()> &handler)=0