All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ttmath::StopCalculating Class Reference

#include <ttmathtypes.h>

Public Member Functions

virtual bool WasStopSignal () const volatile
 
virtual ~StopCalculating ()
 

Detailed Description

this simple class can be used in multithreading model (you can write your own class derived from this one)

for example: in some functions like Factorial() /at the moment only Factorial/ you can give a pointer to the 'stop object', if the method WasStopSignal() of this object returns true that means we should break the calculating and return

Constructor & Destructor Documentation

virtual ttmath::StopCalculating::~StopCalculating ( )
inlinevirtual

Member Function Documentation

virtual bool ttmath::StopCalculating::WasStopSignal ( ) const volatile
inlinevirtual

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