LMMS
Loading...
Searching...
No Matches
lmms::JournallingObject Class Reference

#include <JournallingObject.h>

Inheritance diagram for lmms::JournallingObject:
lmms::SerializingObject lmms::AutomatableModel lmms::Clip lmms::Controller lmms::ControllerConnection lmms::EffectControls lmms::EnvelopeAndLfoParameters lmms::InstrumentFunctionArpeggio lmms::InstrumentFunctionNoteStacking lmms::InstrumentSoundShaping lmms::LadspaControl lmms::Microtuner lmms::Mixer lmms::Plugin lmms::Timeline lmms::Track lmms::TrackContainer lmms::VstPlugin lmms::gui::AutomationEditor lmms::gui::TrackContainerView lmms::gui::TrackContentWidget lmms::gui::TrackView

Public Member Functions

 JournallingObject ()
 ~JournallingObject () override
jo_id_t id () const
void saveJournallingState (const bool newState)
void restoreJournallingState ()
void addJournalCheckPoint ()
QDomElement saveState (QDomDocument &_doc, QDomElement &_parent) override
void restoreState (const QDomElement &_this) override
bool isJournalling () const
void setJournalling (const bool _sr)
bool testAndSetJournalling (const bool newState)
bool isJournallingStateStackEmpty () const
Public Member Functions inherited from lmms::SerializingObject
 SerializingObject ()
virtual ~SerializingObject ()
virtual QString nodeName () const =0
void setHook (SerializingObjectHook *_hook)
SerializingObjectHookhook ()

Protected Member Functions

void changeID (jo_id_t _id)
Protected Member Functions inherited from lmms::SerializingObject
virtual void saveSettings (QDomDocument &doc, QDomElement &element)=0
virtual void loadSettings (const QDomElement &element)=0

Private Attributes

jo_id_t m_id
bool m_journalling
QStack< bool > m_journallingStateStack

Constructor & Destructor Documentation

◆ JournallingObject()

lmms::JournallingObject::JournallingObject ( )

◆ ~JournallingObject()

lmms::JournallingObject::~JournallingObject ( )
override

Member Function Documentation

◆ addJournalCheckPoint()

void lmms::JournallingObject::addJournalCheckPoint ( )

◆ changeID()

void lmms::JournallingObject::changeID ( jo_id_t _id)
protected

◆ id()

jo_id_t lmms::JournallingObject::id ( ) const
inline

◆ isJournalling()

bool lmms::JournallingObject::isJournalling ( ) const
inline

◆ isJournallingStateStackEmpty()

bool lmms::JournallingObject::isJournallingStateStackEmpty ( ) const
inline

◆ restoreJournallingState()

void lmms::JournallingObject::restoreJournallingState ( )
inline

◆ restoreState()

void lmms::JournallingObject::restoreState ( const QDomElement & _this)
overridevirtual

Reimplemented from lmms::SerializingObject.

◆ saveJournallingState()

void lmms::JournallingObject::saveJournallingState ( const bool newState)
inline

◆ saveState()

QDomElement lmms::JournallingObject::saveState ( QDomDocument & _doc,
QDomElement & _parent )
overridevirtual

Reimplemented from lmms::SerializingObject.

◆ setJournalling()

void lmms::JournallingObject::setJournalling ( const bool _sr)
inline

◆ testAndSetJournalling()

bool lmms::JournallingObject::testAndSetJournalling ( const bool newState)
inline

Member Data Documentation

◆ m_id

jo_id_t lmms::JournallingObject::m_id
private

◆ m_journalling

bool lmms::JournallingObject::m_journalling
private

◆ m_journallingStateStack

QStack<bool> lmms::JournallingObject::m_journallingStateStack
private

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