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

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

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

Public Member Functions

 VideoFrameMessage ()
 Constructs a VideoFrameMessage object. More...
 
DateTime timestamp () const
 Returns the VideoFrameMessage data message's timestamp field's current value. More...
 
quint16 timestampMs () const
 Returns the VideoFrameMessage data message's timestampMs field's current value. More...
 
quint32 frameNumber () const
 Returns the VideoFrameMessage data message's frameNumber 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 setFrameNumber (const quint32 frameNumber)
 Sets the frameNumber field to frameNumber. 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 VideoFrameMessage class represents a FIT VideoFrameMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ VideoFrameMessage()

VideoFrameMessage::VideoFrameMessage ( )

Constructs a VideoFrameMessage 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

◆ frameNumber()

quint32 VideoFrameMessage::frameNumber ( ) const

Returns the VideoFrameMessage data message's frameNumber field's current value.

Number of the frame that the timestamp and timestamp_ms correlate to

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

◆ setFrameNumber()

void VideoFrameMessage::setFrameNumber ( const quint32  frameNumber)

Sets the frameNumber field to frameNumber.

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

◆ setTimestamp()

void VideoFrameMessage::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 VideoFrameMessage::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 VideoFrameMessage::timestamp ( ) const

Returns the VideoFrameMessage 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 VideoFrameMessage::timestampMs ( ) const

Returns the VideoFrameMessage 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: