USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
AddressPoolImpl< MAX_DEVICES_ALLOWED > Class Template Reference

#include <address.h>

Inheritance diagram for AddressPoolImpl< MAX_DEVICES_ALLOWED >:
Inheritance graph
[legend]
Collaboration diagram for AddressPoolImpl< MAX_DEVICES_ALLOWED >:
Collaboration graph
[legend]

Public Member Functions

 AddressPoolImpl ()
 
virtual UsbDeviceGetUsbDevicePtr (uint8_t addr)
 
void ForEachUsbDevice (UsbDeviceHandleFunc pfunc)
 
virtual uint8_t AllocAddress (uint8_t parent, bool is_hub=false, uint8_t port=0)
 
virtual void FreeAddress (uint8_t addr)
 

Detailed Description

template<const uint8_t MAX_DEVICES_ALLOWED>
class AddressPoolImpl< MAX_DEVICES_ALLOWED >

Definition at line 101 of file address.h.

Constructor & Destructor Documentation

template<const uint8_t MAX_DEVICES_ALLOWED>
AddressPoolImpl< MAX_DEVICES_ALLOWED >::AddressPoolImpl ( )
inline

Definition at line 167 of file address.h.

Member Function Documentation

template<const uint8_t MAX_DEVICES_ALLOWED>
virtual uint8_t AddressPoolImpl< MAX_DEVICES_ALLOWED >::AllocAddress ( uint8_t  parent,
bool  is_hub = false,
uint8_t  port = 0 
)
inlinevirtual

Implements AddressPool.

Definition at line 203 of file address.h.

template<const uint8_t MAX_DEVICES_ALLOWED>
void AddressPoolImpl< MAX_DEVICES_ALLOWED >::ForEachUsbDevice ( UsbDeviceHandleFunc  pfunc)
inline

Definition at line 193 of file address.h.

template<const uint8_t MAX_DEVICES_ALLOWED>
virtual void AddressPoolImpl< MAX_DEVICES_ALLOWED >::FreeAddress ( uint8_t  addr)
inlinevirtual

Implements AddressPool.

Definition at line 259 of file address.h.

template<const uint8_t MAX_DEVICES_ALLOWED>
virtual UsbDevice* AddressPoolImpl< MAX_DEVICES_ALLOWED >::GetUsbDevicePtr ( uint8_t  addr)
inlinevirtual

Implements AddressPool.

Definition at line 182 of file address.h.


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