Apache Mesos
Public Member Functions | Public Attributes | List of all members
process::TerminateEvent Struct Reference

#include <event.hpp>

Inheritance diagram for process::TerminateEvent:
process::Event

Public Member Functions

 TerminateEvent (const UPID &_from, bool _inject)
 
 TerminateEvent (TerminateEvent &&)=default
 
 TerminateEvent (const TerminateEvent &)=delete
 
TerminateEventoperator= (TerminateEvent &&)=default
 
TerminateEventoperator= (const TerminateEvent &)=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

UPID from
 
bool inject
 

Constructor & Destructor Documentation

process::TerminateEvent::TerminateEvent ( const UPID _from,
bool  _inject 
)
inline
process::TerminateEvent::TerminateEvent ( TerminateEvent &&  )
default
process::TerminateEvent::TerminateEvent ( const TerminateEvent )
delete

Member Function Documentation

void process::TerminateEvent::consume ( EventConsumer consumer)
inlineoverridevirtual

Implements process::Event.

TerminateEvent& process::TerminateEvent::operator= ( TerminateEvent &&  )
default
TerminateEvent& process::TerminateEvent::operator= ( const TerminateEvent )
delete
void process::TerminateEvent::visit ( EventVisitor visitor) const
inlineoverridevirtual

Implements process::Event.

Member Data Documentation

UPID process::TerminateEvent::from
bool process::TerminateEvent::inject

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