QtFit  0.1
Native Qt library for Garmin FIT format
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
CameraEventMessage Class Reference

The CameraEventMessage class represents a FIT CameraEventMessage data message. More...

Inheritance diagram for CameraEventMessage:
[legend]
Collaboration diagram for CameraEventMessage:
[legend]

Public Member Functions

 CameraEventMessage ()
 Constructs a CameraEventMessage object. More...
 
DateTime timestamp () const
 Returns the CameraEventMessage data message's timestamp field's current value. More...
 
quint16 timestampMs () const
 Returns the CameraEventMessage data message's timestampMs field's current value. More...
 
CameraEventType cameraEventType () const
 Returns the CameraEventMessage data message's cameraEventType field's current value. More...
 
QString cameraFileUuid () const
 Returns the CameraEventMessage data message's cameraFileUuid field's current value. More...
 
CameraOrientationType cameraOrientation () const
 Returns the CameraEventMessage data message's cameraOrientation field's current value. More...
 
void setTimestamp (const DateTime timestamp)
 Sets the timestamp field to timestamp. More...
 
void setTimestampMs (const quint16 timestampMs)
 Sets the timestampMs field to timestampMs. More...
 
void setCameraEventType (const CameraEventType cameraEventType)
 Sets the cameraEventType field to cameraEventType. More...
 
void setCameraFileUuid (const QString cameraFileUuid)
 Sets the cameraFileUuid field to cameraFileUuid. More...
 
void setCameraOrientation (const CameraOrientationType cameraOrientation)
 Sets the cameraOrientation field to cameraOrientation. More...
 
- Public Member Functions inherited from AbstractDataMessage
 ~AbstractDataMessage ()
 Destroys the AbstractDataMessage object.
 
MesgNum globalMessageNumber () const
 Returns the data message's global message number. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractDataMessage
static AbstractDataMessagefromData (const DataDefinition *const defn, const QByteArray &record)
 Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
 

Detailed Description

The CameraEventMessage class represents a FIT CameraEventMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ 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.

Member Function Documentation

◆ cameraEventType()

CameraEventType CameraEventMessage::cameraEventType ( ) const

Returns the CameraEventMessage data message's cameraEventType field's current value.

Returns
the cameraEventType field value.
Here is the caller graph for this function:

◆ cameraFileUuid()

QString CameraEventMessage::cameraFileUuid ( ) const

Returns the CameraEventMessage data message's cameraFileUuid field's current value.

Returns
the cameraFileUuid field value.
Here is the caller graph for this function:

◆ cameraOrientation()

CameraOrientationType CameraEventMessage::cameraOrientation ( ) const

Returns the CameraEventMessage data message's cameraOrientation field's current value.

Returns
the cameraOrientation field value.
Here is the caller graph for this function:

◆ setCameraEventType()

void CameraEventMessage::setCameraEventType ( const CameraEventType  cameraEventType)

Sets the cameraEventType field to cameraEventType.

Parameters
cameraEventTypeThe field value to set.
Here is the call graph for this function:

◆ setCameraFileUuid()

void CameraEventMessage::setCameraFileUuid ( const QString  cameraFileUuid)

Sets the cameraFileUuid field to cameraFileUuid.

Parameters
cameraFileUuidThe field value to set.
Here is the call graph for this function:

◆ setCameraOrientation()

void CameraEventMessage::setCameraOrientation ( const CameraOrientationType  cameraOrientation)

Sets the cameraOrientation field to cameraOrientation.

Parameters
cameraOrientationThe field value to set.
Here is the call graph for this function:

◆ setTimestamp()

void CameraEventMessage::setTimestamp ( const DateTime  timestamp)

Sets the timestamp field to timestamp.

Parameters
timestampThe field value to set.
Here is the call graph for this function:

◆ setTimestampMs()

void CameraEventMessage::setTimestampMs ( const quint16  timestampMs)

Sets the timestampMs field to timestampMs.

Parameters
timestampMsThe field value to set.
Here is the call graph for this function:

◆ 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.
Here is the caller graph for this function:

◆ 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.
Here is the caller graph for this function:

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