Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void ImageFrameSocketHandler::send_marker_time_axis_removed ( const string &  track_id,
void *  src 
)

Sends a message stating that the named marker time axis has been removed

Parameters:
track_id the unique id of the removed image frame time axis
src the identity of the object that initiated the change

Definition at line 372 of file imageframe_socket_handler.cc.

References read_result(), and send_message().

Referenced by handle_insert_marker_time_axis().

{
      if(this == src || src == 0)
      {
            // ie the change originated from us, then dont send any message back
            return ;
      }
      
      // create a message buffer
      std::ostringstream msgBuffer ;
      msgBuffer << std::setfill('0') ;
      
      // add the msg type
      msgBuffer << ardourvis::REMOVE_ITEM << ardourvis::MARKER_TIME_AXIS ;
      
      // add the id length, and the id
      msgBuffer << std::setw(3) << track_id.length() ;
      msgBuffer << track_id ;
      
      send_message(msgBuffer.str()) ;

      // XXX should do something with the return
      read_result();
}


Generated by  Doxygen 1.6.0   Back to index