cueOS  2.4
cueOS - Universal Show Control OS for ARM
DMX512_fixture_preset.h
1
9#ifndef DMX512_FIXTURE_PRESET_H_
10#define DMX512_FIXTURE_PRESET_H_
11
12#include <stdint.h>
13#include "DMX512_defs.h"
14#include "DMX512_fixture.h"
15
16
23#define DMX512_FIXTURE_PRESET_DEFAULT {NULL, 0, NULL, NULL, DMX512_FIXTURE_PRESET_UNINITIALISED}
24
25
32typedef enum{
36
37
41typedef struct {
43 uint16_t ch_count;
44 uint16_t *channels;
45 uint8_t *values;
48
49
50DMX512_fixture_preset_s DMX512_fixture_preset_new(DMX512_fixture_s *fixture, uint16_t channel_count, uint16_t *channels, uint8_t *values);
52
53#endif
54
DMX512_fixture_preset_s DMX512_fixture_preset_new(DMX512_fixture_s *fixture, uint16_t channel_count, uint16_t *channels, uint8_t *values)
Creates a new scene fixture preset instance.
void DMX512_fixture_preset_free(DMX512_fixture_preset_s *fixture_preset)
Frees a fixture preset's dynamically allocated ressources and resets its values parameters to default...
DMX512_fixture_preset_status
Status of a fixture preset.
@ DMX512_FIXTURE_PRESET_INITIALISED
@ DMX512_FIXTURE_PRESET_UNINITIALISED
DMX512 fixture preset structure object.
DMX512_fixture_preset_status status
DMX512 fixture structure object.