cueOS  2.4
cueOS - Universal Show Control OS for ARM
DMX512_fixture_pool.h
1
10#ifndef DMX512_fixture_pool_H
11#define DMX512_fixture_pool_H
12
13#include <stdint.h>
14#include "DMX512_defs.h"
15#include "DMX512_fixture.h"
16
17
21typedef struct{
23 uint16_t fixture_count;
25
31
32
33#endif
34
DMX512_engine_err_e
DMX512 engine error index constants.
Definition: DMX512_defs.h:24
void DMX512_fixture_pool_free(DMX512_fixture_pool_s *fixture_pool)
Frees instance pool.
DMX512_engine_err_e DMX512_fixture_pool_del(DMX512_fixture_pool_s *this, uint16_t id)
Deletes a fixture instance from the pool.
DMX512_fixture_pool_s * DMX512_fixture_pool_new(void)
Creates a new fixture pool instance.
DMX512_engine_err_e DMX512_fixture_pool_add(DMX512_fixture_pool_s *this, DMX512_fixture_s fixture)
Adds a fixture instance into the pool.
DMX512_engine_err_e DMX512_fixture_pool_get(DMX512_fixture_pool_s *this, uint16_t id, DMX512_fixture_s **fixture)
Gets a fixture instance from the pool.
DMX512 fixture pool structure object.
DMX512_fixture_s * fixtures
DMX512 fixture structure object.