Artec 3D Scanning SDK  2.0
Public Member Functions | List of all members
artec::sdk::base::ICancellationTokenSource Class Referenceabstract

ICancellationTokenSource is an interface to handle ICancellationToken. More...

#include <artec/sdk/base/ICancellationTokenSource.h>

+ Inheritance diagram for artec::sdk::base::ICancellationTokenSource:

Public Member Functions

virtual void cancel ()=0
 Set cancellation signal. More...
 
virtual ICancellationTokengetToken ()=0
 Return ICancellationToken interface. More...
 
- Public Member Functions inherited from artec::sdk::base::IRef
virtual int addRef () const =0
 Increase object reference counter. More...
 
virtual int release () const =0
 Decrease object reference counter. More...
 

Detailed Description

ICancellationTokenSource is an interface to handle ICancellationToken.

Definition at line 35 of file ICancellationTokenSource.h.

Member Function Documentation

virtual void artec::sdk::base::ICancellationTokenSource::cancel ( )
pure virtual

Set cancellation signal.

isCancellationRequested() will return "true".

virtual ICancellationToken* artec::sdk::base::ICancellationTokenSource::getToken ( )
pure virtual

Return ICancellationToken interface.

Returns
pointer to ICancellationToken

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