ecto
|
Helper class for determining if client modules have function implementations or not. More...
#include <cell.hpp>
Public Types | |
enum | { declare_params = sizeof(test_declare_params<T> (0)) == sizeof(yes) } |
enum | { declare_io = sizeof(test_declare_io<T> (0)) == sizeof(yes) } |
enum | { configure = sizeof(test_configure<T> (0)) == sizeof(yes) } |
enum | { activate = sizeof(test_activate<T> (0)) == sizeof(yes) } |
enum | { deactivate = sizeof(test_deactivate<T> (0)) == sizeof(yes) } |
enum | { process = sizeof(test_process<T> (0)) == sizeof(yes) } |
enum | { start = sizeof(test_start<T> (0)) == sizeof(yes) } |
enum | { stop = sizeof(test_stop<T> (0)) == sizeof(yes) } |
typedef char | yes |
typedef char(& | no)[2] |
Static Public Member Functions | |
template<class U > | |
static yes | test_declare_params (__typeof__(&U::declare_params)) |
template<class U > | |
static no | test_declare_params (...) |
template<class U > | |
static yes | test_declare_io (__typeof__(&U::declare_io)) |
template<class U > | |
static no | test_declare_io (...) |
template<class U > | |
static yes | test_configure (__typeof__(&U::configure)) |
template<class U > | |
static no | test_configure (...) |
template<class U > | |
static yes | test_activate (__typeof__(&U::activate)) |
template<class U > | |
static no | test_activate (...) |
template<class U > | |
static yes | test_deactivate (__typeof__(&U::deactivate)) |
template<class U > | |
static no | test_deactivate (...) |
template<class U > | |
static yes | test_process (__typeof__(&U::process)) |
template<class U > | |
static no | test_process (...) |
template<class U > | |
static yes | test_start (__typeof__(&U::start)) |
template<class U > | |
static no | test_start (...) |
template<class U > | |
static yes | test_stop (__typeof__(&U::stop)) |
template<class U > | |
static no | test_stop (...) |
Helper class for determining if client modules have function implementations or not.
typedef char(& ecto::has_f< T >::no)[2] |
typedef char ecto::has_f< T >::yes |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |