|
pianod2
multisource multiuser scriptable networked music player
|
Details of an event being awaited. More...
#include <connection.h>
Public Types | |
| enum class | Type { None , SourceReady , TrackEnded , TrackStarted } |
| Kinds of events that can be waited for. More... | |
Public Attributes | |
| Type | event = Type::None |
| The kind of event being awaited. More... | |
| const void * | parameter |
| Identifies a specific event instance. More... | |
| time_t | timeout = 0 |
| Time at which to stop waiting. More... | |
| bool | close_after_event = false |
| True if connection is 'AS USER' and should closed after event. More... | |
Static Public Attributes | |
| static time_t | nextTimeout = FAR_FUTURE |
Details of an event being awaited.
|
strong |
| bool WaitEvent::close_after_event = false |
True if connection is 'AS USER' and should closed after event.
Next timeout time, here to avoid unnecessary recalculation.
| Type WaitEvent::event = Type::None |
The kind of event being awaited.
|
static |
| const void* WaitEvent::parameter |
Identifies a specific event instance.
| time_t WaitEvent::timeout = 0 |
Time at which to stop waiting.