Tesseract
Motion Planning Environment
|
Go to the source code of this file.
Namespaces | |
namespace | tesseract_common |
Macros | |
#define | CREATE_MEMBER_CHECK(member) |
Check for member x in a given class. Could be var, func, class, union, or enum: More... | |
#define | CREATE_MEMBER_FUNC_INVOCABLE_CHECK(func_name, ...) |
Check if a member function is invocable with the provided input types. More... | |
#define | CREATE_MEMBER_FUNC_RETURN_TYPE_CHECK(func_name, return_type, ...) |
Check if a member function has a given return type with input parameters. More... | |
#define | CREATE_MEMBER_FUNC_RETURN_TYPE_NOARGS_CHECK(func_name, return_type) |
Check if a member function has a given return type that takes no arguments. More... | |
#define | CREATE_MEMBER_FUNC_SIGNATURE_CHECK(func_name, return_type, ...) |
Check if a member function has a given return type. More... | |
#define | CREATE_MEMBER_FUNC_SIGNATURE_NOARGS_CHECK(func_name, return_type) |
Check if a member function has a given return type that takes no arguments. More... | |
#define CREATE_MEMBER_CHECK | ( | member | ) |
Check for member x in a given class. Could be var, func, class, union, or enum:
CREATE_MEMBER_CHECK(x); bool has_x = has_member_x<class_to_check_for_x>::value;
#define CREATE_MEMBER_FUNC_INVOCABLE_CHECK | ( | func_name, | |
... | |||
) |
Check if a member function is invocable with the provided input types.
Check if the class has a function named add which takes two double as arguments CREATE_MEMBER_FUNC_INVOCABLE_CHECK(add, double, double) bool has_add_invocable = has_member_func_invocable_add<class_to_check_for_add_invocable>::value;
#define CREATE_MEMBER_FUNC_RETURN_TYPE_CHECK | ( | func_name, | |
return_type, | |||
... | |||
) |
Check if a member function has a given return type with input parameters.
Check if the class has a function named add with return type followed function parameters CREATE_MEMBER_FUNC_RETURN_TYPE_CHECK(add, double, double, double) bool has_add_return_type = has_member_func_return_type_add<class_to_check_for_add_return_type>::value;
#define CREATE_MEMBER_FUNC_RETURN_TYPE_NOARGS_CHECK | ( | func_name, | |
return_type | |||
) |
Check if a member function has a given return type that takes no arguments.
Check if the class has a function named add with return type CREATE_MEMBER_FUNC_RETURN_TYPE_NOARGS_CHECK(update, bool) bool has_update_return_type = has_member_func_return_type_update<class_to_check_for_update_return_type>::value;
#define CREATE_MEMBER_FUNC_SIGNATURE_CHECK | ( | func_name, | |
return_type, | |||
... | |||
) |
Check if a member function has a given return type.
Check if the class has a function named add with return type followed function parameters CREATE_MEMBER_FUNC_SIGNATURE_CHECK(add, double, double, double) bool has_add_signature = has_member_func_signature_add<class_to_check_for_add_signature>::value;
#define CREATE_MEMBER_FUNC_SIGNATURE_NOARGS_CHECK | ( | func_name, | |
return_type | |||
) |
Check if a member function has a given return type that takes no arguments.
Check if the class has a function named add with return type CREATE_MEMBER_FUNC_SIGNATURE_NOARGS_CHECK(add, double) bool has_add_signature = has_member_func_signature_add<class_to_check_for_add_signature>::value;