13 #ifndef ML_MESSAGING_BACKGROUND_TASK_H
14 #define ML_MESSAGING_BACKGROUND_TASK_H
77 template <
typename Object,
typename Method>
83 template <
typename Object,
typename Method,
typename Arg1>
89 template <
typename Object,
typename Method,
typename Arg1,
typename Arg2>
95 template <
typename Object,
typename Method,
typename Arg1,
typename Arg2,
typename Arg3>
101 template <
typename Object,
typename Method,
typename Arg1,
typename Arg2,
typename Arg3,
typename Arg4>
107 template <
typename Object,
typename Method,
typename Arg1,
typename Arg2,
typename Arg3,
typename Arg4,
typename Arg5>
#define MLBACKGROUNDTASKS_EXPORT
Base class for a task that is started in an extra thread.
void sendMessageToGUI(BackgroundTaskMessage *message)
Sends the message to the GUI.
A DistantObject stores the pointer to an object of type T and forbids direct access to the stored poi...
MessagingBackgroundTask extends the BackgroundTask with the functionality to call methods on DistantO...
void callMethodOnGUI(const DistantObject< Object > &target, Method method)
void callMethodOnGUI(const DistantObject< Object > &target, Method method, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
void callMethodOnGUI(const DistantObject< Object > &target, Method method, const Arg1 &arg1, const Arg2 &arg2)
void callMethodOnGUI(const DistantObject< Object > &target, Method method, const Arg1 &arg1)
void callMethodOnGUI(const DistantObject< Object > &target, Method method, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
void callMethodOnGUI(const DistantObject< Object > &target, Method method, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
MessagingBackgroundTask(void *ownerArg)
#define ML_DISALLOW_COPY_AND_ASSIGN(className)
Defines basic macros.
ml_vertex_id_map get(vertex_index_t, ml_graph_ptr g)
get() function for vertex id property map vertex_index_t just necessary for overloading
boost::graph_traits< ml_graph_ptr >::vertex_descriptor target(graph_traits< ml_graph_ptr >::edge_descriptor e, const ml_graph_ptr)
Returns the vertex descriptor for v of the edge (u,v) represented by e.
BackgroundTaskMessage * NewBackgroundTaskMethodCall(Object *object, Method method)
Creates a new method call with zero arguments.