class Gambit::BEfunction_bucket< TYPE(*)(ARGS…), TYPE, ARGS… >

Partial specialisation for non-variadic backend functions. More…

#include <safety_bucket.hpp>

Inherits from Gambit::BEfunction_bucket_common< TYPE(*)(ARGS…), TYPE, ARGS… >, Gambit::BE_bucket_base, Gambit::safety_bucket_base

Public Functions

Name
BEfunction_bucket(str mym, str myf, str me, backend_functor< TYPE(*)(ARGS…), TYPE, ARGS… > * functor_ptr_in =NULL)
Constructor for non-variadic BEfunction_bucket.
TYPEoperator()(ARGS &&… args)
Call backend function.

Additional inherited members

Public Functions inherited from Gambit::BEfunction_bucket_common< TYPE(*)(ARGS…), TYPE, ARGS… >

Name
BEfunction_bucket_common(str mym, str myf, str me, backend_functor< PTR_TYPE, TYPE, ARGS… > * functor_ptr_in =NULL)
Constructor for BEfunction_bucket_common.
voidinitialize(backend_functor< PTR_TYPE, TYPE, ARGS… > * functor_ptr_in)
Initialize this bucket with a functor pointer.
PTR_TYPEpointer()
Return the underlying function pointer.

Protected Attributes inherited from Gambit::BEfunction_bucket_common< TYPE(*)(ARGS…), TYPE, ARGS… >

Name
backend_functor< PTR_TYPE, TYPE, ARGS… > *_functor_ptr

Public Functions inherited from Gambit::BE_bucket_base

Name
BE_bucket_base(str mym, str myf, str me)
Constructor for BE_bucket_base.
strbackend()
Get backend name.
strversion()
Get version information.

Public Functions inherited from Gambit::safety_bucket_base

Name
safety_bucket_base(str myinfo)
Master constructor.
boolactive()
strname()
Get capability name.
strorigin()
Get name of origin (module/backend).

Protected Functions inherited from Gambit::safety_bucket_base

Name
voiddieGracefully() const
Failure message invoked when the user tries to access the object before it is initialized.

Protected Attributes inherited from Gambit::safety_bucket_base

Name
functor *_functor_base_ptr
bool_initialized
const strwhoami

Detailed Description

template <typename TYPE ,
typename... ARGS>
class Gambit::BEfunction_bucket< TYPE(*)(ARGS...), TYPE, ARGS... >;

Partial specialisation for non-variadic backend functions.

Public Functions Documentation

function BEfunction_bucket

inline BEfunction_bucket(
    str mym,
    str myf,
    str me,
    backend_functor< TYPE(*)(ARGS...), TYPE, ARGS... > * functor_ptr_in =NULL
)

Constructor for non-variadic BEfunction_bucket.

function operator()

inline TYPE operator()(
    ARGS &&... args
)

Call backend function.


Updated on 2023-06-26 at 21:36:50 +0000