MvcDefObserver Class

class MvcDefObserver: public IMvcObserver

Default implementation of IMvcObserver interface

Defined in: MvcDefSbjObs.h

Class Members

virtual void OnUpdate(IMvcSubject* pSubject, IMvcMessage* pMsg)

The function reacts to notifications of change on the subject it is observing

virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void ** ppvObject)

Retrieve a pointer to an interface supported by this object.

virtual ULONG STDMETHODCALLTYPE AddRef()

Add a reference to this object.

virtual ULONG STDMETHODCALLTYPE Release()

Release a reference to this object.

virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void ** ppvObject)

Retrieve a pointer to an interface supported by this object.

virtual ULONG STDMETHODCALLTYPE AddRef()

Add a reference to this object.

virtual ULONG STDMETHODCALLTYPE Release()

Release a reference to this object.