Drake
EventData Class Referenceabstract

Base class for storing trigger-specific data to be passed to event handlers. More...

#include <drake/systems/framework/event.h>

Public Member Functions

 EventData ()
 
virtual ~EventData ()
 
virtual std::unique_ptr< EventDataClone () const
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 EventData (const EventData &)=default
 
EventDataoperator= (const EventData &)=default
 
 EventData (EventData &&)=default
 
EventDataoperator= (EventData &&)=default
 

Protected Member Functions

virtual EventDataDoClone () const =0
 

Detailed Description

Base class for storing trigger-specific data to be passed to event handlers.

Constructor & Destructor Documentation

◆ EventData() [1/3]

EventData ( )

◆ EventData() [2/3]

EventData ( const EventData )
default

◆ EventData() [3/3]

EventData ( EventData &&  )
default

◆ ~EventData()

virtual ~EventData ( )
virtual

Member Function Documentation

◆ Clone()

virtual std::unique_ptr<EventData> Clone ( ) const
virtual

◆ DoClone()

virtual EventData* DoClone ( ) const
protectedpure virtual

◆ operator=() [1/2]

EventData& operator= ( const EventData )
default

◆ operator=() [2/2]

EventData& operator= ( EventData &&  )
default

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