LeviLamina
Loading...
Searching...
No Matches
CachedScenes.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/json/Value.h"
7
8// auto generated forward declare list
9// clang-format off
10class LayoutManager;
11class TaskGroup;
13class VisualTree;
14struct CachedScene;
15// clang-format on
16
17class CachedScenes {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mLowMemoryDevice;
22 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mDestroyScreenTaskGroup;
23 ::ll::TypedStorage<8, 16, ::std::map<::Json::Value, ::std::unique_ptr<::CachedScene>>> mCachedScene;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 CachedScenes();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI CachedScenes(
34 bool lowMemoryDevice,
35 ::std::function<::std::unique_ptr<::TaskGroup>(::std::string)> const& taskGroupProvider
36 );
37
38 MCAPI void cacheVisualTree(
39 ::std::unique_ptr<::VisualTree> screen,
40 ::std::shared_ptr<::UIControlFactory> factory,
41 ::std::unique_ptr<::LayoutManager> layoutManager
42 );
43
44 MCAPI ::std::unique_ptr<::CachedScene> getCachedScene(::Json::Value const& info);
45
46 MCAPI ~CachedScenes();
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(
53 bool lowMemoryDevice,
54 ::std::function<::std::unique_ptr<::TaskGroup>(::std::string)> const& taskGroupProvider
55 );
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
Definition CachedScenes.h:5
Definition LayoutManager.h:5
Definition TaskGroup.h:86
Definition UIControlFactory.h:5
Definition VisualTree.h:5
Definition CachedScene.h:5