Logo Search packages:      
Sourcecode: ardour version File versions

ImageFrameSocketHandler Class Reference

#include <imageframe_socket_handler.h>

Inheritance diagram for ImageFrameSocketHandler:

sigc::trackable

List of all members.


Detailed Description

ImageFrameSocketHandler defines the handler between Ardour and an Image Compositor As this is purely visual, we do all processing within the main gtk loop via message passing through a socket.

Definition at line 39 of file imageframe_socket_handler.h.


Public Member Functions

void close_connection ()
bool connect (const char *hostIp, int32_t port)
int get_gdk_input_tag ()
int get_socket_descriptor ()
 ImageFrameSocketHandler (PublicEditor &ed)
bool is_connected ()
void send_imageframe_time_axis_group_removed (const string &group_id, void *src, ImageFrameTimeAxisGroup *group)
void send_imageframe_time_axis_group_renamed (const string &new_id, const string &old_id, void *src, ImageFrameTimeAxisGroup *group)
void send_imageframe_time_axis_removed (const string &track_id, void *src)
void send_imageframe_time_axis_renamed (const string &new_id, const string &old_id, void *src, ImageFrameTimeAxis *time_axis)
void send_imageframe_view_duration_change (nframes_t dur, void *src, ImageFrameView *item)
void send_imageframe_view_position_change (nframes_t pos, void *src, ImageFrameView *item)
void send_imageframe_view_removed (const string &item_id, void *src, ImageFrameView *item)
void send_imageframe_view_renamed (const string &new_id, const string &old_id, void *src, ImageFrameView *item)
void send_marker_time_axis_removed (const string &track_id, void *src)
void send_marker_time_axis_renamed (const string &new_id, const string &old_id, void *src, MarkerTimeAxis *time_axis)
void send_marker_view_duration_change (nframes_t dur, void *src, MarkerView *item)
void send_marker_view_position_change (nframes_t pos, void *src, MarkerView *item)
void send_marker_view_removed (const string &item_id, void *src, MarkerView *item)
void send_marker_view_renamed (const string &new_id, const string &old_id, void *src, MarkerView *item)
void set_gdk_input_tag (int tag)
virtual ~ImageFrameSocketHandler ()

Static Public Member Functions

static ImageFrameSocketHandlerget_instance ()
static void image_socket_callback (void *arg, int32_t fd, GdkInputCondition cond)

Public Attributes

sigc::signal< void > CompositorSocketError
sigc::signal< void > CompositorSocketShutdown

Package Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
void notify_callbacks ()
 Execute and remove all previously installed callbacks.
void remove_destroy_notify_callback (void *data) const

Package Attributes

 __pad0__:func_destroy_notify func_destroy_notify

Private Member Functions

void compose_imageframe_item_desc (ImageFrameView *ifv, std::ostringstream &buffer)
void compose_marker_item_desc (MarkerView *mv, std::ostringstream &buffer)
void decompose_imageframe_item_desc (const char *msg, int &position, std::string &track_id, int &track_id_size, std::string &scene_id, int &scene_id_size, std::string &item_id, int &item_id_size)
ImageFrameViewget_imageframe_view_from_desc (const string &track_id, const string &group_ud, const string &item_id, int &errcode, std::string &errmsg)
std::string get_message_part (int start, int32_t num_chars, const char *msg)
void handle_closed_session (const char *msg)
void handle_imageframe_position_lock_update (const char *msg)
void handle_imageframe_view_duration_update (const char *msg)
void handle_imageframe_view_max_duration_enable_update (const char *msg)
void handle_imageframe_view_max_duration_update (const char *msg)
void handle_imageframe_view_min_duration_enable_update (const char *msg)
void handle_imageframe_view_min_duration_update (const char *msg)
void handle_imageframe_view_position_update (const char *msg)
void handle_insert_imageframe_group (const char *msg)
void handle_insert_imageframe_time_axis (const char *msg)
void handle_insert_imageframe_view (const char *msg)
void handle_insert_marker_time_axis (const char *msg)
void handle_insert_marker_view (const char *msg)
void handle_insert_message (const char *msg)
void handle_item_selected (const char *msg)
void handle_item_update_message (const char *msg)
void handle_marker_view_duration_update (const char *msg)
void handle_marker_view_max_duration_update (const char *msg)
void handle_marker_view_min_duration_update (const char *msg)
void handle_marker_view_position_lock_update (const char *msg)
void handle_marker_view_position_update (const char *msg)
void handle_open_session (const char *msg)
void handle_remove_imageframe_time_axis (const char *msg)
void handle_remove_imageframe_time_axis_group (const char *msg)
void handle_remove_imageframe_view (const char *msg)
void handle_remove_marker_time_axis (const char *msg)
void handle_remove_marker_view (const char *msg)
void handle_remove_message (const char *msg)
void handle_rename_imageframe_time_axis (const char *msg)
void handle_rename_imageframe_time_axis_group (const char *msg)
void handle_rename_imageframe_view (const char *msg)
void handle_rename_marker_time_axis (const char *msg)
void handle_rename_marker_view (const char *msg)
void handle_rename_message (const char *msg)
void handle_request_data (const char *msg)
void handle_session_action (const char *msg)
void handle_session_name_request (const char *msg)
void handle_shutdown (const char *msg)
int read_message (std::string &msg)
bool read_result ()
int send_message (const string &msg)
void send_return_failure (const std::string &msg)
void send_return_success ()

Static Private Member Functions

static ImageFrameSocketHandlercreate_instance (PublicEditor &ed)

Private Attributes

int theArdourToCompositorSocket
int theGdkInputTag
PublicEditor & thePublicEditor

Static Private Attributes

static ImageFrameSocketHandler_instance = 0

Friends

class Editor

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

Generated by  Doxygen 1.6.0   Back to index