Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Sequence Class Reference

#include "gui/model/sequence.hpp"

Description

GUI-model representation of a sequence.

Remarks
Sequence objects are also the roots of track trees.

Definition at line 52 of file gui/model/sequence.hpp.

Public Member Functions

 Sequence ()
 
 operator lib::HashVal () const
 
std::string print_track ()
 human readable debug string representation of this track. More...
 
- Public Member Functions inherited from ParentTrack
bool can_host_children () const
 Returns true if this track can own any child tracks. More...
 
shared_ptr< ParentTrackfind_descendant_track_parent (shared_ptr< Track > child)
 A utility function that attempts to find the parent of a track by searching through the tree from this track downward. More...
 
lumiera::observable_list
< shared_ptr< Track > > & 
get_child_track_list ()
 Gets read-write access to the list of child tracks. More...
 
const list< shared_ptr< Track > > & get_child_tracks () const
 Gets a read-only reference to the the list of child tracks. More...
 
bool remove_descendant_track (const shared_ptr< Track > track)
 Tries to remove a given track from amongst the descendants of this track. More...
 
- Public Member Functions inherited from Track
virtual ~Track ()
 
const std::string get_name () const
 Gets the name of this track. More...
 
bool getEnabled () const
 Gets the enabled status of this track, i.e. More...
 
bool getLocked () const
 Gets the locked status of this track, i.e. More...
 
std::string print_branch ()
 A debugging helper function that prints this track, and all it's child tracks in a human-readable form. More...
 
void set_name (const std::string &name)
 Sets the name of this track. More...
 
void setEnabled (bool enabled)
 Sets the enabled status of this track, i.e. More...
 
void setLocked (bool locked)
 Gets the locked status of this track, i.e. More...
 
sigc::signal< void, bool > signalEnabledChanged () const
 A signal which fires when the enabled status changes. More...
 
sigc::signal< void, bool > signalLockedChanged () const
 A signal which fires when the locked status changes changes. More...
 
sigc::signal< void, std::string > signalNameChanged () const
 A signal which fires when the name changes. More...
 

Private Member Functions

void populateDummySequence ()
 

Private Attributes

lib::hash::LuidH id_
 

Additional Inherited Members

- Protected Member Functions inherited from ParentTrack
 ParentTrack ()
 Constructor. More...
 
- Protected Member Functions inherited from Track
 Track ()
 Constructor. More...
 
std::string print_branch_recursive (const unsigned int indentation)
 The internal implementation of print_branch. More...
 
- Protected Attributes inherited from ParentTrack
lumiera::observable_list
< shared_ptr< Track > > 
tracks
 The internal list of child tracks of this parent. More...
 
- Static Protected Attributes inherited from Track
static const std::list
< shared_ptr< Track > > 
NoChildren
 An object used internally as a return value for when there's no children. More...
 

Constructor & Destructor Documentation

Sequence ( )
inline

Definition at line 58 of file gui/model/sequence.hpp.

References Sequence::populateDummySequence().

+ Here is the call graph for this function:

Member Function Documentation

operator lib::HashVal ( ) const
inline

Definition at line 64 of file gui/model/sequence.hpp.

References Sequence::id_.

std::string print_track ( )
virtual

human readable debug string representation of this track.

Implements Track.

Definition at line 82 of file gui/model/sequence.cpp.

References Track::get_name().

+ Here is the call graph for this function:

void populateDummySequence ( )
private

Definition at line 45 of file gui/model/sequence.cpp.

References util::first(), Track::print_branch(), and ParentTrack::tracks.

Referenced by Sequence::Sequence().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

lib::hash::LuidH id_
private

Definition at line 55 of file gui/model/sequence.hpp.

Referenced by Sequence::operator lib::HashVal().

+ Inheritance diagram for Sequence:
+ Collaboration diagram for Sequence:

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