OpenCPN Partial API docs
Loading...
Searching...
No Matches
NotificationMsg Class Reference
Inheritance diagram for NotificationMsg:
AppMsg KeyProvider

Public Member Functions

 NotificationMsg (const std::string action, std::shared_ptr< Notification > _notification)
 
- Public Member Functions inherited from AppMsg
 AppMsg (AppMsg::Type t)
 
virtual std::string key () const
 Return unique key used by Observable.
 
std::string GetKey () const
 Alias for key().
 
std::string TypeToString (const Type t) const
 
virtual std::string to_string () const
 

Public Attributes

const std::string action_verb
 
std::shared_ptr< Notificationnotification
 
- Public Attributes inherited from AppMsg
const Type type
 
const std::string name
 
NavAddr source
 
unsigned short prio
 

Additional Inherited Members

- Public Types inherited from AppMsg
enum class  Type {
  BasicNavData , GPSWatchdog , GnssFix , AisData ,
  DataPrioNeeded , CustomMsg , Undef
}
 
- Protected Member Functions inherited from AppMsg
 AppMsg (AppMsg::Type tp, const std::string &nm, NavAddr src)
 

Detailed Description

Definition at line 33 of file notification_manager.h.

Constructor & Destructor Documentation

◆ NotificationMsg() [1/2]

NotificationMsg::NotificationMsg ( )
inline

Definition at line 35 of file notification_manager.h.

◆ NotificationMsg() [2/2]

NotificationMsg::NotificationMsg ( const std::string  action,
std::shared_ptr< Notification _notification 
)
inline

Definition at line 37 of file notification_manager.h.

Member Data Documentation

◆ action_verb

const std::string NotificationMsg::action_verb

Definition at line 45 of file notification_manager.h.

◆ notification

std::shared_ptr<Notification> NotificationMsg::notification

Definition at line 46 of file notification_manager.h.


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