Struct ArrayLayer

Inheritance Relationships

Base Type

Struct Documentation

struct cpphots::ArrayLayer : public cpphots::interfaces::Clonable<ArrayLayer, interfaces::EventRemapper>

Changes the output of a Layer to ArrayHOTS.

If added to a Layer, output events will be emitted as: {t, k, y, 0} where k is the clustering output.

Public Functions

virtual event remapEvent(event ev, uint16_t k) override

Remap event.

Parameters
  • ev – event

  • k – cluster id

Returns

remapped event

virtual void toStream(std::ostream &out) const override

Insert to stream.

Parameters

out – stream where to insert to

virtual void fromStream(std::istream &in) override

Extract from stream.

Parameters/current state is expected to be overwritten or invalidated.

Parameters

in – stream where to extract from