Template Struct all_variables_exist

Struct Documentation

template<typename...>
struct all_variables_exist

Test if instances of all the template parameter pack types exist in the graph.

This version accepts an empty parameter pack, and is used to terminate the recursive template parameter pack expansion.

This would be much easier to write in C++17 using ‘if constexpr (sizeof…(Ts) > 0)’

Param graph:

[in] The complete graph, used to verify the existence of a variable

Param stamp:

[in] The timestamp used to construct all variable types

Param device_id:

[in] The device id used to construct all variable types

Return:

True if all variables exist, false otherwise

Public Static Functions

static inline bool value(const fuse_core::Graph&, const rclcpp::Time&, const fuse_core::UUID&)