50 void tick(uint64_t delta_millis);
86 std::unique_ptr<Impl> impl_;
Engine facade with internal method-level synchronization.
void setOn(bool on)
Enable or disable runtime output.
Engine(const Engine &)=delete
bool isOn() const
Return whether runtime output is enabled.
bool autoEmitEnabled() const
Return auto-emit state.
Result< int8_t > emit(const EmitCommand &command)
Emit a new light list using a value command.
void tick(uint64_t delta_millis)
Advance runtime by a delta in milliseconds.
void setAutoEmitEnabled(bool enabled)
Enable or disable auto-emit.
uint16_t pixelCount() const
Return total pixel count for the active object.
Engine & operator=(const Engine &)=delete
Engine(Engine &&) noexcept
Engine(const EngineConfig &config=EngineConfig{})
Construct an engine instance from configuration.
Result< Color > pixel(uint16_t index, uint8_t max_brightness=255) const
Fetch a rendered pixel color by index.
void update(uint64_t millis)
Advance runtime to an absolute timestamp (milliseconds).
void stopAll()
Stop all active lights/lists.
Error/result types for the stable Lightgraph API.
Engine construction configuration.
Public value types and commands for the stable Lightgraph API.