Bifrost SDK
Bifrost SDK documentation
Callbacks.h
Go to the documentation of this file.
1//-
2// ================================================================================================
3// Copyright 2024 Autodesk, Inc. All rights reserved.
4//
5// Use of this software is subject to the terms of the Autodesk license agreement provided
6// at the time of installation or download, or which otherwise accompanies this software in
7// either electronic or hard copy form.
8// ================================================================================================
9//+
10
15
16#ifndef BIFROSTGRAPH_EXECUTOR_CALLBACKS_H
17#define BIFROSTGRAPH_EXECUTOR_CALLBACKS_H
18
19#include <BifrostGraph/Executor/internal/ExecutorExport.h>
20
21namespace BifrostGraph {
22namespace Executor {
23
25
35class BIFROSTGRAPH_EXECUTOR_SHARED_DECL Callbacks {
36public:
38 Callbacks() noexcept;
39
41 virtual ~Callbacks() noexcept;
42
44 using CreateFunc = BifrostGraph::Executor::Callbacks* (*)();
45
97 static const char* createFuncName() noexcept;
98
100 virtual void deleteThis() noexcept = 0;
101
103 virtual void onStateValuesTornDown() noexcept;
104};
105
106} // nanespace Executor
107} // namespace BifrostGraph
108#endif
BifrostGraph Executor Callbacks.
Definition: Callbacks.h:35
Callbacks() noexcept
Constructor.
BifrostGraph::Executor::Callbacks *(*)() CreateFunc
The signature of the function used to create an instance of class Callbacks.
Definition: Callbacks.h:44