Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
AssetFilterOutput Class Reference

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)
 
AssetFilterOutputFormatoutFormat ()
 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
 

Detailed Description

Class that determines the output method and data of an asset that passed the filter.

Constructor & Destructor Documentation

◆ AssetFilterOutput()

AssetFilterOutput::AssetFilterOutput ( uint8_t *  data)
inline

Member Function Documentation

◆ hasInFormat()

bool AssetFilterOutput::hasInFormat ( )

Returns true if inFormat() is safe to use.

◆ inFormat()

AssetFilterInput AssetFilterOutput::inFormat ( )

Get the input format.

Currently only valid if type is assetId. Do not use for other output types!

◆ isValid()

bool AssetFilterOutput::isValid ( )

Checks if the data has valid values.

◆ length()

size_t AssetFilterOutput::length ( )

Get the expected length of this class, depends on type.

◆ outFormat()

AssetFilterOutputFormat * AssetFilterOutput::outFormat ( )

Get the type of output.

Member Data Documentation

◆ _data

uint8_t* AssetFilterOutput::_data

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