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

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

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

Public Member Functions

 VideoTitleMessage ()
 Constructs a VideoTitleMessage object. More...
 
MessageIndex messageIndex () const
 Returns the VideoTitleMessage data message's messageIndex field's current value. More...
 
quint16 messageCount () const
 Returns the VideoTitleMessage data message's messageCount field's current value. More...
 
QString text () const
 Returns the VideoTitleMessage data message's text field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setMessageCount (const quint16 messageCount)
 Sets the messageCount field to messageCount. More...
 
void setText (const QString text)
 Sets the text field to text. 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 VideoTitleMessage class represents a FIT VideoTitleMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ VideoTitleMessage()

VideoTitleMessage::VideoTitleMessage ( )

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

◆ messageCount()

quint16 VideoTitleMessage::messageCount ( ) const

Returns the VideoTitleMessage data message's messageCount field's current value.

Total number of title parts

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

◆ messageIndex()

MessageIndex VideoTitleMessage::messageIndex ( ) const

Returns the VideoTitleMessage data message's messageIndex field's current value.

Long titles will be split into multiple parts

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

◆ setMessageCount()

void VideoTitleMessage::setMessageCount ( const quint16  messageCount)

Sets the messageCount field to messageCount.

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

◆ setMessageIndex()

void VideoTitleMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setText()

void VideoTitleMessage::setText ( const QString  text)

Sets the text field to text.

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

◆ text()

QString VideoTitleMessage::text ( ) const

Returns the VideoTitleMessage data message's text field's current value.

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

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