Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
tracking-heap-block-provider.cpp File Reference

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

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/util-foreach.hpp"
#include "steam/engine/tracking-heap-block-provider.hpp"
#include <algorithm>
#include <vector>

Namespaces

namespace  steam
 Steam-Layer implementation namespace root.
 
namespace  steam::engine
 Lumiera's render engine core and operational control.
 
namespace  steam::engine::anonymous_namespace{tracking-heap-block-provider.cpp}
 
namespace  steam::engine::diagn
 

Typedefs

using Buff = StreamType::ImplFacade::DataBuffer
 
using PoolBlocks = ScopedPtrVect< Block >
 

Classes

class  BlockPool
 

Functions

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

Variables

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