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

Class that contains all persisted metadata required for an asset filter: More...

#include <cs_AssetFilterPacketAccessors.h>

Public Member Functions

 AssetFilterMetadata (uint8_t *data)
 
AssetFilterTypefilterType ()
 Get the type of filter. More...
 
asset_filter_flags_tflags ()
 Get the flags. More...
 
uint8_t * profileId ()
 Get the associated profile ID. More...
 
AssetFilterInput inputType ()
 Get the input class. More...
 
AssetFilterOutput outputType ()
 Get the output class. More...
 
bool isValid ()
 Checks if the data has valid values. More...
 
size_t length ()
 Get the expected length of this class. More...
 

Public Attributes

uint8_t * _data
 

Detailed Description

Class that contains all persisted metadata required for an asset filter:

  • Type of filter.
  • Flags.
  • What profile ID this filter is associated with.
  • What data is used as input for the filter.
  • What the output should be.

Constructor & Destructor Documentation

◆ AssetFilterMetadata()

AssetFilterMetadata::AssetFilterMetadata ( uint8_t *  data)
inline

Member Function Documentation

◆ filterType()

AssetFilterType * AssetFilterMetadata::filterType ( )

Get the type of filter.

◆ flags()

asset_filter_flags_t * AssetFilterMetadata::flags ( )

Get the flags.

◆ inputType()

AssetFilterInput AssetFilterMetadata::inputType ( )

Get the input class.

◆ isValid()

bool AssetFilterMetadata::isValid ( )

Checks if the data has valid values.

◆ length()

size_t AssetFilterMetadata::length ( )

Get the expected length of this class.

◆ outputType()

AssetFilterOutput AssetFilterMetadata::outputType ( )

Get the output class.

◆ profileId()

uint8_t * AssetFilterMetadata::profileId ( )

Get the associated profile ID.

Member Data Documentation

◆ _data

uint8_t* AssetFilterMetadata::_data

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