Apache Mesos
Public Member Functions | List of all members
process::Event Struct Referenceabstract

#include <event.hpp>

Inheritance diagram for process::Event:
process::DispatchEvent process::ExitedEvent process::HttpEvent process::MessageEvent process::TerminateEvent

Public Member Functions

virtual ~Event ()
 
virtual void visit (EventVisitor *visitor) const =0
 
virtual void consume (EventConsumer *consumer)&&=0
 
template<typename T >
bool is () const
 
template<typename T >
const T & as () const
 
 operator JSON::Object () const
 

Constructor & Destructor Documentation

virtual process::Event::~Event ( )
inlinevirtual

Member Function Documentation

template<typename T >
const T& process::Event::as ( ) const
inline
virtual void process::Event::consume ( EventConsumer consumer)
pure virtual
template<typename T >
bool process::Event::is ( ) const
inline
process::Event::operator JSON::Object ( ) const
inline
virtual void process::Event::visit ( EventVisitor visitor) const
pure virtual

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