HPS::MeasurementOperator::MeasurementEvent Class Reference
Inheritance diagram for HPS::MeasurementOperator::MeasurementEvent:
HPS::Event

Public Member Functions

EventClone () const
 
 MeasurementEvent ()
 
MeasurementEvent (HPS::View const &in_view, HPS::SegmentKey const &in_segment_key, MeasurementOperator::MeasurementType in_measurement_type, float in_measurement_value)
 
 MeasurementEvent (Event const &in_event)
 
- Public Member Functions inherited from HPS::Event
virtual bool Drop (Event const *in_that_event) const
 
 Event (intptr_t in_channel=0)
 
virtual intptr_t Freshen () const
 
intptr_t GetChannel () const
 
intptr_t GetClassID () const
 
Time GetTimeStamp () const
 
bool IsConsumable () const
 

Public Attributes

MeasurementOperator::MeasurementType measurement_type
 
float measurement_value
 
SegmentKey segment_key
 
View view
 

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
 

Constructor & Destructor Documentation

◆ MeasurementEvent() [1/2]

HPS::MeasurementOperator::MeasurementEvent::MeasurementEvent ( )
inline

The default constructor creates an empty MeasurementEvent object.

◆ MeasurementEvent() [2/2]

HPS::MeasurementOperator::MeasurementEvent::MeasurementEvent ( Event const &  in_event)
inline

This constructor converts an Event Object to a MeasurementEvent object.

Parameters
in_eventThe Event Object to be converted.

Member Function Documentation

◆ Clone()

Event* HPS::MeasurementOperator::MeasurementEvent::Clone ( ) const
inlinevirtual

Allocates and returns a copy of this MeasurementEvent.

Returns
A copy of this MeasurementEvent.

Implements HPS::Event.


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