OpenCPN Partial API docs
Loading...
Searching...
No Matches
Notification Class Reference

User visible notification. More...

#include <notification.h>

Public Member Functions

 Notification (NotificationSeverity _severity, const std::string &_message, int _timeout_secs=-1)
 
std::string GetMessage ()
 
NotificationSeverity GetSeverity () const
 
time_t GetActivateTime () const
 
std::string GetGuid () const
 
size_t GetStringHash () const
 
int GetTimeoutCount () const
 
void DecrementTimoutCount ()
 

Detailed Description

User visible notification.

Definition at line 39 of file notification.h.

Constructor & Destructor Documentation

◆ Notification()

Notification::Notification ( NotificationSeverity  _severity,
const std::string &  _message,
int  _timeout_secs = -1 
)

Definition at line 28 of file notification.cpp.

Member Function Documentation

◆ DecrementTimoutCount()

void Notification::DecrementTimoutCount ( )
inline

Definition at line 51 of file notification.h.

◆ GetActivateTime()

time_t Notification::GetActivateTime ( ) const
inline

Definition at line 47 of file notification.h.

◆ GetGuid()

std::string Notification::GetGuid ( ) const
inline

Definition at line 48 of file notification.h.

◆ GetMessage()

std::string Notification::GetMessage ( )
inline

Definition at line 45 of file notification.h.

◆ GetSeverity()

NotificationSeverity Notification::GetSeverity ( ) const
inline

Definition at line 46 of file notification.h.

◆ GetStringHash()

size_t Notification::GetStringHash ( ) const
inline

Definition at line 49 of file notification.h.

◆ GetTimeoutCount()

int Notification::GetTimeoutCount ( ) const
inline

Definition at line 50 of file notification.h.


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