class Gambit::safety_bucket_base

Base class for the interface classes ‘dep_bucket’, ‘BEvariable_bucket’ and ‘BEfunction_bucket’.

#include <safety_bucket.hpp>

Inherited by Gambit::BE_bucket_base, Gambit::dep_bucket< TYPE >

Public Functions

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

Protected Functions

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

Protected Attributes

Name
functor *_functor_base_ptr
bool_initialized
const strwhoami

Public Functions Documentation

function safety_bucket_base

inline safety_bucket_base(
    str myinfo
)

Master constructor.

function active

inline bool active()

Ask whether the bucket has been initialised with a valid pointer or not, i.e. has the dependency resolver activated this dependency / backend req?

function name

inline str name()

Get capability name.

function origin

inline str origin()

Get name of origin (module/backend).

Protected Functions Documentation

function dieGracefully

inline void dieGracefully() const

Failure message invoked when the user tries to access the object before it is initialized.

Protected Attributes Documentation

variable _functor_base_ptr

functor * _functor_base_ptr;

variable _initialized

bool _initialized;

variable whoami

const str whoami;

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