HPS::Stream::ImportCompletedEvent

class HPS::Stream::ImportCompletedEvent : public HPS::Event

The ImportCompletedEvent class indicates that a Stream import is complete. It will always be injected synchronously.

Public Functions

inline virtual Event *Clone() const

Allocates and returns a copy of this ImportCompletedEvent.

Returns

A copy of this TimerEvent.

inline virtual bool Drop(Event const *in_that_event) const

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

Parameters

in_that_eventEvent to compare with this ImportCompletedEvent.

Returns

true if this event can be dropped, false otherwise.

inline virtual intptr_t 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.

Returns

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

inline ImportCompletedEvent()

The default constructor creates a ImportCompletedEvent object.

inline ImportCompletedEvent(Event const &in_event)

This constructor converts an Event Object to a ImportCompletedEvent object.

Parameters

in_event – The Event Object to be converted.

~ImportCompletedEvent()

Public Members

HPS::Time import_completed_time