CANOPEN_CLIENT Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
canopen_client::CanInterface< Derived > Class Template Reference

CRTP base of the platform CAN port. More...

#include <canopen_client_can_interface.hpp>

Public Member Functions

 CanInterface (const CanInterface &)=delete
 Ports are not copied: the driver holds a reference.
 
CanInterface & operator= (const CanInterface &)=delete
 Ports are not copied: the driver holds a reference.
 

Protected Member Functions

 CanInterface () noexcept=default
 Only the derived port is constructed.
 
 ~CanInterface () noexcept=default
 Destroyed through the derived port only.
 

Detailed Description

template<typename Derived>
class canopen_client::CanInterface< Derived >

CRTP base of the platform CAN port.

The base declares no hook itself (a forwarding hook would turn a missing override into infinite recursion); the driver checks your class with the CanPort concept.

Template Parameters
DerivedYour port class.

The documentation for this class was generated from the following file: