Public Member Functions | |
Context_proxy (Context &ctx) | |
Creates Context proxy without plugin logger. More... | |
Context_proxy (Context &ctx, const std::string &logger_name, PC_tree_t logging_tree) | |
Creates Context proxy. More... | |
void | setup_logger (const std::string &logger_name, PC_tree_t logging_tree) |
Sets up logger. More... | |
Data_descriptor & | desc (const std::string &name) override |
Context::desc proxy for plugins. More... | |
Data_descriptor & | desc (const char *name) override |
Context::desc proxy for plugins. More... | |
Data_descriptor & | operator[] (const std::string &name) override |
Context::operator[] proxy for plugins. More... | |
Data_descriptor & | operator[] (const char *name) override |
Context::operator[] proxy for plugins. More... | |
Iterator | begin () override |
Context::begin proxy for plugins. More... | |
Iterator | end () override |
Context::end proxy for plugins. More... | |
void | event (const char *name) override |
Context::event proxy for plugins. More... | |
Logger * | logger () override |
Returns plugin logger. More... | |
Logger * | pdi_core_logger () |
Returns pdi core logger. More... | |
Datatype_template_uptr | datatype (PC_tree_t node) override |
Context::datatype proxy for plugins. More... | |
void | add_datatype (const std::string &name, Datatype_template_parser parser) override |
Context::add_datatype proxy for plugins. More... | |
Callbacks & | callbacks () override |
Context::callbacks proxy for plugins. More... | |
void | finalize_and_exit () override |
Finalizes PDI and exits application. More... | |
![]() | |
virtual | ~Context () |
Additional Inherited Members | |
![]() | |
typedef std::function< Datatype_template_uptr(Context &, PC_tree_t)> | Datatype_template_parser |
A function that parses a PC_tree_t to create a datatype_template. More... | |
![]() | |
Iterator | get_iterator (const std::unordered_map< std::string, std::unique_ptr< Data_descriptor >>::iterator &data) |
Iterator | get_iterator (std::unordered_map< std::string, std::unique_ptr< Data_descriptor >>::iterator &&data) |
PDI::Context_proxy::Context_proxy | ( | Context & | ctx | ) |
Creates Context proxy without plugin logger.
[in] | ctx | context to make a proxy |
PDI::Context_proxy::Context_proxy | ( | Context & | ctx, |
const std::string & | logger_name, | ||
PC_tree_t | logging_tree | ||
) |
Creates Context proxy.
[in] | ctx | context to make a proxy |
[in] | logger_name | name of the logger (will be used in logger pattern) |
[in] | logging_tree | logging yaml tree of the plugin |
void PDI::Context_proxy::setup_logger | ( | const std::string & | logger_name, |
PC_tree_t | logging_tree | ||
) |
Sets up logger.
[in] | logger_name | name of the logger (will be used in logger pattern) |
[in] | logging_tree | logging yaml tree of the plugin |
|
overridevirtual |
Context::desc proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Context::desc proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Context::operator[] proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Context::operator[] proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Context::begin proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Context::end proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
|
overridevirtual |
Logger* PDI::Context_proxy::pdi_core_logger | ( | ) |
Returns pdi core logger.
|
overridevirtual |
Context::datatype proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Context::add_datatype proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Context::callbacks proxy for plugins.
Implements PDI::Context.
|
overridevirtual |
Finalizes PDI and exits application.
Implements PDI::Context.