#include <posix/app/chilictl/common/DeviceList.hpp>
◆ DeviceListFilter()
ca::DeviceListFilter::DeviceListFilter |
( |
| ) |
|
|
inline |
◆ AddSerialNo()
void ca::DeviceListFilter::AddSerialNo |
( |
const char * |
aSerialNo | ) |
|
|
inline |
Add serial number to filter.
If none are added then there is no filter. If multiple are added, then the filter passes if any match.
- Parameters
-
aSerialNo | The desired serial number |
◆ ClearAvailable()
void ca::DeviceListFilter::ClearAvailable |
( |
| ) |
|
|
inline |
Disable the available filter.
◆ IsFilterPass()
bool ca::DeviceListFilter::IsFilterPass |
( |
const DeviceInfo & |
aDeviceInfo | ) |
const |
Run the filter on the given DeviceInfo.
- Parameters
-
- Returns
- True if aDeviceInfo passes the filter, False if it should be filtered out
◆ SetAppName()
void ca::DeviceListFilter::SetAppName |
( |
const char * |
aAppName | ) |
|
|
inline |
Set the app name filter.
An empty string means no filter.
- Parameters
-
aAppName | The desired app name |
◆ SetAvailable()
void ca::DeviceListFilter::SetAvailable |
( |
bool |
aTarget | ) |
|
|
inline |
Enable the 'available' filter and set the parameters.
- Parameters
-
aTarget | The desired value of 'Available' in the results. |
◆ SetExtFlashAvailable()
void ca::DeviceListFilter::SetExtFlashAvailable |
( |
bool |
aTarget | ) |
|
|
inline |
Enable the 'ext-flash-available' filter and set the parameters.
- Parameters
-
aTarget | The desired value of 'ExtFlashAvailable' in the results. |
◆ SetMinVersion()
void ca::DeviceListFilter::SetMinVersion |
( |
const char * |
aMinVersion | ) |
|
|
inline |
◆ DeviceList
The documentation for this class was generated from the following files: