You.i Engine
YiAssetTimelineSource.h
Go to the documentation of this file.
1 // © You i Labs Inc. All rights reserved.
2 #ifndef _YI_ASSET_TIMELINE_SOURCE_H_
3 #define _YI_ASSET_TIMELINE_SOURCE_H_
4 
10 #include "animation/YiTimeline.h"
11 #include "asset/YiAsset.h"
12 
14 
20 {
21 public:
24 
25  virtual ~CYIAssetTimelineSource();
26 
30  const std::shared_ptr<CYITimelineBackingStore> &GetTimelineBackingStore();
31 
35  void SetTimelineBackingStore(std::shared_ptr<CYITimelineBackingStore> pTimelineBackingStore);
36 
37 protected:
38  virtual void OnUnload() override;
39 
40 private:
41  std::shared_ptr<CYITimelineBackingStore> m_pTimelineBackingStore;
42 
44 };
45 
48 #endif // _YI_ASSET_TIMELINE_SOURCE_H_
const std::shared_ptr< CYITimelineBackingStore > & GetTimelineBackingStore()
A class containing timeline marker and track data required to create a CYITimeline.
Definition: YiTimelineBackingStore.h:30
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:32
PathType
Definition: YiAsset.h:42
void SetTimelineBackingStore(std::shared_ptr< CYITimelineBackingStore > pTimelineBackingStore)
virtual ~CYIAssetTimelineSource()
Base class for any asset. An asset provides functions for dynamically loading and unloading itself an...
Definition: YiAsset.h:32
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:259
TimelineSource asset. Wrapper around a CYITimelineBackingStore.
Definition: YiAssetTimelineSource.h:19
virtual void OnUnload() override