Interface HumanFaceEventBus

All Known Subinterfaces:
HumanFace
All Known Implementing Classes:
HumanFaceImpl

public interface HumanFaceEventBus
Changes in the human face and its data structures (e.g., mesh model, etc.) can be monitored by listeners. Listeners have to implement the HumanFaceListener interface and they have to be registered using the HumanFaceImpl.registerListener(cz.fidentis.analyst.data.face.HumanFaceListener) method. Then they are informed about changes in the human automatically via methods prescribed by the interface.
  • Method Details Link icon

    • registerListener Link icon

      void registerListener(HumanFaceListener listener)
      Registers listeners (objects concerned in the human face changes) to receive events. If listener is null, no exception is thrown and no action is taken.
      Parameters:
      listener - Listener concerned in the human face changes.
    • unregisterListener Link icon

      void unregisterListener(HumanFaceListener listener)
      Unregisters listeners from receiving events.
      Parameters:
      listener - Registered listener
    • announceEvent Link icon

      void announceEvent(HumanFaceEvent evt)
      Broadcast event to registered listeners.
      Parameters:
      evt - Event to be triggered.