QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CadenceZoneMessage Class Reference

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

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

Public Member Functions

 CadenceZoneMessage ()
 Constructs a CadenceZoneMessage object. More...
 
MessageIndex messageIndex () const
 Returns the CadenceZoneMessage data message's messageIndex field's current value. More...
 
quint8 highValue () const
 Returns the CadenceZoneMessage data message's highValue field's current value. More...
 
QString name () const
 Returns the CadenceZoneMessage data message's name field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setHighValue (const quint8 highValue)
 Sets the highValue field to highValue. More...
 
void setName (const QString name)
 Sets the name field to name. More...
 
- Public Member Functions inherited from AbstractDataMessage
 ~AbstractDataMessage ()
 Destroys the AbstractDataMessage object.
 
MesgNum globalMessageNumber () const
 Returns the data message's global message number. More...
 

Protected Member Functions

 CadenceZoneMessage (CadenceZoneMessagePrivate *const d)
 
- Protected Member Functions inherited from AbstractDataMessage
 AbstractDataMessage (AbstractDataMessagePrivate *const d)
 

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...
 
- Protected Attributes inherited from AbstractDataMessage
AbstractDataMessagePrivate *const d_ptr
 Internal d-pointer.
 

Detailed Description

The CadenceZoneMessage class represents a FIT CadenceZoneMessage data message.

See also
DataMessage

Definition at line 39 of file cadencezonemessage.h.

Constructor & Destructor Documentation

◆ CadenceZoneMessage() [1/2]

CadenceZoneMessage::CadenceZoneMessage ( )

Constructs a CadenceZoneMessage 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.

Definition at line 52 of file cadencezonemessage.cpp.

53 {
54 
55 }
The AbstractDataMessage class is the polymorphic base class for all FIT Data Message classes.

◆ CadenceZoneMessage() [2/2]

CadenceZoneMessage::CadenceZoneMessage ( CadenceZoneMessagePrivate *const  d)
explicitprotected

Constructs a CadenceZoneMessage object with private implementation d.

Parameters
dPointer to private implementation.

Definition at line 64 of file cadencezonemessage.cpp.

65 {
66 
67 }

Member Function Documentation

◆ highValue()

quint8 CadenceZoneMessage::highValue ( ) const

Returns the CadenceZoneMessage data message's highValue field's current value.

Returns
the highValue field value.

Definition at line 85 of file cadencezonemessage.cpp.

86 {
87  Q_D(const CadenceZoneMessage);
88  return d->highValue;
89 }
The CadenceZoneMessage class represents a FIT CadenceZoneMessage data message.

Referenced by setHighValue().

Here is the caller graph for this function:

◆ messageIndex()

MessageIndex CadenceZoneMessage::messageIndex ( ) const

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

Returns
the messageIndex field value.

Definition at line 74 of file cadencezonemessage.cpp.

75 {
76  Q_D(const CadenceZoneMessage);
77  return d->messageIndex;
78 }

Referenced by setMessageIndex().

Here is the caller graph for this function:

◆ name()

QString CadenceZoneMessage::name ( ) const

Returns the CadenceZoneMessage data message's name field's current value.

Returns
the name field value.

Definition at line 96 of file cadencezonemessage.cpp.

97 {
98  Q_D(const CadenceZoneMessage);
99  return d->name;
100 }

Referenced by setName().

Here is the caller graph for this function:

◆ setHighValue()

void CadenceZoneMessage::setHighValue ( const quint8  highValue)

Sets the highValue field to highValue.

Parameters
highValueThe field value to set.

Definition at line 117 of file cadencezonemessage.cpp.

118 {
119  Q_D(CadenceZoneMessage);
120  d->highValue = highValue;
121 }
quint8 highValue() const
Returns the CadenceZoneMessage data message's highValue field's current value.

References highValue().

Here is the call graph for this function:

◆ setMessageIndex()

void CadenceZoneMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

Parameters
messageIndexThe field value to set.

Definition at line 107 of file cadencezonemessage.cpp.

108 {
109  Q_D(CadenceZoneMessage);
110  d->messageIndex = messageIndex;
111 }
MessageIndex messageIndex() const
Returns the CadenceZoneMessage data message's messageIndex field's current value.

References messageIndex().

Here is the call graph for this function:

◆ setName()

void CadenceZoneMessage::setName ( const QString  name)

Sets the name field to name.

Parameters
nameThe field value to set.

Definition at line 127 of file cadencezonemessage.cpp.

128 {
129  Q_D(CadenceZoneMessage);
130  d->name = name;
131 }
QString name() const
Returns the CadenceZoneMessage data message's name field's current value.

References name().

Here is the call graph for this function:

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