Factory of functors.
More...
#include <bayeux/mygsl/functor_factory.h>
|
bool | is_locked () const |
| Check lock flag. More...
|
|
void | lock () |
| Lock the factory. More...
|
|
void | unlock () |
| Unlock the factory. More...
|
|
| functor_factory () |
| Default constructor. More...
|
|
| functor_factory (uint32_t flags_) |
| Constructor. More...
|
|
virtual | ~functor_factory () |
| Destructor. More...
|
|
void | create (unary_function_handle_type &handle_, const std::string &functor_id_) |
| Create a functor without initialization. More...
|
|
void | create (unary_function_handle_type &handle_, const std::string &functor_id_, const datatools::properties &functor_config_) |
| Create a functor. More...
|
|
void | create (unary_function_handle_type &handle_, const std::string &functor_id_, const datatools::properties &functor_config_, unary_function_dict_type &functors_) |
| Create a functor. More...
|
|
virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| Smart dump. More...
|
|
| i_tree_dumpable () |
| Constructor. More...
|
|
virtual | ~i_tree_dumpable () |
| Destructor. More...
|
|
virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| Main new interface method for printing. More...
|
|
void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| Printing with jsonized options. More...
|
|
void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| Printing with jsonized options. More...
|
|
void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
|
void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
|
void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
|
◆ construct_flags
construct flags
Enumerator |
---|
CONSTRUCT_NONE | No flags.
|
CONSTRUCT_NO_PRELOAD | Do not preload factories from system register.
|
CONSTRUCT_FACTORY_VERBOSE | Activate verbosity of the embedded factory.
|
◆ functor_factory() [1/2]
mygsl::functor_factory::functor_factory |
( |
| ) |
|
◆ functor_factory() [2/2]
mygsl::functor_factory::functor_factory |
( |
uint32_t |
flags_ | ) |
|
◆ ~functor_factory()
virtual mygsl::functor_factory::~functor_factory |
( |
| ) |
|
|
virtual |
◆ _allocate()
i_unary_function* mygsl::functor_factory::_allocate |
( |
const std::string & |
functor_id_ | ) |
|
|
protected |
◆ _at_lock()
virtual void mygsl::functor_factory::_at_lock |
( |
| ) |
|
|
protectedvirtual |
◆ _at_unlock()
virtual void mygsl::functor_factory::_at_unlock |
( |
| ) |
|
|
protectedvirtual |
◆ _basic_construct()
void mygsl::functor_factory::_basic_construct |
( |
uint32_t |
flags_ | ) |
|
|
protected |
◆ _basic_destroy()
void mygsl::functor_factory::_basic_destroy |
( |
| ) |
|
|
protected |
◆ create() [1/3]
Create a functor without initialization.
◆ create() [2/3]
◆ create() [3/3]
◆ is_locked()
bool mygsl::functor_factory::is_locked |
( |
| ) |
const |
◆ lock()
void mygsl::functor_factory::lock |
( |
| ) |
|
◆ tree_dump()
virtual void mygsl::functor_factory::tree_dump |
( |
std::ostream & |
out_ = std::clog , |
|
|
const std::string & |
title_ = "" , |
|
|
const std::string & |
indent_ = "" , |
|
|
bool |
inherit_ = false |
|
) |
| const |
|
virtual |
◆ unlock()
void mygsl::functor_factory::unlock |
( |
| ) |
|
The documentation for this class was generated from the following file: