Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
EmptyNotifiable Class Reference

A Notifiable that doesn't do anything when notified. More...

#include <Notifiable.hxx>

Inheritance diagram for EmptyNotifiable:
Notifiable Destructable

Public Member Functions

void notify () override
 Drops notification to the floor.
 

Static Public Member Functions

static NotifiableDefaultInstance ()
 

Detailed Description

A Notifiable that doesn't do anything when notified.

Definition at line 98 of file Notifiable.hxx.

Member Function Documentation

◆ DefaultInstance()

Notifiable * EmptyNotifiable::DefaultInstance ( )
static
Returns
a static instance of EmptyNotifiable.
Default instance of an empty notifiable.

Definition at line 42 of file Notifiable.cxx.

◆ notify()

void EmptyNotifiable::notify ( )
inlineoverridevirtual

Drops notification to the floor.

Implements Notifiable.

Definition at line 102 of file Notifiable.hxx.


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