nifti_user/ocu/src/InFieldPicsManager.cpp
void InFieldPicsManager::onNewInFieldPicMsgReceived(const EXIFReader_msgs::AnnotatedPicture* picture)
            {
                boost::mutex::scoped_lock lock(mutexNewROSMessages);

                newPictures.push(eu::nifti::misc::nifti_pics_server_util::AnnotatedPicUtil::cloneAnnotatedPicture(picture));
                conditionNewROSMessages.notify_one();
            }
/**
             * Upon the reception of a new picture, it just gets enqueued for processing by the worker thread
             * @param picture
             */
Upon the reception of a new picture, it just gets enqueued for processing by the worker thread
@param picture
Upon the reception of a new picture it just gets enqueued for processing by the worker thread @param picture
void InFieldPicsManager::onNewInFieldPicMsgReceived(const EXIFReader_msgs::AnnotatedPicture* picture)
            {
                boost::mutex::scoped_lock lock(mutexNewROSMessages);
                newPictures.push(eu::nifti::misc::nifti_pics_server_util::AnnotatedPicUtil::cloneAnnotatedPicture(picture));
                conditionNewROSMessages.notify_one();
            }
void InFieldPicsManager :: onNewInFieldPicMsgReceived ( const EXIFReader_msgs :: AnnotatedPicture * picture ) { boost :: mutex :: scoped_lock lock ( mutexNewROSMessages ) ; newPictures . push ( eu :: nifti :: misc :: nifti_pics_server_util :: AnnotatedPicUtil :: cloneAnnotatedPicture ( picture ) ) ; conditionNewROSMessages . notify_one ( ) ; }
Upon the reception of a new picture, it just gets enqueued for processing by the worker thread
 @param picture
Upon the reception of a new picture it just gets enqueued for processing by the worker thread @param picture