11 #ifndef _ICANCELLATIONTOKENSOURCE_H_
12 #define _ICANCELLATIONTOKENSOURCE_H_
19 namespace artec {
namespace sdk {
namespace base
22 class ICancellationTokenSource;
56 #endif // _ICANCELLATIONTOKENSOURCE_H_
virtual ICancellationToken * getToken()=0
Return ICancellationToken interface.
ICancellationTokenSource is an interface to handle ICancellationToken.
Callback interface to notify process about cancellation.
ErrorCode ABASESDK_LINK_SPEC createCancellationTokenSource(ICancellationTokenSource **pCancellationTokenSource)
virtual void cancel()=0
Set cancellation signal.
#define ABASESDK_LINK_SPEC
Interface that implements reference counting and life-time management.