Context Class Reference

#include <context.hpp>

List of all members.

Public Member Functions

 Context (void(*progress)(double), bool(*cancel)())
void report_progress (double x) const
bool is_cancelled () const

Private Attributes

void(* progress_function )(double)
bool(* cancel_function )()

Detailed Description

Definition at line 15 of file context.hpp.

Constructor & Destructor Documentation

Context ( void(*)(double)  progress,
bool(*)()  cancel 

Definition at line 19 of file context.hpp.

Member Function Documentation

bool is_cancelled ( ) const

Definition at line 30 of file context.hpp.

void report_progress ( double  x) const

Definition at line 24 of file context.hpp.

Member Data Documentation

bool(* cancel_function)() [private]

Definition at line 39 of file context.hpp.

void(* progress_function)(double) [private]

Definition at line 38 of file context.hpp.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines