ardour
|
#include <test_ui.h>
Public Member Functions | |
TestUI () | |
~TestUI () | |
virtual void | do_request (TestUIRequest *) |
Public Member Functions inherited from AbstractUI< TestUIRequest > | |
AbstractUI (const std::string &name) | |
virtual | ~AbstractUI () |
void | register_thread (std::string, pthread_t, std::string, uint32_t num_requests) |
void | call_slot (EventLoop::InvalidationRecord *, const boost::function< void()> &) |
Glib::Threads::Mutex & | slot_invalidation_mutex () |
Public Member Functions inherited from BaseUI | |
BaseUI (const std::string &name) | |
virtual | ~BaseUI () |
BaseUI * | base_instance () |
Glib::RefPtr< Glib::MainLoop > | main_loop () const |
Glib::Threads::Thread * | event_loop_thread () const |
bool | caller_is_self () const |
std::string | name () const |
bool | ok () const |
void | run () |
void | quit () |
Public Member Functions inherited from PBD::EventLoop | |
EventLoop () | |
virtual | ~EventLoop () |
virtual void | call_slot (InvalidationRecord *, const boost::function< void()> &)=0 |
Private Attributes | |
TestReceiver | m_test_receiver |
Additional Inherited Members | |
Public Types inherited from PBD::EventLoop | |
enum | RequestType { range_guarantee = ~0 } |
Static Public Member Functions inherited from BaseUI | |
static RequestType | new_request_type () |
Static Public Member Functions inherited from PBD::EventLoop | |
static void * | invalidate_request (void *data) |
static EventLoop * | get_event_loop_for_thread () |
static void | set_event_loop_for_thread (EventLoop *ui) |
Public Attributes inherited from AbstractUI< TestUIRequest > | |
Glib::Threads::Mutex | request_buffer_map_lock |
Static Public Attributes inherited from BaseUI | |
static RequestType | CallSlot = BaseUI::new_request_type() |
static RequestType | Quit = BaseUI::new_request_type() |
Protected Types inherited from AbstractUI< TestUIRequest > | |
typedef RequestBuffer::rw_vector | RequestBufferVector |
typedef std::map< pthread_t, RequestBuffer * >::iterator | RequestBufferMapIterator |
typedef std::map< pthread_t, RequestBuffer * > | RequestBufferMap |
Protected Member Functions inherited from AbstractUI< TestUIRequest > | |
TestUIRequest * | get_request (RequestType) |
void | handle_ui_requests () |
void | send_request (TestUIRequest *) |
Protected Member Functions inherited from BaseUI | |
bool | signal_running () |
virtual void | thread_init () |
bool | request_handler (Glib::IOCondition) |
void | signal_new_request () |
void | attach_request_source () |
Protected Attributes inherited from AbstractUI< TestUIRequest > | |
RequestBufferMap | request_buffers |
Glib::Threads::Mutex | request_list_lock |
std::list< TestUIRequest * > | request_list |
PBD::ScopedConnection | new_thread_connection |
Protected Attributes inherited from BaseUI | |
bool | _ok |
Glib::RefPtr< Glib::MainLoop > | _main_loop |
Glib::RefPtr< Glib::MainContext > | m_context |
Glib::Threads::Thread * | run_loop_thread |
Glib::Threads::Mutex | _run_lock |
Glib::Threads::Cond | _running |
Static Protected Attributes inherited from AbstractUI< TestUIRequest > | |
static Glib::Threads::Private < RequestBuffer > | per_thread_request_buffer |
TestUI::TestUI | ( | ) |
Definition at line 34 of file test_ui.cc.
TestUI::~TestUI | ( | ) |
Definition at line 57 of file test_ui.cc.
|
virtual |
Implements AbstractUI< TestUIRequest >.
Definition at line 63 of file test_ui.cc.
|
private |