QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
FactBitset Class Reference

#include <Common.h>

+ Inheritance diagram for FactBitset:
+ Collaboration diagram for FactBitset:

Public Member Functions

 FactBitset (QObject *parent, Fact *integerFact, int offset)
 
virtual ~FactBitset ()=default
 

Additional Inherited Members

- Signals inherited from Fact
void bitmaskStringsChanged ()
 
void bitmaskValuesChanged ()
 
void enumsChanged ()
 
void sendValueChangedSignalsChanged (bool sendValueChangedSignals)
 
void valueChanged (const QVariant &value)
 This signal is only meant for use by the QT property system. It should not be connected to by client code.
 
void rawValueChanged (const QVariant &value)
 
void vehicleUpdated (const QVariant &value)
 Signalled when the param write ack comes back from the vehicle.
 
void containerRawValueChanged (const QVariant &value)
 This signal is meant for use by Fact container implementations. Used to send changed values to vehicle.
 
- Protected Member Functions inherited from Fact
QString _variantToString (const QVariant &variant, int decimalPlaces) const
 
void _sendValueChangedSignal (const QVariant &value)
 
- Protected Attributes inherited from Fact
QString _name
 
int _componentId = -1
 
QVariant _rawValue {0}
 
QRecursiveMutex _rawValueMutex
 
FactMetaData::ValueType_t _type = FactMetaData::valueTypeInt32
 
FactMetaData_metaData = nullptr
 
bool _sendValueChangedSignals = true
 
bool _deferredValueChangeSignal = false
 
FactValueSliderListModel_valueSliderModel = nullptr
 
- Static Protected Attributes inherited from Fact
static constexpr const char * kMissingMetadata = "Meta data pointer missing"
 

Detailed Description

Fact to show a specific bit in a bitset (integer fact) as boolean option

Definition at line 37 of file Common.h.

Constructor & Destructor Documentation

◆ FactBitset()

FactBitset::FactBitset ( QObject *  parent,
Fact integerFact,
int  offset 
)

Definition at line 24 of file Common.cc.

References Fact::rawValueChanged().

◆ ~FactBitset()

virtual FactBitset::~FactBitset ( )
virtualdefault

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