Numworks Epsilon
1.4.1
Graphing Calculator Operating System
device_capability_descriptor.h
Go to the documentation of this file.
1
#ifndef ION_DEVICE_USB_STACK_DEVICE_CAPABLITY_DESCRIPTOR_H
2
#define ION_DEVICE_USB_STACK_DEVICE_CAPABLITY_DESCRIPTOR_H
3
4
#include "
descriptor.h
"
5
6
namespace
Ion
{
7
namespace
USB
{
8
namespace
Device {
9
10
class
BOSDescriptor;
11
12
class
DeviceCapabilityDescriptor
:
public
Descriptor
{
13
friend
class
BOSDescriptor
;
14
public
:
15
constexpr
DeviceCapabilityDescriptor
(
uint8_t
bDeviceCapabilityType) :
16
Descriptor
(0x10),
17
m_bDeviceCapabilityType(bDeviceCapabilityType)
18
{
19
}
20
protected
:
21
void
push
(Channel *
c
)
const override
;
22
virtual
uint8_t
bLength
()
const override
;
23
private
:
24
uint8_t
m_bDeviceCapabilityType;
25
};
26
27
}
28
}
29
}
30
31
#endif
Ion::USB::Device::DeviceCapabilityDescriptor::push
void push(Channel *c) const override
Definition:
device_capability_descriptor.cpp:7
uint8_t
unsigned char uint8_t
Definition:
stdint.h:4
Ion::USB::Device::BOSDescriptor
Definition:
bos_descriptor.h:11
c
c(generic_all_nodes)
descriptor.h
USB
Definition:
app.cpp:5
Ion::USB::Device::DeviceCapabilityDescriptor::DeviceCapabilityDescriptor
constexpr DeviceCapabilityDescriptor(uint8_t bDeviceCapabilityType)
Definition:
device_capability_descriptor.h:15
Ion::USB::Device::Descriptor
Definition:
descriptor.h:12
Ion::USB::Device::DeviceCapabilityDescriptor::bLength
virtual uint8_t bLength() const override
Definition:
device_capability_descriptor.cpp:12
Ion
Definition:
backlight.h:6
Ion::USB::Device::DeviceCapabilityDescriptor
Definition:
device_capability_descriptor.h:12
epsilon
ion
src
device
usb
stack
device_capability_descriptor.h
Generated by
1.8.14