summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/frame_observer.cpp
blob: 7e4bb3e37e490b836758ab2173f8e8fde72acd9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright (c) 2013 Patrick Ruoff
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 */

#include "frame_observer.h"

//-----------------------------------------------------------------------------
FrameProvider::~FrameProvider()
{
	QMutexLocker lock(&observer_mutex);
	for (auto iter=frame_observers.begin(); iter!=frame_observers.end(); ++iter)
	{
		(*iter)->on_frame_provider_destroy();
	}
}