Lumiera  0.pre.03
»edityourfreedom«
GroupTrack Class Reference

#include "gui/model/group-track.hpp"

Description

A class representation of a grouping of tracks.

Definition at line 44 of file group-track.hpp.

Public Member Functions

 GroupTrack ()
 Constructor. More...
 
std::string print_track ()
 Produces a 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...
 

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

◆ GroupTrack()

Constructor.

Definition at line 36 of file group-track.cpp.

Member Function Documentation

◆ print_track()

std::string print_track ( )
virtual

Produces a human readable debug string representation of this track.

Returns
Returns the human readable string.

Implements Track.

Definition at line 41 of file group-track.cpp.

References Track::get_name().

+ Here is the call graph for this function:
+ Inheritance diagram for GroupTrack:
+ Collaboration diagram for GroupTrack:

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