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

void ImageFrameSocketHandler::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 
) [private]

break up am image item description message we break the mesage up into the parent Image Track id and size, the parent group id and size, and the image id and size

Parameters:
track_id 
track_id_size 
scene_id 
scene_id_size 
item_id 
item_id_size 

Definition at line 2134 of file imageframe_socket_handler.cc.

References get_message_part().

Referenced by handle_imageframe_position_lock_update(), handle_imageframe_view_duration_update(), handle_imageframe_view_max_duration_enable_update(), handle_imageframe_view_max_duration_update(), handle_imageframe_view_min_duration_enable_update(), handle_imageframe_view_min_duration_update(), handle_imageframe_view_position_update(), and handle_item_selected().

{
      // get the track Id size
      track_id_size = atoi(get_message_part(position,ardourvis::TEXT_SIZE_CHARS,msg).c_str()) ;
      position += ardourvis::TEXT_SIZE_CHARS ;
      
      // get the track id
      track_id = get_message_part(position,track_id_size,msg) ;
      position += track_id_size ;
      
      // get the track Id size
      scene_id_size = atoi(get_message_part(position,ardourvis::TEXT_SIZE_CHARS,msg).c_str()) ;
      position += ardourvis::TEXT_SIZE_CHARS ;
      
      // get the scene id
      scene_id = get_message_part(position,scene_id_size,msg) ;
      position += scene_id_size ;
      
      // get the item id size
      item_id_size = atoi(get_message_part(position,ardourvis::TEXT_SIZE_CHARS,msg).c_str()) ;
      position += ardourvis::TEXT_SIZE_CHARS ;
      
      // get the item id
      item_id = get_message_part(position,item_id_size,msg) ;
      position += item_id_size ;
}


Generated by  Doxygen 1.6.0   Back to index