OpenCPN Partial API docs
Loading...
Searching...
No Matches
obs::KeyProvider Interface Referenceabstract

Interface implemented by classes which listens. More...

#include "observable.h"

Inheritance diagram for obs::KeyProvider:
AppMsg NavMsg RawKey RawKey obs::Observable AisData BasicNavDataMsg CustomMsg DataPrioNeeded GPSWatchdogMsg GnssFix NotificationMsg AppNavMsg Nmea0183Msg Nmea2000Msg NullNavMsg PluginMsg SignalkMsg obs::ConfigVar< T > obs::EventVar obs::GlobalVar< T >

Public Member Functions

virtual std::string GetKey () const =0
 Return string used by Notify() and Listen().
 

Detailed Description

Interface implemented by classes which listens.

The string returned must be stable and unique.

Definition at line 71 of file observable.h.

Member Function Documentation

◆ GetKey()

virtual std::string obs::KeyProvider::GetKey ( ) const
pure virtual

Return string used by Notify() and Listen().

Implemented in RawKey, AppMsg, NavMsg, obs::Observable, and RawKey.


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