4S Device Communication Module Collection  Version 0.6-SNAPSHOT
Public interfaces of the modules in the 4SDC collection (aimed at users of the 4SDC modules)
PAL::PHDUSBConnector Class Reference

The PersonalHealthDeviceConnector class specialization for communication with USB devices (PHDUSBDevice). More...

#include <personalhealthdevice.h>

+ Inheritance diagram for PAL::PHDUSBConnector:
+ Collaboration diagram for PAL::PHDUSBConnector:

Additional Inherited Members

- Protected Member Functions inherited from PAL::PersonalHealthDeviceConnector
virtual void registerDatatype (uint16_t datatype)=0
 Registers a session-layer component as handler of a datatype. More...
 
virtual void unregisterDatatype (uint16_t datatype) noexcept=0
 Unregisters a session-layer component as handler of a datatype. More...
 
virtual void connectIndication (std::shared_ptr< VirtualPHD > device) noexcept=0
 Indicates the connection of a new device. More...
 
virtual void disconnectIndication (std::shared_ptr< VirtualPHD > device, errortype error=0) noexcept=0
 Indicates a device disconnection along with error details. More...
 
virtual void apduReceived (std::shared_ptr< VirtualPHD > device, std::shared_ptr< std::vector< uint8_t > > apdu, bool reliableTransport) noexcept=0
 Receive a message from this device. More...
 
virtual void sendApduPrimary (std::shared_ptr< VirtualPHD > device, std::shared_ptr< std::vector< uint8_t > > apdu) noexcept=0
 Send a message to this device on the primary virtual channel. More...
 
virtual void disconnect (std::shared_ptr< VirtualPHD > device) noexcept=0
 Disconnect the device. More...
 

Detailed Description

This class defines the communication between the USB Personal Healthcare Device Class (PHDC) component in the PAL layer and session-layer components.

Todo:
This specialization must be defined when the first USB device is integrated in this framework.
See also
PersonalHealthDeviceConnector
PHDUSBDevice

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