#include <event_sink.h>
Public Member Functions | |
EventSink ()=default | |
virtual | ~EventSink ()=default |
EventSink (EventSink const &)=delete | |
EventSink & | operator= (EventSink const &)=delete |
void | Success (const T &event) |
void | Success () |
void | Error (const std::string &error_code, const std::string &error_message, const T &error_details) |
void | Error (const std::string &error_code, const std::string &error_message="") |
void | EndOfStream () |
Protected Member Functions | |
virtual void | SuccessInternal (const T *event=nullptr)=0 |
virtual void | ErrorInternal (const std::string &error_code, const std::string &error_message, const T *error_details)=0 |
virtual void | EndOfStreamInternal ()=0 |
Definition at line 15 of file event_sink.h.
|
default |
|
virtualdefault |
|
delete |
|
inline |
Definition at line 45 of file event_sink.h.
References flutter::EventSink< T >::EndOfStreamInternal().
|
protectedpure virtual |
Referenced by flutter::EventSink< T >::EndOfStream().
|
inline |
Definition at line 31 of file event_sink.h.
References flutter::EventSink< T >::ErrorInternal().
|
inline |
Definition at line 38 of file event_sink.h.
References flutter::EventSink< T >::ErrorInternal().
|
protectedpure virtual |
Referenced by flutter::EventSink< T >::Error().
|
delete |
|
inline |
|
inline |
Definition at line 25 of file event_sink.h.
References event, and flutter::EventSink< T >::SuccessInternal().
|
protectedpure virtual |
Referenced by flutter::EventSink< T >::Success().