DrawCaml
Public Member Functions | Public Attributes | List of all members
Action Class Reference

#include <action.h>

Public Member Functions

 Action (SWindow *win, Function f)
 
void Call ()
 

Public Attributes

Function mFun
 
mutex * mResultLock
 

Detailed Description

Object consisting of actions to be performed on the window, stored in window's queue.

Constructor & Destructor Documentation

◆ Action()

Action::Action ( SWindow win,
Function  f 
)

The constructor of Action adds it directly to the queue of the given window. (if not null)

Member Function Documentation

◆ Call()

void Action::Call ( )

Performs the action (calls the function f given in the constructor). Called by window's queue.

Member Data Documentation

◆ mFun

Function Action::mFun

void(void) function with all parameters already binded

◆ mResultLock

mutex* Action::mResultLock

lock to wait for the result of the action


The documentation for this class was generated from the following files: