Bifrost SDK
Bifrost SDK documentation
Cancellation.h
Go to the documentation of this file.
1//-
2// =============================================================================
3// Copyright 2025 Autodesk, Inc. All rights reserved.
4//
5// Use of this software is subject to the terms of the Autodesk license
6// agreement provided at the time of installation or download, or which
7// otherwise accompanies this software in either electronic or hard copy form.
8// =============================================================================
9//+
10
14
15#ifndef AMINO_CANCELLATION_H
16#define AMINO_CANCELLATION_H
17
18#pragma message("Cancellation.h is deprecated. Use a StopToken instead.")
19
20#include "internal/Deprecated.h"
21
22#include <Amino/Core/internal/ConfigMacros.h>
23
24//==============================================================================
25// EXTERNAL DECLARATIONS
26//==============================================================================
27
28namespace Amino {
29
31 "Amino::isJobCancelled is deprecated and now always returns false. "
32 "Use a 'StopToken const& jobport instead. ")
33inline bool isJobCancelled() { return Internal::deprecated_getFalse(); }
34
35} // namespace Amino
36
37#endif
Definition: HostData.h:33
AMINO_INTERNAL_DEPRECATED("Amino::isJobCancelled is deprecated and now always returns false. " "Use a 'StopToken const& jobport instead. ") inline bool isJobCancelled()
Definition: Cancellation.h:30