Lumiera  0.pre.03
»edit your freedom«
Block Class Reference

#include "steam/engine/tracking-heap-block-provider.hpp"

Description

Helper for implementing a diagnostic BufferProvider: A block of heap allocated storage, with the capability to store some additional tracking information.

Definition at line 73 of file tracking-heap-block-provider.hpp.

Public Member Functions

 Block (size_t bufferSize)
 
void * accessMemory () const
 
void markReleased ()
 
bool was_closed () const
 
bool was_used () const
 

Private Attributes

unique_ptr< char[]> storage_
 
bool was_released_
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 
+ Inheritance diagram for Block:
+ Collaboration diagram for Block:

The documentation for this class was generated from the following file: