Class device
Defined in File device.hpp
Inheritance Relationships
Derived Types
public libcaer::devices::serial
(Class serial)public libcaer::devices::usb
(Class usb)
Class Documentation
-
class device
Subclassed by libcaer::devices::serial, libcaer::devices::usb
Public Functions
-
virtual ~device() = default
-
virtual std::string toString() const noexcept = 0
-
inline void sendDefaultConfig() const
-
inline void configSet(int8_t modAddr, uint8_t paramAddr, uint32_t param) const
-
inline void configGet(int8_t modAddr, uint8_t paramAddr, uint32_t *param) const
-
inline uint32_t configGet(int8_t modAddr, uint8_t paramAddr) const
-
inline void configGet64(int8_t modAddr, uint8_t paramAddr, uint64_t *param) const
-
inline uint64_t configGet64(int8_t modAddr, uint8_t paramAddr) const
-
inline void dataStart(void (*dataNotifyIncrease)(void *ptr), void (*dataNotifyDecrease)(void *ptr), void *dataNotifyUserPtr, void (*dataShutdownNotify)(void *ptr), void *dataShutdownUserPtr) const
-
inline void dataStop() const
-
inline std::unique_ptr<libcaer::events::EventPacketContainer> dataGet() const
Protected Functions
-
device() = default
Protected Attributes
-
std::shared_ptr<struct caer_device_handle> handle
-
virtual ~device() = default