Template Struct NodeInterfacesStorage

Struct Documentation

template<typename ...InterfaceTs>
struct NodeInterfacesStorage

Stores the interfaces in a tuple, provides constructors, and getters.

Public Functions

template<typename NodeT>
inline NodeInterfacesStorage(NodeT &node)
inline NodeInterfacesStorage()
inline explicit NodeInterfacesStorage(std::shared_ptr<InterfaceTs>... args)
template<typename NodeInterfaceT>
inline std::shared_ptr<NodeInterfaceT> get()

Individual Node Interface non-const getter.

template<typename NodeInterfaceT>
inline std::shared_ptr<const NodeInterfaceT> get() const

Individual Node Interface const getter.

Protected Attributes

std::tuple<std::shared_ptr<InterfaceTs>...> interfaces_