You.i Engine
YiAssetTimelineSource.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_ASSET_TIMELINE_SOURCE_H_
3 #define _YI_ASSET_TIMELINE_SOURCE_H_
4 
11 #include "asset/YiAsset.h"
12 #include "animation/YiTimeline.h"
13 
15 
21 {
22 public:
24  CYIAssetTimelineSource(const CYIString &path, PATH_TYPE ePathType = PATH_RELATIVE);
25 
26  virtual ~CYIAssetTimelineSource();
27 
31  const std::shared_ptr<CYITimelineBackingStore> &GetTimelineBackingStore();
32 
36  void SetTimelineBackingStore(std::shared_ptr<CYITimelineBackingStore> pTimelineBackingStore);
37 
38 protected:
39  virtual void OnUnload() override;
40 
41 private:
42  std::shared_ptr<CYITimelineBackingStore> m_pTimelineBackingStore;
43 
45 };
46 
50 #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:35
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
PATH_TYPE
Definition: YiAsset.h:44
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:33
Definition: YiAsset.h:47
TimelineSource asset. Wrapper around a CYITimelineBackingStore.
Definition: YiAssetTimelineSource.h:20
virtual void OnUnload() override