class Gambit::BEfunction_bucket_common

An interface class for backend functions. More…

#include <safety_bucket.hpp>

Inherits from Gambit::BE_bucket_base, Gambit::safety_bucket_base

Public Functions

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

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

Additional inherited members

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 PTR_TYPE ,
typename TYPE ,
typename... ARGS>
class Gambit::BEfunction_bucket_common;

An interface class for backend functions.

Public Functions Documentation

function BEfunction_bucket_common

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

Constructor for BEfunction_bucket_common.

function initialize

inline void initialize(
    backend_functor< PTR_TYPE, TYPE, ARGS... > * functor_ptr_in
)

Initialize this bucket with a functor pointer.

function pointer

inline PTR_TYPE pointer()

Return the underlying function pointer.

Protected Attributes Documentation

variable _functor_ptr

backend_functor< PTR_TYPE, TYPE, ARGS... > * _functor_ptr;

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