Apache Mesos
|
#include <event.hpp>
Public Member Functions | |
DispatchEvent (std::unique_ptr< lambda::CallableOnce< void(ProcessBase *)>> _f, const Option< const std::type_info * > &_functionType) | |
DispatchEvent (DispatchEvent &&)=default | |
DispatchEvent (const DispatchEvent &)=delete | |
DispatchEvent & | operator= (DispatchEvent &&)=default |
DispatchEvent & | operator= (const DispatchEvent &)=delete |
void | visit (EventVisitor *visitor) const override |
void | consume (EventConsumer *consumer)&&override |
Public Member Functions inherited from process::Event | |
virtual | ~Event () |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T & | as () const |
operator JSON::Object () const | |
Public Attributes | |
std::unique_ptr< lambda::CallableOnce< void(ProcessBase *)> > | f |
Option< const std::type_info * > | functionType |
|
inline |
|
default |
|
delete |
|
inlineoverridevirtual |
Implements process::Event.
|
default |
|
delete |
|
inlineoverridevirtual |
Implements process::Event.
std::unique_ptr<lambda::CallableOnce<void(ProcessBase*)> > process::DispatchEvent::f |
Option<const std::type_info*> process::DispatchEvent::functionType |