Class NoOpEventProcessor

Inheritance Relationships

Base Type

Class Documentation

class NoOpEventProcessor : public event_camera_codecs::EventProcessor

Public Functions

inline virtual void eventCD(uint64_t, uint16_t, uint16_t, uint8_t) override

invoked for a change-of-contrast event

Parameters:
  • sensor_time – time (usually in nanoseconds, depends on decoder configuration)

  • ex – image x-coordinate of event

  • ey – image y-coordinate (from top right)

  • polarity – 0 if OFF event (intensity decreased), 1 if ON event (intensity increased)

inline virtual void eventExtTrigger(uint64_t, uint8_t, uint8_t) override

invoked for an external trigger event

Parameters:
  • sensor_time – time (usually in nanoseconds, depends on decoder configuration)

  • edge – indicator if rising or falling edge of trigger pulse

  • id – identifier of trigger source (e.g. which pin the pulse arrived on)

inline virtual void finished() override

called after the processing of the packet has been completed, or the time limit (until_time) has been reached.

inline virtual void rawData(const char*, size_t) override

passes raw data through from the decoder to the event processor. This can be useful for .e.g. storing the raw data. This method is called once for each processed packet, before eventCD() and eventExtTrigger() are invoked. It is called only when messages are fed into the decoder, not when raw data is already given to the decoder!

Parameters:
  • data – pointer to buffer with raw data

  • len – size of buffer in bytes