3#include <Foundation/Containers/DynamicArray.h>
4#include <Foundation/Reflection/Reflection.h>
5#include <Foundation/Strings/HashedString.h>
6#include <GuiFoundation/GuiFoundationDLL.h>
16 void SetTickFromTime(
plTime time, plInt64 iFps);
17 const char* GetEventName()
const {
return m_sEvent.GetData(); }
18 void SetEventName(
const char* szSz) { m_sEvent.Assign(szSz); }
29 plInt64 TickFromTime(
plTime time)
const;
30 void ConvertToRuntimeData(
plEventTrack& out_result)
const;
32 plUInt16 m_uiFramesPerSecond = 60;
39 bool IsModified()
const {
return m_bModified; }
41 const plSet<plString>& GetAvailableEvents()
const {
return m_AvailableEvents; }
45 plResult WriteToDDL(
const char* szFile);
46 plResult ReadFromDDL(
const char* szFile);
49 bool m_bModified =
false;
Definition DynamicArray.h:81
Definition EventTrackEditData.h:37
Definition EventTrackEditData.h:11
Definition EventTrackEditData.h:25
An event track is a time line that contains named events.
Definition EventTrack.h:15
This class is optimized to take nearly no memory (sizeof(void*)) and to allow very fast checks whethe...
Definition HashedString.h:25
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12
PL_ALWAYS_INLINE static constexpr plTime MakeFromSeconds(double fSeconds)
Creates an instance of plTime that was initialized from seconds.
Definition Time.h:30