|
Bifrost SDK
Bifrost SDK documentation
|
Provide factory functions for Executor core classes. More...
Go to the source code of this file.
Namespaces | |
| namespace | BifrostGraph |
| namespace | BifrostGraph::Executor |
Macros | |
| #define | EXECUTOR_DECLARE_MAKE_OWNER_FRIENDSHIP() |
| Helper macro to declare friend the makeOwner<> factory functions. More... | |
Typedefs | |
| template<typename P > | |
| using | BifrostGraph::Executor::DeleterFunc = void(*)(P *p) |
The signature for the custom pointer deleter of a pointee p. This is the custom deleter type to use with the constructor Owner(P* p, DeleterFunc d). More... | |
Functions | |
| template<typename T , typename... Args> | |
| Owner< T > | BifrostGraph::Executor::makeOwner (Args &&... args) |
Create a new T object, constructed from the given arguments, and validate it with the expression T::isValid(). More... | |
| template<typename T , typename... Args> | |
| Owner< T > | BifrostGraph::Executor::makeOwner (DeleterFunc< T > d, Args &&... args) |
Create a new T object, constructed from the given arguments, and validate it with the expression T::isValid(). More... | |
Provide factory functions for Executor core classes.
Constructor. If an error occurs during the construction of this ConfigEnv, or while parsing the environnement variables, then BifrostGraph::Executor::Utility::ConfigEnv::isValid will return false and all future operations on this ConfigEnv will fail.
This constructor is protected to force the usage of factory functions BifrostGraph::Executor::makeOwner (see) to create it.
Definition in file Factory.h.