Lums
|
A basic abstract class for providers. More...
#include <Provider.hpp>
Public Member Functions | |
T & | get (int i) |
T & | set (int i) |
std::size_t | size () const |
Protected Attributes | |
std::vector< T * > | buffer |
A basic abstract class for providers.
|
inline |
Get a resource by ID
i | The resource identifier |
|
inline |
Allocate and return a resource using it's ID
i | The resource identifier |
|
inline |
Get the resource count
|
protected |
The resource container