CommonLibSSE (powerof3)
BSResourceEntryCache.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSAtomic.h"
4 
5 namespace RE
6 {
7  namespace BSResource
8  {
9  template <class T_Type, class T_EntryDBTraitsCArgs>
10  class Entry;
11 
12  struct DAP
13  {
14  public:
15  };
16  static_assert(std::is_empty_v<DAP>);
17 
18  template <class T_Type, class T_EntryDBTraitsCArgs, class T_DAP, std::uint32_t T_SIZE>
20  {
21  public:
23  };
24  static_assert(std::is_empty_v<EntryCacheTraits<void, void, void, 0>>);
25 
26  template <class T_EntryCacheTraits>
28  {
29  public:
30  using U_EntryCacheTraits = T_EntryCacheTraits;
31 
32  // members
33  T_EntryCacheTraits::U_Entry** table; // 00
34  std::uint32_t tableSize; // 08
35  std::uint32_t tombstoneCount; // 10
36  std::uint32_t active; // 14
37  std::uint32_t maxActive; // 18
38  std::uint32_t misses; // 1C
40  };
41  }
42 }
Definition: BSResourceEntryCache.h:20
Definition: BSResourceEntry.h:16
Definition: BSResourceEntryCache.h:28
std::uint32_t active
Definition: BSResourceEntryCache.h:36
std::uint32_t maxActive
Definition: BSResourceEntryCache.h:37
std::uint32_t tableSize
Definition: BSResourceEntryCache.h:34
T_EntryCacheTraits U_EntryCacheTraits
Definition: BSResourceEntryCache.h:30
std::uint32_t tombstoneCount
Definition: BSResourceEntryCache.h:35
std::uint32_t misses
Definition: BSResourceEntryCache.h:38
BSTAtomicValue< std::uint32_t > ctrl
Definition: BSResourceEntryCache.h:39
T_EntryCacheTraits::U_Entry ** table
Definition: BSResourceEntryCache.h:33
Definition: AbsorbEffect.h:6
Definition: BSResourceEntryCache.h:13