Virgil IoT KIT
Public Types | Public Member Functions
VSQFeatures Class Reference

Virgil IoT Kit framework enabled features. More...

#include <VSQFeatures.h>

Public Types

enum  EFeature { SNAP_INFO_CLIENT, SNAP_SNIFFER }
 Features enumeration. More...
 
using TSet = QSet< EFeature >
 Features set. More...
 

Public Member Functions

VSQFeaturesoperator<< (EFeature feature)
 Add feature. More...
 
const TSetfeaturesSet () const
 Get features set. More...
 
bool hasFeature (EFeature feature) const
 Test feature. More...
 
bool hasSnap () const
 Test snap feature. More...
 

Detailed Description

Virgil IoT Kit framework enabled features.

Initialize this class and use it for VSQIoTKitFacade::init call.

Member Typedef Documentation

◆ TSet

using VSQFeatures::TSet = QSet<EFeature>

Features set.

Member Enumeration Documentation

◆ EFeature

Features enumeration.

Enumerator
SNAP_INFO_CLIENT 

INFO client service.

SNAP_SNIFFER 

Snap sniffer.

Member Function Documentation

◆ featuresSet()

const TSet& VSQFeatures::featuresSet ( ) const
inline

Get features set.

Returns
Features set

◆ hasFeature()

bool VSQFeatures::hasFeature ( EFeature  feature) const
inline

Test feature.

This function checks that feature is present in the features set

Parameters
featureFeature to check
Returns
true if feature is present in the set
Here is the caller graph for this function:

◆ hasSnap()

bool VSQFeatures::hasSnap ( ) const
inline

Test snap feature.

Returns
true if snap feature is present in the set
Here is the call graph for this function:

◆ operator<<()

VSQFeatures& VSQFeatures::operator<< ( EFeature  feature)
inline

Add feature.

Use this function to add feature to the list

Parameters
featureFeature to enable
Returns
Reference to the VSQFeatures instance

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