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

#include "gui/timeline/marker-widget.hpp"

Description

Todo:
WIP-WIP as of 12/2016

Definition at line 65 of file marker-widget.hpp.

Public Member Functions

 MarkerWidget (ID identity, ctrl::BusTerm &nexus)
 
 ~MarkerWidget ()
 
virtual void buildMutator (lib::diff::TreeMutator::Handle) override
 set up a binding to respond to mutation messages via UiBus More...
 
- Public Member Functions inherited from Tangible
virtual ~Tangible ()
 this is an interface More...
 
void clearErr ()
 invoke the hook to clear error markers More...
 
void clearMsg ()
 invoke the hook to clear notification messages More...
 
template<typename... ARGS>
void invoke (Symbol cmdID, ARGS &&...)
 
void invoke (Symbol cmdID, Rec &&arguments)
 Perform a command or action, once the execution context has been established. More...
 
template<typename... ARGS>
void invoke (Symbol cmdID, ARGS &&...args)
 convenience shortcut to issue a command with several arguments More...
 
void mark (GenNode const &)
 generic handler for all incoming "state mark" messages More...
 
void markErr (string error)
 push an error state tag to the element More...
 
void markFlash ()
 highlight the element visually to catch the user's attention More...
 
void markMsg (string message)
 push a notification (or warning) message to the element. More...
 
 operator ID () const
 
 operator LuidH () const
 
void reset ()
 invoke the generic reset hook More...
 
void slotCollapse ()
 Collapse or minimise this element and remember the collapsed state. More...
 
void slotExpand ()
 Expand this element and remember the expanded state. More...
 
void slotReveal (ID child)
 
- Public Member Functions inherited from DiffMutable
virtual ~DiffMutable ()
 this is an interface More...
 
- Public Member Functions inherited from LabelWidget
 LabelWidget ()
 
 ~LabelWidget ()
 

Private Attributes

MarkerKind kind_
 
string name_
 

Additional Inherited Members

- Public Types inherited from Tangible
using ID = ctrl::BusTerm::ID
 
using LuidH = lib::hash::LuidH
 
- Protected Types inherited from Tangible
using GenNode = lib::diff::GenNode
 
using Rec = lib::diff::Rec
 
- Protected Member Functions inherited from Tangible
 Tangible (ID identity, ctrl::BusTerm &nexus)
 
- Protected Attributes inherited from Tangible
ctrl::BusTerm uiBus_
 

Constructor & Destructor Documentation

MarkerWidget ( ID  identity,
ctrl::BusTerm nexus 
)
Parameters
identityused to refer to a corresponding marker entity in the Session
nexusa way to connect this Controller to the UI-Bus.

Definition at line 63 of file marker-widget.cpp.

Definition at line 72 of file marker-widget.cpp.

Member Function Documentation

void buildMutator ( lib::diff::TreeMutator::Handle  )
overridevirtual

set up a binding to respond to mutation messages via UiBus

Implements Tangible.

Definition at line 80 of file marker-widget.cpp.

References MarkerWidget::kind_, gui::timeline::LOOP, gui::timeline::MARK, and MarkerWidget::name_.

Member Data Documentation

MarkerKind kind_
private

Definition at line 69 of file marker-widget.hpp.

Referenced by MarkerWidget::buildMutator().

string name_
private

Definition at line 70 of file marker-widget.hpp.

Referenced by MarkerWidget::buildMutator().

+ Inheritance diagram for MarkerWidget:
+ Collaboration diagram for MarkerWidget:

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