Manak  2.0.0
manak::utils Namespace Reference

Useful Utilities. More...

Namespaces

 cli
 Command Line Interface.
 
 helper
 Template Helper Functions.
 

Classes

struct  manak_group_test
 
class  ObjectStore
 

Functions

template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> BindToObject (RType(C::*fun)(Args...), C *c)
 
template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> BindToObject (RType(C::*fun)(Args...) const, const C *c)
 
template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> BindToObject (RType(C::*fun)(), C *c)
 
template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> BindToObject (RType(C::*fun)() const, const C *c)
 
template<typename RType , typename P , typename... Args>
RType Caller (std::function< RType(Args...)> fun, P params)
 
template<typename RType , typename P , typename... Args>
RType Caller (RType(*fun)(Args...), P params)
 
std::ostream & operator<< (std::ostream &s, const ObjectStore &os)
 

Detailed Description

Useful Utilities.

Function Documentation

template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> manak::utils::BindToObject ( RType(C::*)(Args...)  fun,
C *  c 
)
template<typename RType , typename C , typename... Args>
std::function<RType(Args...)> manak::utils::BindToObject ( RType(C::*)(Args...) const  fun,
const C *  c 
)

Definition at line 133 of file template_utils.hpp.

References manak::utils::helper::BindToObject2().

template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> manak::utils::BindToObject ( RType(C::*)()  fun,
C *  c 
)

Definition at line 145 of file template_utils.hpp.

References manak::utils::helper::BindToObject2().

template<typename RType , typename C , typename... Args>
std::function<RType(Args...)> manak::utils::BindToObject ( RType(C::*)() const  fun,
const C *  c 
)

Definition at line 151 of file template_utils.hpp.

References manak::utils::helper::BindToObject2().

template<typename RType , typename P , typename... Args>
RType manak::utils::Caller ( std::function< RType(Args...)>  fun,
params 
)
template<typename RType , typename P , typename... Args>
RType manak::utils::Caller ( RType(*)(Args...)  fun,
params 
)

Definition at line 120 of file template_utils.hpp.

std::ostream& manak::utils::operator<< ( std::ostream &  s,
const ObjectStore &  os 
)
inline