GIFT-Grab  1708
Copyright (c) 2015-7, University College London (UCL)
iobserver.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "videoframe.h"
4 
5 namespace gg
6 {
7 
35 class IObserver
36 {
37 public:
41  virtual ~IObserver()
42  {
43 
44  }
45 
46 public:
51  virtual void update(VideoFrame & frame) = 0;
52 };
53 
54 }
Definition: broadcastdaemon.cpp:7
virtual ~IObserver()
Definition: iobserver.h:41
A class to represent a video frame.
Definition: videoframe.h:47
Every observer interested in listening to IVideoSource data must implement this interface, which defines the observer (subscriber) part of the observer design pattern (aka subscriber-publisher).
Definition: iobserver.h:35
virtual void update(VideoFrame &frame)=0