 |
Verovio
Source code documentation
|
8 #ifndef __VRV_TIMESTAMP_H__
9 #define __VRV_TIMESTAMP_H__
11 #include "layerelement.h"
28 void Reset()
override;
29 std::string GetClassName()
const override {
return "timestampAttr"; }
36 double GetActualDurPos()
const {
return m_actualDurPos; }
38 void SetDrawingPos(
double pos) { m_actualDurPos = pos; }
56 FunctorCode AcceptEnd(
Functor &functor)
override;
57 FunctorCode AcceptEnd(
ConstFunctor &functor)
const override;
66 double m_actualDurPos;
Fraction GetTimestampAttrAlignmentDuration(data_DURATION meterUnit) const
Returns the duration (in Fraction) for the Timestamp.
Definition: fraction.h:19
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
This abstract class is the base class for all mutable functors.
Definition: functor.h:101
void Reset() override
Virtual reset method.
This abstract class is the base class for all const functors.
Definition: functor.h:126
Definition: timestamp.h:19
This class is a base class for the Layer (<layer>) content.
Definition: layerelement.h:46