The CameraEventMessage class represents a FIT CameraEventMessage data message.
More...
|
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
|
|
The CameraEventMessage class represents a FIT CameraEventMessage data message.
- See also
- DataMessage
◆ CameraEventMessage()
CameraEventMessage::CameraEventMessage |
( |
| ) |
|
Constructs a CameraEventMessage 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.
◆ cameraEventType()
Returns the CameraEventMessage data message's cameraEventType
field's current value.
- Returns
- the
cameraEventType
field value.
◆ cameraFileUuid()
QString CameraEventMessage::cameraFileUuid |
( |
| ) |
const |
Returns the CameraEventMessage data message's cameraFileUuid
field's current value.
- Returns
- the
cameraFileUuid
field value.
◆ cameraOrientation()
Returns the CameraEventMessage data message's cameraOrientation
field's current value.
- Returns
- the
cameraOrientation
field value.
◆ setCameraEventType()
void CameraEventMessage::setCameraEventType |
( |
const CameraEventType |
cameraEventType | ) |
|
Sets the cameraEventType
field to cameraEventType.
- Parameters
-
cameraEventType | The field value to set. |
◆ setCameraFileUuid()
void CameraEventMessage::setCameraFileUuid |
( |
const QString |
cameraFileUuid | ) |
|
Sets the cameraFileUuid
field to cameraFileUuid.
- Parameters
-
cameraFileUuid | The field value to set. |
◆ setCameraOrientation()
Sets the cameraOrientation
field to cameraOrientation.
- Parameters
-
cameraOrientation | The field value to set. |
◆ setTimestamp()
void CameraEventMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ setTimestampMs()
void CameraEventMessage::setTimestampMs |
( |
const quint16 |
timestampMs | ) |
|
Sets the timestampMs
field to timestampMs.
- Parameters
-
timestampMs | The field value to set. |
◆ timestamp()
DateTime CameraEventMessage::timestamp |
( |
| ) |
const |
Returns the CameraEventMessage data message's timestamp
field's current value.
Whole second part of the timestamp.
- Returns
- the
timestamp
field value.
◆ timestampMs()
quint16 CameraEventMessage::timestampMs |
( |
| ) |
const |
Returns the CameraEventMessage data message's timestampMs
field's current value.
Millisecond part of the timestamp.
- Returns
- the
timestampMs
field value.
The documentation for this class was generated from the following files: