CANOPEN_CLIENT Driver 0.1.0
API reference
Loading...
Searching...
No Matches
canopen_client::CanPort Concept Reference

Satisfied by a class that derives from CanInterface<Port> and implements the required hooks with exactly the types above, noexcept (handbook KB-CPP20-006). More...

#include <canopen_client_can_interface.hpp>

Concept definition

template<typename Port>
concept canopen_client::CanPort = std::derived_from<Port, CanInterface<Port>> && requires {
detail::ExactHook<Port, bool() noexcept>::Take(&Port::EnsureInitialized);
detail::ExactHook<Port, bool(const CanFrame&) noexcept>::Take(&Port::Send);
}
Satisfied by a class that derives from CanInterface<Port> and implements the required hooks with exac...
Definition canopen_client_can_interface.hpp:73

Detailed Description

Satisfied by a class that derives from CanInterface<Port> and implements the required hooks with exactly the types above, noexcept (handbook KB-CPP20-006).

Template Parameters
PortThe port class.