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