Lumiera  0.pre.03
»edit your freedom«
tracking-heap-block-provider.cpp File Reference

Go to the source code of this file.

Description

Implementation details of a mock engine::BufferProvider for unit testing.

Definition in file tracking-heap-block-provider.cpp.

#include "lib/error.hpp"
#include "include/logging.h"
#include "lib/scoped-ptrvect.hpp"
#include "lib/scoped-holder.hpp"
#include "lib/util-foreach.hpp"
#include "steam/engine/tracking-heap-block-provider.hpp"
#include <algorithm>
#include <vector>

Classes

class  BlockPool
 

Typedefs

typedef ScopedHolder< PoolVec > PoolHolder
 
typedef ScopedPtrVect< Block > PoolVec
 

Functions

bool identifyBlock (Block const &inQuestion, void *storage)
 helper to find Block entries based on their raw memory address
 
template<class VEC >
Block * pick_Block_by_storage (VEC &vec, void *blockLocation)
 
function< bool(Block const &)> search_for_block_using_this_storage (void *storage)
 build a searching predicate
 

Variables

diagn::Block emptyPlaceholder (0)
 
const uint MAX_BUFFERS = 50
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::engine
 Lumiera's render engine core and operational control.