flux sdk  v01.05.00-6-g190c94c
Embedded C++ SDK
Loading...
Searching...
No Matches
flxOptEnableDevice.h File Reference
#include "flxCoreParam.h"
#include "flxFlux.h"
#include <functional>

Classes

struct  flxObjFactoryArgsBase< T >
 
struct  flxObjFactoryArgs< T, Args >
 
class  flxOptEnableDevice< T >
 

Detailed Description

A template that creates an "Action" that enables/disables a device driver.

The resultant action does the following:

  • Exposes an enable/disable property
  • Creates/Destroys the provided device when it's enabled/disabled
  • Adds/removes the device to/from the system

This is handy to manage the availability of a device driver in the active system.