SVCS - English Documentation
Loading...
Searching...
No Matches
svcs::test::core::NullObserver Class Reference

Null implementation of IObserver. More...

Inheritance diagram for svcs::test::core::NullObserver:
svcs::services::IObserver

Public Member Functions

void update (const Event &event) override
 Method called by the Subject to update the observer.
void notify (const Event &event) override
 Method called by the Subject to notify the observer.
Public Member Functions inherited from svcs::services::IObserver
virtual ~IObserver ()=default
 Default virtual destructor.

Detailed Description

Null implementation of IObserver.

  • Used primarily to satisfy the IObserver interface requirements if needed by other components, but not directly used for checking events in these ObjectStorage tests.

Member Function Documentation

◆ notify()

void svcs::test::core::NullObserver::notify ( const Event & event)
inlineoverridevirtual

Method called by the Subject to notify the observer.

Parameters
eventThe Event structure containing information about the occurrence.
Deprecated
Note: This method appears redundant with update(const Event& event).

Implements svcs::services::IObserver.

◆ update()

void svcs::test::core::NullObserver::update ( const Event & event)
inlineoverridevirtual

Method called by the Subject to update the observer.

Parameters
eventThe Event structure containing information about the occurrence.

Implements svcs::services::IObserver.


The documentation for this class was generated from the following file: