OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::NotificationManager::DelayedNotification Struct Reference
Collaboration diagram for Slic3r::GUI::NotificationManager::DelayedNotification:

Public Member Functions

 DelayedNotification (std::unique_ptr< PopNotification > n, std::function< bool(void)> cb, int64_t r, int64_t d)

Public Attributes

std::unique_ptr< PopNotification > notification
std::function< bool(void)> condition_callback
int64_t remaining_time
int64_t delay_interval

Detailed Description

Constructor & Destructor Documentation

◆ DelayedNotification()

Slic3r::GUI::NotificationManager::DelayedNotification::DelayedNotification ( std::unique_ptr< PopNotification > n,
std::function< bool(void)> cb,
int64_t r,
int64_t d )
inline
1022 : notification(std::move(n))
1023 , condition_callback(cb)
1024 , remaining_time(r)
1025 , delay_interval(d)
1026 {}
std::unique_ptr< PopNotification > notification
Definition NotificationManager.hpp:1016
int64_t remaining_time
Definition NotificationManager.hpp:1018
std::function< bool(void)> condition_callback
Definition NotificationManager.hpp:1017
int64_t delay_interval
Definition NotificationManager.hpp:1019

References condition_callback, delay_interval, notification, and remaining_time.

Member Data Documentation

◆ condition_callback

std::function<bool(void)> Slic3r::GUI::NotificationManager::DelayedNotification::condition_callback

Referenced by DelayedNotification().

◆ delay_interval

int64_t Slic3r::GUI::NotificationManager::DelayedNotification::delay_interval

Referenced by DelayedNotification().

◆ notification

std::unique_ptr<PopNotification> Slic3r::GUI::NotificationManager::DelayedNotification::notification

Referenced by DelayedNotification().

◆ remaining_time

int64_t Slic3r::GUI::NotificationManager::DelayedNotification::remaining_time

Referenced by DelayedNotification().


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