|
QtFit
0.1
Internal library development documentation
|
The SlaveDeviceMessage class represents a FIT SlaveDeviceMessage data message. More...
Public Member Functions | |
| SlaveDeviceMessage () | |
| Constructs a SlaveDeviceMessage object. More... | |
| Manufacturer | manufacturer () const |
Returns the SlaveDeviceMessage data message's manufacturer field's current value. More... | |
| quint16 | product () const |
Returns the SlaveDeviceMessage data message's product field's current value. More... | |
| void | setManufacturer (const Manufacturer manufacturer) |
Sets the manufacturer field to manufacturer. More... | |
| void | setProduct (const quint16 product) |
Sets the product field to product. More... | |
Public Member Functions inherited from AbstractDataMessage | |
| ~AbstractDataMessage () | |
| Destroys the AbstractDataMessage object. | |
| MesgNum | globalMessageNumber () const |
| Returns the data message's global message number. More... | |
Protected Member Functions | |
| SlaveDeviceMessage (SlaveDeviceMessagePrivate *const d) | |
Protected Member Functions inherited from AbstractDataMessage | |
| AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDataMessage | |
| static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
Protected Attributes inherited from AbstractDataMessage | |
| AbstractDataMessagePrivate *const | d_ptr |
| Internal d-pointer. | |
The SlaveDeviceMessage class represents a FIT SlaveDeviceMessage data message.
Definition at line 39 of file slavedevicemessage.h.
| SlaveDeviceMessage::SlaveDeviceMessage | ( | ) |
Constructs a SlaveDeviceMessage object.
Typically, instances of this class will be returned by FitStreamReader::readNext, but this constructor may be used, along with the relevant setter methods, to create a valid message.
Definition at line 52 of file slavedevicemessage.cpp.
|
explicitprotected |
Constructs a SlaveDeviceMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file slavedevicemessage.cpp.
| Manufacturer SlaveDeviceMessage::manufacturer | ( | ) | const |
Returns the SlaveDeviceMessage data message's manufacturer field's current value.
manufacturer field value. Definition at line 74 of file slavedevicemessage.cpp.
Referenced by setManufacturer().
| quint16 SlaveDeviceMessage::product | ( | ) | const |
Returns the SlaveDeviceMessage data message's product field's current value.
product field value. Definition at line 85 of file slavedevicemessage.cpp.
Referenced by setProduct().
| void SlaveDeviceMessage::setManufacturer | ( | const Manufacturer | manufacturer | ) |
Sets the manufacturer field to manufacturer.
| manufacturer | The field value to set. |
Definition at line 96 of file slavedevicemessage.cpp.
References manufacturer().
| void SlaveDeviceMessage::setProduct | ( | const quint16 | product | ) |
Sets the product field to product.
| product | The field value to set. |
Definition at line 106 of file slavedevicemessage.cpp.
References product().