81 std::vector<bool> m_isAllocated;
The Resource class is a convenient way to track allocated resources.
Definition: Resource.h:27
void Free(uint32_t index)
Free an allocated resource.
uint32_t Allocate(uint32_t index, const std::string &resourceDesc)
Allocate a specific resource value.
virtual ~Resource()=default
Resource(uint32_t size)
Allocate storage for a new instance of Resource.
uint32_t Allocate(const std::string &resourceDesc)
Allocate a resource.
static void CreateResourceObject(std::unique_ptr< Resource > &r, uint32_t elements)
Factory method to create a Resource allocation-tracker if needed.
EIGEN_CONSTEXPR Index size(const T &x)
Definition: Meta.h:479
::uint32_t uint32_t
Definition: Meta.h:56
Definition: AprilTagFieldLayout.h:22
::std::mutex mutex
Definition: mutex.h:17