44 this->parent = parent;
48 QStringList modesBitField;
49 modesBitField << tr(
"FlightReadOnly") << tr(
"GCSReadOnly") << tr(
"FlightTelemetryAcked")
50 << tr(
"GCSTelemetryAcked") << tr(
"FlightUpdatePeriodic")
51 << tr(
"FlightUpdateOnChange") << tr(
"GCSUpdatePeriodic")
52 << tr(
"GCSUpdateOnChange");
56 fields.append(
new UAVObjectField(tr(
"Flight Telemetry Update Period"), tr(
"ms"),
58 fields.append(
new UAVObjectField(tr(
"GCS Telemetry Update Period"), tr(
"ms"),
109 parentMetadata = mdata;
119 return parentMetadata;
void initializeFields(QList< UAVObjectField * > &fields, quint8 *data, quint32 numBytes)
virtual Metadata getDefaultMetadata()=0
void objectUpdatedAuto(UAVObject *obj)
objectUpdatedAuto: triggered on "setData" only (Object data updated by changing the data structure) ...
UAVObject * getParentObject()
void setData(const Metadata &mdata)
QList< UAVObjectField * > fields
void objectUpdated(UAVObject *obj)
Signal sent whenever any field of the object is updated.
Metadata getDefaultMetadata()
void initialize(quint32 instID)
UAVMetaObject(quint32 objID, const QString &name, UAVObject *parent)
void setMetadata(const Metadata &mdata)
static void MetadataInitialize(Metadata &meta)