ardour
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ARDOUR::SessionEventManager Class Referenceabstract

#include <session_event.h>

Inheritance diagram for ARDOUR::SessionEventManager:
ARDOUR::Session

Public Member Functions

 SessionEventManager ()
 
virtual ~SessionEventManager ()
 
virtual void queue_event (SessionEvent *ev)=0
 
void clear_events (SessionEvent::Type type)
 
void clear_events (SessionEvent::Type type, boost::function< void(void)> after)
 

Protected Types

typedef std::list< SessionEvent * > Events
 

Protected Member Functions

void dump_events () const
 
void merge_event (SessionEvent *)
 
void replace_event (SessionEvent::Type, framepos_t action_frame, framepos_t target=0)
 
bool _replace_event (SessionEvent *)
 
bool _remove_event (SessionEvent *)
 
void _clear_event_type (SessionEvent::Type)
 
void add_event (framepos_t action_frame, SessionEvent::Type type, framepos_t target_frame=0)
 
void remove_event (framepos_t frame, SessionEvent::Type type)
 
virtual void process_event (SessionEvent *)=0
 
virtual void set_next_event ()=0
 

Protected Attributes

RingBuffer< SessionEvent * > pending_events
 
Events events
 
Events immediate_events
 
Events::iterator next_event
 
SessionEventauto_loop_event
 
SessionEventpunch_out_event
 
SessionEventpunch_in_event
 

Detailed Description

Definition at line 149 of file session_event.h.

Member Typedef Documentation

typedef std::list<SessionEvent *> ARDOUR::SessionEventManager::Events
protected

Definition at line 161 of file session_event.h.

Constructor & Destructor Documentation

ARDOUR::SessionEventManager::SessionEventManager ( )
inline

Definition at line 151 of file session_event.h.

virtual ARDOUR::SessionEventManager::~SessionEventManager ( )
inlinevirtual

Definition at line 153 of file session_event.h.

Member Function Documentation

void SessionEventManager::_clear_event_type ( SessionEvent::Type  type)
protected

Definition at line 309 of file session_events.cc.

bool SessionEventManager::_remove_event ( SessionEvent ev)
protected
Returns
true when ev is deleted.

Definition at line 281 of file session_events.cc.

bool SessionEventManager::_replace_event ( SessionEvent ev)
protected
Returns
true when ev is deleted.

Definition at line 249 of file session_events.cc.

void SessionEventManager::add_event ( framepos_t  action_frame,
SessionEvent::Type  type,
framepos_t  target_frame = 0 
)
protected

Definition at line 116 of file session_events.cc.

void SessionEventManager::clear_events ( SessionEvent::Type  type)

Definition at line 137 of file session_events.cc.

void SessionEventManager::clear_events ( SessionEvent::Type  type,
boost::function< void(void)>  after 
)

Definition at line 144 of file session_events.cc.

void SessionEventManager::dump_events ( ) const
protected

Definition at line 163 of file session_events.cc.

void SessionEventManager::merge_event ( SessionEvent ev)
protected

Definition at line 187 of file session_events.cc.

virtual void ARDOUR::SessionEventManager::process_event ( SessionEvent )
protectedpure virtual

Implemented in ARDOUR::Session.

virtual void ARDOUR::SessionEventManager::queue_event ( SessionEvent ev)
pure virtual

Implemented in ARDOUR::Session.

void SessionEventManager::remove_event ( framepos_t  frame,
SessionEvent::Type  type 
)
protected

Definition at line 123 of file session_events.cc.

void SessionEventManager::replace_event ( SessionEvent::Type  type,
framepos_t  action_frame,
framepos_t  target = 0 
)
protected

Definition at line 130 of file session_events.cc.

virtual void ARDOUR::SessionEventManager::set_next_event ( )
protectedpure virtual

Implemented in ARDOUR::Session.

Member Data Documentation

SessionEvent* ARDOUR::SessionEventManager::auto_loop_event
protected

Definition at line 168 of file session_event.h.

Events ARDOUR::SessionEventManager::events
protected

Definition at line 162 of file session_event.h.

Events ARDOUR::SessionEventManager::immediate_events
protected

Definition at line 163 of file session_event.h.

Events::iterator ARDOUR::SessionEventManager::next_event
protected

Definition at line 164 of file session_event.h.

RingBuffer<SessionEvent*> ARDOUR::SessionEventManager::pending_events
protected

Definition at line 160 of file session_event.h.

SessionEvent* ARDOUR::SessionEventManager::punch_in_event
protected

Definition at line 170 of file session_event.h.

SessionEvent* ARDOUR::SessionEventManager::punch_out_event
protected

Definition at line 169 of file session_event.h.


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