Artec 3D Scanning SDK 1.0
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
artec
sdk
base
ICancellationToken.h
Go to the documentation of this file.
1
/********************************************************************
2
*
3
* Project Artec 3D Scanning SDK
4
*
5
* Purpose: Interface for long-time processes,
6
* that allow them to check cancel condition
7
*
8
* Copyright: Artec Group
9
*
10
********************************************************************/
11
12
#ifndef _ICANCELLATIONTOKEN_H_
13
#define _ICANCELLATIONTOKEN_H_
14
15
#include <
artec/sdk/base/IRef.h
>
16
17
namespace
artec
{
namespace
sdk {
namespace
base
18
{
19
20
class
ICancellationToken
:
public
IRef
21
{
22
public
:
23
24
/** Callback to ask if process is canceled and should stop as soon as possible
25
*/
26
virtual
bool
isCancellationRequested
() = 0;
27
};
28
29
} } }
// namespace artec::sdk::base
30
31
#endif // _ICANCELLATIONTOKEN_H_
artec
Definition:
AlgorithmWorkset.h:17
artec::sdk::base::ICancellationToken
Definition:
ICancellationToken.h:20
artec::sdk::base::ICancellationToken::isCancellationRequested
virtual bool isCancellationRequested()=0
IRef.h
artec::sdk::base::IRef
Definition:
IRef.h:17
Generated on Wed Dec 30 2015 18:59:17 for Artec 3D Scanning SDK by
1.8.10