.. _program_listing_file_src_cue_event.h: Program Listing for File event.h ================================ |exhale_lsh| :ref:`Return to documentation for file ` (``src/cue/event.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /* * Event.h - Base class for Show events. */ #ifndef EVENT_H #define EVENT_H #include namespace PixelMaestro { class Event { public: Event() = default; Event(uint32_t time, uint8_t* cue); Event(const Event& other); Event& operator=(const Event& other); bool operator==(const Event& other); ~Event(); uint8_t* get_cue() const; uint32_t get_time() const; void set_cue(uint8_t* cue); void set_time(uint32_t time); protected: uint8_t* cue_ = nullptr; uint32_t time_ = 0; }; } #endif // EVENT_H