载入中...
搜索中...
未找到
Capability.h 文件参考
#include "common/Export.h"
#include <cstddef>
#include <vector>

浏览源代码.

类

class  eve::cap::ProviderRef< I >
 One-shot borrowed capability pointer for composition roots and hot paths. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::cap
 
namespace  eve::cap::detail
 

函数

void eve::cap::detail::provideRaw (const char *name, void *impl)
 Provides raw.
 
void * eve::cap::detail::queryRaw (const char *name)
 Queries raw.
 
void eve::cap::detail::revokeRaw (const char *name, void *impl)
 Revoke raw.
 
void eve::cap::detail::addListenerRaw (const char *name, void *impl, int priority)
 Adds listener raw.
 
void eve::cap::detail::removeListenerRaw (const char *name, void *impl)
 Removes listener raw.
 
size_t eve::cap::detail::listenerCountRaw (const char *name)
 Listener count raw.
 
void * eve::cap::detail::listenerAtRaw (const char *name, size_t index)
 Listener at raw.
 
void eve::cap::detail::clearAllRaw ()
 Clears all raw.
 
template<class I >
void eve::cap::provide (I *impl)
 Provides .
 
template<class I >
I * eve::cap::query ()
 Queries .
 
template<class I >
void eve::cap::revoke (I *impl)
 Revoke.
 
template<class I >
void eve::cap::addListener (I *impl, int priority=0)
 Adds listener.
 
template<class I >
void eve::cap::removeListener (I *impl)
 Removes listener.
 
template<class I >
size_t eve::cap::listenerCount ()
 Listener count.
 
template<class I >
I * eve::cap::listenerAt (size_t index)
 Listener at.
 
template<class I , class F >
void eve::cap::forEach (F &&fn)
 Call fn for every implementation of I in priority order.
 
template<class I , class F >
bool eve::cap::forEachUntil (F &&fn)
 Call fn for each snapshotted implementation until one returns true.