Awali
Another Weighted Automata library
Namespaces | Macros | Functions
handler.hh File Reference
#include <dlfcn.h>
#include <iostream>
#include <awali/dyn/loading/compile.hh>
#include <unordered_map>
#include <map>
#include <awali/dyn/core/automaton.hh>
#include <awali/dyn/core/transducer.hh>
#include <awali/dyn/loading/handler_decl.hxx>

Go to the source code of this file.

Namespaces

 awali
 Main namespace of Awali.
 
 awali::dyn
 Namespace for the dynamical layer of Awali.
 
 awali::dyn::loading
 Namespace containtaing facilities for on-the-fly compilation.
 

Macros

#define HANDLER_EXTERN   extern
 

Functions

template<typename RET_T , typename... ARGS_T>
RET_T awali::dyn::loading::call0 (std::string const &name, std::string const &group, std::string const &stat_ctx, ARGS_T... args)
 
template<typename RET_T , typename ARG1_T , typename... ARGS_T>
RET_T awali::dyn::loading::call1 (std::string const &name, std::string const &group, ARG1_T arg1, ARGS_T... args)
 
template<typename RET_T , typename ARG2_T , typename ARG1_T , typename... ARGS_T>
RET_T awali::dyn::loading::call2 (std::string const &name, std::string const &group, ARG1_T arg1, ARG2_T arg2, ARGS_T... args)
 
template<typename RET_T , typename ARG1_T >
RET_T awali::dyn::loading::call_0_1 (std::string const &name, std::string const &group, std::string const &stat_ctx, ARG1_T other1, RET_T(*fct)(ARG1_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T >
RET_T awali::dyn::loading::call_0_2 (std::string const &name, std::string const &group, std::string const &stat_ctx, ARG1_T other1, ARG2_T other2, RET_T(*fct)(ARG1_T, ARG2_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T , typename ARG3_T >
RET_T awali::dyn::loading::call_0_3 (std::string const &name, std::string const &group, std::string const &stat_ctx, ARG1_T other1, ARG2_T other2, ARG3_T other3, RET_T(*fct)(ARG1_T, ARG2_T, ARG3_T)=nullptr)
 
template<typename RET_T , typename ARG1_T >
RET_T awali::dyn::loading::call_1_0 (std::string const &name, std::string const &group, ARG1_T aut, RET_T(*fct)(ARG1_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T >
RET_T awali::dyn::loading::call_1_1 (std::string const &name, std::string const &group, ARG1_T aut1, ARG2_T other1, RET_T(*fct)(ARG1_T, ARG2_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T , typename ARG3_T >
RET_T awali::dyn::loading::call_1_2 (std::string const &name, std::string const &group, ARG1_T aut1, ARG2_T other1, ARG3_T other2, RET_T(*fct)(ARG1_T, ARG2_T, ARG3_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T , typename ARG3_T , typename ARG4_T >
RET_T awali::dyn::loading::call_1_3 (std::string const &name, std::string const &group, ARG1_T aut1, ARG2_T other1, ARG3_T other2, ARG4_T other3, RET_T(*fct)(ARG1_T, ARG2_T, ARG3_T, ARG4_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T , typename ARG3_T , typename ARG4_T , typename ARG5_T >
RET_T awali::dyn::loading::call_1_4 (std::string const &name, std::string const &group, ARG1_T aut1, ARG2_T other1, ARG3_T other2, ARG4_T other3, ARG5_T other4, RET_T(*fct)(ARG1_T, ARG2_T, ARG3_T, ARG4_T, ARG5_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T >
RET_T awali::dyn::loading::call_2_0 (std::string const &name, std::string const &group, ARG1_T aut1, ARG2_T aut2, RET_T(*fct)(ARG1_T, ARG2_T)=nullptr)
 
template<typename RET_T , typename ARG1_T , typename ARG2_T , typename ARG3_T >
RET_T awali::dyn::loading::call_2_1 (std::string const &name, std::string const &group, ARG1_T aut1, ARG2_T aut2, ARG3_T other1, RET_T(*fct)(ARG1_T, ARG2_T, ARG3_T)=nullptr)
 
template<typename TYPERET , typename ARG1 , typename ARG2 , TYPERET(*)(ARG1, ARG2) FCT>
TYPERET awali::dyn::loading::call_tdc2 (std::string const &name, std::string const &group, ARG1 aut1, ARG2 aut2)
 
void * awali::dyn::loading::get_handler (const std::string &name, const std::string &group, const std::string &static_context)
 
void * awali::dyn::loading::get_handler (const std::string &name, const std::string &group, const std::string &static_context1, const std::string &static_context2)
 
void * awali::dyn::loading::get_handler (const std::string &name, const std::string &static_context)
 

Macro Definition Documentation

◆ HANDLER_EXTERN

#define HANDLER_EXTERN   extern