|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include <NFSFile.h>
Public Types | |
| using | Factory = std::function<std::shared_ptr<CNfsContext>()> |
| using | TimePoint = std::chrono::time_point<std::chrono::steady_clock> |
Public Member Functions | |
| CNfsContextLease | Checkout (const std::string &key, unsigned int maxContexts, const Factory &create) |
| void | Retire (const CNfsContext &context) |
| void | RetireAll () |
| std::vector< std::shared_ptr< CNfsContext > > | TakeUnused (TimePoint now, bool all) |
| std::vector< std::shared_ptr< CNfsContext > > | GetKeepAlivesDue (TimePoint now) const |
Friends | |
| class | CNfsContextLease |
| using CNfsContextPool::Factory = std::function<std::shared_ptr<CNfsContext>()> |
| using CNfsContextPool::TimePoint = std::chrono::time_point<std::chrono::steady_clock> |
| CNfsContextLease CNfsContextPool::Checkout | ( | const std::string & | key, |
| unsigned int | maxContexts, | ||
| const Factory & | create ) |
| std::vector< std::shared_ptr< CNfsContext > > CNfsContextPool::GetKeepAlivesDue | ( | TimePoint | now | ) | const |
| void CNfsContextPool::Retire | ( | const CNfsContext & | context | ) |
| void CNfsContextPool::RetireAll | ( | ) |
| std::vector< std::shared_ptr< CNfsContext > > CNfsContextPool::TakeUnused | ( | TimePoint | now, |
| bool | all ) |
|
friend |