#include <notifier.h>
Public Types | |
typedef bool(* | notify_func_type )(void *, const std::string &name, ParamT) |
Public Member Functions | |
bool | empty () const |
Notifier () | |
template<class O > | |
Notifier (O *o, bool(*f)(O *, const std::string &, ParamT)) | |
bool | notify (const std::string &name, ParamT val) const |
Public Attributes | |
notify_func_type | func |
void * | obj |
Definition at line 37 of file notifier.h.
typedef bool(* ProgramOptions::detail::Notifier< ParamT >::notify_func_type)(void *, const std::string &name, ParamT) |
Definition at line 38 of file notifier.h.
ProgramOptions::detail::Notifier< ParamT >::Notifier | ( | ) | [inline] |
Definition at line 39 of file notifier.h.
ProgramOptions::detail::Notifier< ParamT >::Notifier | ( | O * | o, |
bool(*)(O *, const std::string &, ParamT) | f | ||
) | [inline] |
Definition at line 41 of file notifier.h.
bool ProgramOptions::detail::Notifier< ParamT >::empty | ( | ) | const [inline] |
Definition at line 50 of file notifier.h.
bool ProgramOptions::detail::Notifier< ParamT >::notify | ( | const std::string & | name, |
ParamT | val | ||
) | const [inline] |
Definition at line 47 of file notifier.h.
notify_func_type ProgramOptions::detail::Notifier< ParamT >::func |
Definition at line 46 of file notifier.h.
void* ProgramOptions::detail::Notifier< ParamT >::obj |
Definition at line 45 of file notifier.h.