HPS::Stream::ExportStartedEvent Class Reference

#include <hps.h>

Inheritance diagram for HPS::Stream::ExportStartedEvent:

Public Member Functions

EventClone () const
virtual bool Drop (Event const *in_that_event) const
 ExportStartedEvent ()
 ExportStartedEvent (Event const &in_event)
virtual intptr_t Freshen () const
- Public Member Functions inherited from HPS::Event
 Event (intptr_t in_channel=0)
intptr_t GetChannel () const
intptr_t GetClassID () const
Time GetTimeStamp () const
bool IsConsumable () const

Public Attributes

HPS::Time export_started_time

Additional Inherited Members

- Public Types inherited from HPS::Event
enum  Status : uint32_t { Status::InProgress, Status::Completed, Status::Failed }
- Static Public Member Functions inherited from HPS::Event
static void operator delete (void *in_ptr, size_t in_size) throw ()
static void * operator new (size_t in_size)
- Protected Attributes inherited from HPS::Event
intptr_t channel
bool consumable

Detailed Description

The ExportStartedEvent class indicates that a Stream export has started. It will always be injected synchronously.

Constructor & Destructor Documentation

◆ ExportStartedEvent() [1/2]

HPS::Stream::ExportStartedEvent::ExportStartedEvent ( )

The default constructor creates a ExportStartedEvent object.

◆ ExportStartedEvent() [2/2]

HPS::Stream::ExportStartedEvent::ExportStartedEvent ( Event const &  in_event)

This constructor converts an Event Object to a ExportStartedEvent object.

in_eventThe Event Object to be converted.

Member Function Documentation

◆ Clone()

Event* HPS::Stream::ExportStartedEvent::Clone ( ) const

Allocates and returns a copy of this ExportStartedEvent.

A copy of this TimerEvent.

Implements HPS::Event.

◆ Drop()

virtual bool HPS::Stream::ExportStartedEvent::Drop ( Event const *  in_that_event) const

Determines if this ExportStartedEvent can be drop in favor of the following event of the same type

in_that_eventEvent to compare with this ExportStartedEvent.
true if this event can be dropped, false otherwise.

Reimplemented from HPS::Event.

◆ Freshen()

virtual intptr_t HPS::Stream::ExportStartedEvent::Freshen ( ) const

This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available.

A cookie representing the freshen category. Zero indicates a non-freshening event.

Reimplemented from HPS::Event.

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