26#ifndef PDI_CONTEXT_PROXY_H_
27#define PDI_CONTEXT_PROXY_H_
29#include <pdi/pdi_fwd.h>
30#include <pdi/context.h>
31#include <pdi/callbacks.h>
32#include <pdi/logger.h>
63 void setup_logger(
const std::string& logger_name, PC_tree_t logging_tree);
93 void event(
const char* name)
override;
Definition: callbacks.h:39
An iterator used to go through the descriptor store.
Definition: context.h:50
Definition: context_proxy.h:40
Iterator end() override
Context::end proxy for plugins.
Logger & pdi_core_logger()
Returns pdi core logger.
void setup_logger(const std::string &logger_name, PC_tree_t logging_tree)
Sets up logger.
Data_descriptor & operator[](const std::string &name) override
Context::operator[] proxy for plugins.
Context_proxy(Context &ctx)
Creates Context proxy without plugin logger.
Iterator begin() override
Context::begin proxy for plugins.
Context_proxy(Context &ctx, const std::string &logger_name, PC_tree_t logging_tree)
Creates Context proxy.
void event(const char *name) override
Context::event proxy for plugins.
Logger & logger() override
Returns plugin logger.
Data_descriptor & operator[](const char *name) override
Context::operator[] proxy for plugins.
Datatype_template_ptr datatype(PC_tree_t node) override
Context::datatype proxy for plugins.
void finalize_and_exit() override
Finalizes PDI and exits application.
void add_datatype(const std::string &name, Datatype_template_parser parser) override
Context::add_datatype proxy for plugins.
Data_descriptor & desc(const std::string &name) override
Context::desc proxy for plugins.
Data_descriptor & desc(const char *name) override
Context::desc proxy for plugins.
Callbacks & callbacks() override
Context::callbacks proxy for plugins.
std::function< Datatype_template_ptr(Context &, PC_tree_t)> Datatype_template_parser
A function that parses a PC_tree_t to create a datatype_template.
Definition: context.h:65
Definition: data_descriptor.h:40
Wrapper for spdlog::logger with additional pattern getter method.
Definition: logger.h:42
Definition: array_datatype.h:38
std::shared_ptr< const Datatype_template > Datatype_template_ptr
Definition: pdi_fwd.h:76