Bind Function pointer to delegate.
pack task as a lambda and to map.
85 {
87
88 uint64_t* addr = reinterpret_cast<uint64_t*>(&func);
90 {
91 SPICES_CORE_WARN("Agent Function binding repeatly.");
92 return false;
93 }
94
99
100 return true;
101 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< scl::linked_unordered_map< uint64_t, Agent > > m_Agents
Map of Agent Function Pointer.
void push_back(const K &key, const V &value)
Add a element to this container.
bool has_key(const K &key)
Determine whether the key is in the container.