#include <AllocatorVk.h>
Definition at line 1536 of file AllocatorVk.h.
◆ tankType
◆ oSyncoTank()
front::oSyncoTank::oSyncoTank |
( |
| ) |
|
|
explicit |
◆ ~oSyncoTank()
front::oSyncoTank::~oSyncoTank |
( |
| ) |
|
◆ add()
template<class T >
void front::oSyncoTank::add |
( |
T *&& |
x | ) |
|
|
inline |
Definition at line 1571 of file AllocatorVk.h.
1571 {
1573 if (tmp != nullptr) {
1575 tmp = nullptr;
1576
1579
1581 syn = nullptr;
1582
1583 }
1584 else {
1585
1586 log_bad(
"Osynco Tank failed to allocate. is this full ? \n");
1587 return;
1588 }
1589 };
Synco * salting(T *&&ptr)
◆ flush()
void front::oSyncoTank::flush |
( |
| ) |
|
Definition at line 1798 of file AllocatorVk.cpp.
1798 {
1799 if (
data !=
nullptr) {
1800 for (
int i = 0; i <
size; i++) {
1802 }
1805 }
1807
1810
1811 };
◆ order()
Definition at line 1820 of file AllocatorVk.cpp.
1820 {
1821
1822
1823 for (
int i = 0; i <
size; i++) {
1825
1826 if (t == x.name && No == int(x.id - '0')) return x;
1827 };
1828 log_bad(
"your order is invalid. name %c id %d \n", t, No);
1830
1831 };
◆ print()
void front::oSyncoTank::print |
( |
| ) |
|
Definition at line 1834 of file AllocatorVk.cpp.
1835 {
1836
1838 std::cout << "name :: " << int(x->name) << " id ::" << int(x->id) << std::endl;
1839 });
1840
1841 }
◆ takeout()
template<class T >
bool front::oSyncoTank::takeout |
( |
T *& |
dst, |
|
|
int |
No |
|
) |
| |
|
inline |
Definition at line 1555 of file AllocatorVk.h.
1555 {
1557 for (
int i = 0; i <
size; i++) {
1559 if (t == x.name && No == int(x.id - '0')) {
1561 return true;
1562 };
1563 };
1564
1565
1566 return false;
1567
1568 };
void duplicate(_Inout_opt_ T *&ptr, uintptr_t shn)
◆ data
const tankType** front::oSyncoTank::data = nullptr |
◆ item
size_t front::oSyncoTank::item = sizeof(Synco) |
◆ size
std::size_t front::oSyncoTank::size = 0 |
The documentation for this struct was generated from the following files: