Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
Class that determines the output method and data of an asset that passed the filter. More...
#include <cs_AssetFilterPacketAccessors.h>
Public Member Functions | |
AssetFilterOutput (uint8_t *data) | |
AssetFilterOutputFormat * | outFormat () |
Get the type of output. More... | |
AssetFilterInput | inFormat () |
Get the input format. More... | |
bool | hasInFormat () |
Returns true if inFormat() is safe to use. More... | |
bool | isValid () |
Checks if the data has valid values. More... | |
size_t | length () |
Get the expected length of this class, depends on type. More... | |
Public Attributes | |
uint8_t * | _data |
Class that determines the output method and data of an asset that passed the filter.
|
inline |
bool AssetFilterOutput::hasInFormat | ( | ) |
Returns true if inFormat() is safe to use.
AssetFilterInput AssetFilterOutput::inFormat | ( | ) |
Get the input format.
Currently only valid if type is assetId. Do not use for other output types!
bool AssetFilterOutput::isValid | ( | ) |
Checks if the data has valid values.
size_t AssetFilterOutput::length | ( | ) |
Get the expected length of this class, depends on type.
AssetFilterOutputFormat * AssetFilterOutput::outFormat | ( | ) |
Get the type of output.
uint8_t* AssetFilterOutput::_data |