Class ShowController

Class Documentation

class ShowController

Public Functions

ShowController()

Constructor.

Event *add_event(uint32_t time, uint8_t *cue)

Adds an Event to the Show.

Return

New Event.

Parameters
  • time: Event’s start time.

  • cue: Event command.

void clear()

Deletes all events.

int get_event_index(Event *event)

Returns the index of the specified Event.

Return

Event index (or -1 if not found)

Parameters
  • event: The Event to test.

QString get_event_description(uint16_t index)
QVector<Event> *get_events()

Returns the list of Events.

Return

Event list.

void move(uint16_t from, uint16_t to)

Changes the location of an Event in the list.

Parameters
  • from: Event’s original location.

  • to: Event’s final location.

void remove_event(uint16_t index)

Removes the Event at the specified index.

Parameters
  • index: Event index.