Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
db.hpp File Reference

Go to the source code of this file.

Description

Implementation of the Asset database.

Simplistic hash based lookup-table.

implementation details of the AssetManager

Definition in file db.hpp.

#include "lib/sync.hpp"
#include "lib/error.hpp"
#include "proc/asset.hpp"
#include "lib/depend-inject.hpp"
#include <memory>
#include <unordered_map>
#include <boost/utility.hpp>

Classes

class  DB
 Implementation of the registry holding all Asset instances known to the Asset Manager subsystem. More...
 
struct  IdentityHash
 trivial hash functor returns any hash value unmodified. More...
 

Typedefs

typedef std::unordered_map
< size_t, PAsset, IdentityHash > 
IdHashtable
 

Functions

size_t hash_value (Asset::Ident const &idi)
 
size_t hash_value (Asset const &asset)
 

Namespaces

 proc
 Proc-Layer implementation namespace root.
 
 proc::asset
 The asset subsystem of the Proc-Layer.