Creating a reactive class that consumes events

About this task

To create a reactive class that consumes events without a statechart:

Procedure

  1. Create a class.
  2. Add an event reception or a triggered operation to the class.
  3. Override the OMReactive::processEvent method, which implements the event consumption algorithm.

Feedback