nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
Nrf::DeviceFactory< T, DeviceType, Args > Class Template Reference

#include <bridge_util.h>

Public Types

using ConcreteDeviceCreator = std::function<T *(Args...)>
 
using CreationMap = std::map<DeviceType, ConcreteDeviceCreator>
 

Public Member Functions

 DeviceFactory (std::initializer_list< std::pair< DeviceType, ConcreteDeviceCreator > > init)
 
 DeviceFactory ()=delete
 
 DeviceFactory (const DeviceFactory &)=delete
 
 DeviceFactory (DeviceFactory &&)=delete
 
DeviceFactoryoperator= (const DeviceFactory &)=delete
 
DeviceFactoryoperator= (DeviceFactory &&)=delete
 
 ~DeviceFactory ()=default
 
T * Create (DeviceType deviceType, Args... params)
 

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