11#ifndef DMX512_CHASER_H 
   12#define DMX512_CHASER_H 
   17#include "DMX512_chaser_step.h" 
   18#include "DMX512_defs.h" 
   27#define DMX512_CHASER_DEFAULT {0, NULL, DMX512_CHASER_MODE_LOOP, DMX512_CHASER_DIRECTION_FORWARD, 0, 0, DMX512_CHASER_IDLE, DMX512_CHASER_UNINITIALISED, DMX512_CHASER_PINGPONG_PING} 
DMX512_chaser_state_e
Current playing state of a chaser.
 
DMX512_engine_err_e DMX512_chaser_del_step(DMX512_chaser_s *chaser, uint16_t id)
Deletes a fixture preset instance from the chaser.
 
DMX512_chaser_pingpong_state_e
Current pingpong state.
 
DMX512_chaser_status_e
Status of a chaser instance.
 
void DMX512_chaser_start(DMX512_chaser_s *chaser)
Starts a scene fade-in process.
 
DMX512_engine_err_e DMX512_chaser_add_step(DMX512_chaser_s *chaser, DMX512_chaser_step_s step)
Adds a scene preset instance into the chaser.
 
DMX512_chaser_s DMX512_chaser_new(uint16_t id, DMX512_chaser_mode_e mode, DMX512_chaser_direction_e direction)
Creates and initialises a new chaser instance.
 
void DMX512_chaser_manage(DMX512_chaser_s *chaser)
Handles step selection and trigger over time.
 
DMX512_chaser_step_s * DMX512_chaser_get_step(DMX512_chaser_s *chaser, uint16_t id)
Gets a fixture instance from the pool.
 
DMX512_chaser_mode_e
Playing mode of a chsaer.
 
DMX512_chaser_direction_e
Playing direction of a chaser.
 
@ DMX512_CHASER_PINGPONG_PING
 
@ DMX512_CHASER_PINGPONG_PONG
 
@ DMX512_CHASER_INITIALISED
 
@ DMX512_CHASER_UNINITIALISED
 
@ DMX512_CHASER_MODE_LOOP
 
@ DMX512_CHASER_MODE_SINGLE_SHOT
 
@ DMX512_CHASER_DIRECTION_BACKWARD
 
@ DMX512_CHASER_DIRECTION_PINGPONG
 
@ DMX512_CHASER_DIRECTION_FORWARD
 
@ DMX512_CHASER_DIRECTION_RANDOM
 
DMX512_engine_err_e
DMX512 engine error index constants.
 
DMX512 chaser structure object.
 
DMX512_chaser_pingpong_state_e pingpong
 
DMX512_chaser_status_e status
 
DMX512_chaser_mode_e mode
 
DMX512_chaser_direction_e direction
 
DMX512_chaser_step_s * steps
 
DMX512_chaser_state_e state
 
DMX512 chaser step structure object.