41 struct ClaimResources;
42 struct DontClaimResources;
78 template <
class ResourceHandle,
class ClaimPolicy = DontClaimResources>
103 ClaimPolicy::claim(
this, name);
107 catch(
const std::logic_error& e)
117 struct ClaimResources
122 struct DontClaimResources
Abstract Hardware Interface.
An exception related to a HardwareInterface.
virtual void claim(std::string resource)
Claim a resource by name.
Class for handling named resources.
ResourceHandle getHandle(const std::string &name)
Get a resource handle by name.
ResourceHandle ResourceHandleType
ResourceHandle getHandle(const std::string &name)
Get a resource handle by name.
Base class for handling hardware resources.