|
Ardour
9.0-pre0-1950-g391fe97693
|
#include <session_event.h>
Public Types | |
| enum | Type { SetTransportSpeed , SetDefaultPlaySpeed , Locate , LocateRoll , LocateRollLocate , SetLoop , PunchIn , PunchOut , RangeStop , RangeLocate , Overwrite , OverwriteAll , Audition , SetPlayAudioRange , CancelPlayAudioRange , RealTimeOperation , AdjustPlaybackBuffering , AdjustCaptureBuffering , SetTimecodeTransmission , Skip , SetTransportMaster , StartRoll , EndRoll , TransportStateChange , SyncCues , AutoLoop } |
| enum | Action { Add , Remove , Replace , Clear } |
| typedef std::function< void(SessionEvent *)> | RTeventCallback |
Public Member Functions | |
| SessionEvent (Type t, Action a, samplepos_t when, samplepos_t where, double spd, bool yn=false, bool yn2=false, bool yn3=false) | |
| void | set_track (std::shared_ptr< Track > t) |
| bool | before (const SessionEvent &other) const |
| bool | after (const SessionEvent &other) const |
| void * | operator new (size_t) |
| void | operator delete (void *ptr, size_t) |
| PBD::CrossThreadPool * | event_pool () const |
Static Public Member Functions | |
| static bool | compare (const SessionEvent *e1, const SessionEvent *e2) |
| static bool | has_per_thread_pool () |
| static void | create_per_thread_pool (const std::string &n, uint32_t nitems) |
| static void | init_event_pool () |
| static guint | pool_available () |
Public Attributes | |
| Type | type |
| Action | action |
| samplepos_t | action_sample |
| samplepos_t | target_sample |
| double | speed |
| union { | |
| bool yes_or_no | |
| samplepos_t target2_sample | |
| OverwriteReason overwrite | |
| int32_t scene | |
| }; | |
| std::weak_ptr< Track > | track |
| union { | |
| bool second_yes_or_no | |
| double control_value | |
| LocateTransportDisposition locate_transport_disposition | |
| }; | |
| union { | |
| bool third_yes_or_no | |
| }; | |
| std::shared_ptr< AutomationControlList > | controls |
| std::shared_ptr< RouteList > | routes |
| std::function< void(void)> | rt_slot |
| RTeventCallback | rt_return |
| PBD::EventLoop * | event_loop |
| std::list< TimelineRange > | audio_range |
| std::list< TimelineRange > | music_range |
| std::shared_ptr< Region > | region |
| std::shared_ptr< TransportMaster > | transport_master |
Static Public Attributes | |
| static const samplepos_t | Immediate = -1 |
Private Attributes | |
| PBD::CrossThreadPool * | own_pool |
Static Private Attributes | |
| static PBD::PerThreadPool * | pool |
Friends | |
| class | Butler |
Definition at line 41 of file session_event.h.
| typedef std::function<void (SessionEvent*)> ARDOUR::SessionEvent::RTeventCallback |
Definition at line 109 of file session_event.h.
| Enumerator | |
|---|---|
| Add | |
| Remove | |
| Replace | |
| Clear | |
Definition at line 75 of file session_event.h.
Definition at line 43 of file session_event.h.
| ARDOUR::SessionEvent::SessionEvent | ( | Type | t, |
| Action | a, | ||
| samplepos_t | when, | ||
| samplepos_t | where, | ||
| double | spd, | ||
| bool | yn = false, |
||
| bool | yn2 = false, |
||
| bool | yn3 = false |
||
| ) |
|
inline |
Definition at line 133 of file session_event.h.
|
inline |
Definition at line 129 of file session_event.h.
|
inlinestatic |
Definition at line 137 of file session_event.h.
|
static |
|
inline |
Definition at line 151 of file session_event.h.
|
static |
|
static |
| void ARDOUR::SessionEvent::operator delete | ( | void * | ptr, |
| size_t | |||
| ) |
| void* ARDOUR::SessionEvent::operator new | ( | size_t | ) |
|
static |
|
inline |
Definition at line 125 of file session_event.h.
|
friend |
Definition at line 157 of file session_event.h.
| union { ... } |
| union { ... } |
| union { ... } |
| Action ARDOUR::SessionEvent::action |
Definition at line 83 of file session_event.h.
| samplepos_t ARDOUR::SessionEvent::action_sample |
Definition at line 84 of file session_event.h.
| std::list<TimelineRange> ARDOUR::SessionEvent::audio_range |
Definition at line 117 of file session_event.h.
| double ARDOUR::SessionEvent::control_value |
Definition at line 99 of file session_event.h.
| std::shared_ptr<AutomationControlList> ARDOUR::SessionEvent::controls |
Definition at line 111 of file session_event.h.
| PBD::EventLoop* ARDOUR::SessionEvent::event_loop |
Definition at line 115 of file session_event.h.
|
static |
Definition at line 144 of file session_event.h.
| LocateTransportDisposition ARDOUR::SessionEvent::locate_transport_disposition |
Definition at line 100 of file session_event.h.
| std::list<TimelineRange> ARDOUR::SessionEvent::music_range |
Definition at line 118 of file session_event.h.
| OverwriteReason ARDOUR::SessionEvent::overwrite |
Definition at line 91 of file session_event.h.
|
private |
Definition at line 155 of file session_event.h.
|
staticprivate |
Definition at line 154 of file session_event.h.
| std::shared_ptr<Region> ARDOUR::SessionEvent::region |
Definition at line 120 of file session_event.h.
| std::shared_ptr<RouteList> ARDOUR::SessionEvent::routes |
Definition at line 112 of file session_event.h.
| RTeventCallback ARDOUR::SessionEvent::rt_return |
Definition at line 114 of file session_event.h.
| std::function<void (void)> ARDOUR::SessionEvent::rt_slot |
Definition at line 113 of file session_event.h.
| int32_t ARDOUR::SessionEvent::scene |
Definition at line 92 of file session_event.h.
| bool ARDOUR::SessionEvent::second_yes_or_no |
Definition at line 98 of file session_event.h.
| double ARDOUR::SessionEvent::speed |
Definition at line 86 of file session_event.h.
| samplepos_t ARDOUR::SessionEvent::target2_sample |
Definition at line 90 of file session_event.h.
| samplepos_t ARDOUR::SessionEvent::target_sample |
Definition at line 85 of file session_event.h.
| bool ARDOUR::SessionEvent::third_yes_or_no |
Definition at line 104 of file session_event.h.
| std::weak_ptr<Track> ARDOUR::SessionEvent::track |
Definition at line 95 of file session_event.h.
| std::shared_ptr<TransportMaster> ARDOUR::SessionEvent::transport_master |
Definition at line 121 of file session_event.h.
| Type ARDOUR::SessionEvent::type |
Definition at line 82 of file session_event.h.
| bool ARDOUR::SessionEvent::yes_or_no |
Definition at line 89 of file session_event.h.