µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::posix::device_registry< T > Class Template Reference

Devices registry static class. More...

#include <cmsis-plus/posix-io/device-registry.h>

Public Types

using pointer = T *
 
using reference = T &
 
using value_type = T
 

Public Member Functions

Constructors & Destructor
 device_registry ()=delete
 
 ~device_registry ()=delete
 

Static Public Member Functions

Public Static Member Functions
static void link (value_type *device)
 
static value_typeidentify_device (const char *path)
 

Detailed Description

template<typename T>
class os::posix::device_registry< T >

Devices registry static class.

Definition at line 54 of file device-registry.h.

Member Typedef Documentation

◆ pointer

template<typename T >
using os::posix::device_registry< T >::pointer = T*

Definition at line 59 of file device-registry.h.

◆ reference

template<typename T >
using os::posix::device_registry< T >::reference = T&

Definition at line 60 of file device-registry.h.

◆ value_type

template<typename T >
using os::posix::device_registry< T >::value_type = T

Definition at line 58 of file device-registry.h.

Constructor & Destructor Documentation

◆ device_registry()

template<typename T >
os::posix::device_registry< T >::device_registry ( )
delete

◆ ~device_registry()

template<typename T >
os::posix::device_registry< T >::~device_registry ( )
delete

Member Function Documentation

◆ identify_device()

template<typename T >
T * os::posix::device_registry< T >::identify_device ( const char *  path)
static

return pointer to device or nullptr if not found.

Definition at line 183 of file device-registry.h.

◆ link()

template<typename T >
void os::posix::device_registry< T >::link ( value_type device)
static

Definition at line 150 of file device-registry.h.


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