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

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

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

Public Member Functions

 VideoClipMessage ()
 Constructs a VideoClipMessage object. More...
 
quint16 clipNumber () const
 Returns the VideoClipMessage data message's clipNumber field's current value. More...
 
DateTime startTimestamp () const
 Returns the VideoClipMessage data message's startTimestamp field's current value. More...
 
quint16 startTimestampMs () const
 Returns the VideoClipMessage data message's startTimestampMs field's current value. More...
 
DateTime endTimestamp () const
 Returns the VideoClipMessage data message's endTimestamp field's current value. More...
 
quint16 endTimestampMs () const
 Returns the VideoClipMessage data message's endTimestampMs field's current value. More...
 
quint32 clipStart () const
 Returns the VideoClipMessage data message's clipStart field's current value. More...
 
quint32 clipEnd () const
 Returns the VideoClipMessage data message's clipEnd field's current value. More...
 
void setClipNumber (const quint16 clipNumber)
 Sets the clipNumber field to clipNumber. More...
 
void setStartTimestamp (const DateTime startTimestamp)
 Sets the startTimestamp field to startTimestamp. More...
 
void setStartTimestampMs (const quint16 startTimestampMs)
 Sets the startTimestampMs field to startTimestampMs. More...
 
void setEndTimestamp (const DateTime endTimestamp)
 Sets the endTimestamp field to endTimestamp. More...
 
void setEndTimestampMs (const quint16 endTimestampMs)
 Sets the endTimestampMs field to endTimestampMs. More...
 
void setClipStart (const quint32 clipStart)
 Sets the clipStart field to clipStart. More...
 
void setClipEnd (const quint32 clipEnd)
 Sets the clipEnd field to clipEnd. 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 VideoClipMessage class represents a FIT VideoClipMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ VideoClipMessage()

VideoClipMessage::VideoClipMessage ( )

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

◆ clipEnd()

quint32 VideoClipMessage::clipEnd ( ) const

Returns the VideoClipMessage data message's clipEnd field's current value.

End of clip in video time

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

◆ clipNumber()

quint16 VideoClipMessage::clipNumber ( ) const

Returns the VideoClipMessage data message's clipNumber field's current value.

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

◆ clipStart()

quint32 VideoClipMessage::clipStart ( ) const

Returns the VideoClipMessage data message's clipStart field's current value.

Start of clip in video time

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

◆ endTimestamp()

DateTime VideoClipMessage::endTimestamp ( ) const

Returns the VideoClipMessage data message's endTimestamp field's current value.

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

◆ endTimestampMs()

quint16 VideoClipMessage::endTimestampMs ( ) const

Returns the VideoClipMessage data message's endTimestampMs field's current value.

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

◆ setClipEnd()

void VideoClipMessage::setClipEnd ( const quint32  clipEnd)

Sets the clipEnd field to clipEnd.

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

◆ setClipNumber()

void VideoClipMessage::setClipNumber ( const quint16  clipNumber)

Sets the clipNumber field to clipNumber.

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

◆ setClipStart()

void VideoClipMessage::setClipStart ( const quint32  clipStart)

Sets the clipStart field to clipStart.

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

◆ setEndTimestamp()

void VideoClipMessage::setEndTimestamp ( const DateTime  endTimestamp)

Sets the endTimestamp field to endTimestamp.

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

◆ setEndTimestampMs()

void VideoClipMessage::setEndTimestampMs ( const quint16  endTimestampMs)

Sets the endTimestampMs field to endTimestampMs.

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

◆ setStartTimestamp()

void VideoClipMessage::setStartTimestamp ( const DateTime  startTimestamp)

Sets the startTimestamp field to startTimestamp.

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

◆ setStartTimestampMs()

void VideoClipMessage::setStartTimestampMs ( const quint16  startTimestampMs)

Sets the startTimestampMs field to startTimestampMs.

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

◆ startTimestamp()

DateTime VideoClipMessage::startTimestamp ( ) const

Returns the VideoClipMessage data message's startTimestamp field's current value.

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

◆ startTimestampMs()

quint16 VideoClipMessage::startTimestampMs ( ) const

Returns the VideoClipMessage data message's startTimestampMs field's current value.

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

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