Elevate Engine 1
Loading...
Searching...
No Matches
WwiseMergedDataSource.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef EE_USES_WWISE
4
5#include "WwiseDataSource.h"
8
9#include <string>
10#include <map>
11
12namespace Elevate
13{
14 class WwiseMergedDataSource : public WwiseDataSource
15 {
16 public:
17 WwiseMergedDataSource(std::string& wwiseProjectPath, std::string& rootOutputPath, std::string& platform);
18 ~WwiseMergedDataSource() = default;
19
20 virtual void InitializeSource() override;
21 virtual void RefreshSource() override;
22 virtual std::weak_ptr<WwiseItem> GetItems() const override;
23
24 void ProcessChildrenMerge(WwiseItemPtr parent, std::map<std::string, WwiseItemPtr>& projectDBRefs);
25
26 protected:
27 std::unique_ptr<WwiseFileDataSource> m_fileDataSource;
28 // this is to complement the file datasource, fetching informations from the .json generated in parralel with banks.
29 std::unique_ptr<WwiseProjectDBDataSource> m_projectDataSource;
30 };
31}
32
33#endif // #ifdef EE_USES_WWISE