touchgfx::AbstractPartition is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::AbstractPartition class

@class AbstractPartition AbstractPartition.hpp touchgfx/common/AbstractPartition.hpp This type defines an abstract interface to a storage partition for allocating memory slots of equal size. This type defines an abstract interface to a storage partition for allocating memory slots of equal size. The "partition" is not aware of the actual types stored in the partition memory, hence it provides no mechanism for deleting C++ objects when clear()'ed.

Syntax

class AbstractPartition;
Implemented in AbstractPartition.hpp:34

Fields

allocations

No summary provided. Read more...

Methods

getAllocationCount() const

@fn virtual uint16_t AbstractPartition::getAllocationCount() const; Gets allocation count. Gets allocation count. Read more...

indexOf()

@fn virtual uint16_t AbstractPartition::indexOf(const void* address); Determines index of previously allocated location. Determines index of previously allocated location. Since the Partition concept is loosely typed this method shall be used with care. The method does not guarantee that the found object at the returned index is a valid object. It only tests whether or not the object is within the bounds of the current partition allocations. Read more...

clear()

@fn virtual void AbstractPartition::clear(); Prepares the Partition for new allocations. Prepares the Partition for new allocations. Any objects present in the Partition shall not be used after invoking this method. Read more...

capacity() const

@fn virtual uint16_t AbstractPartition::capacity() const = 0; Gets the capacity, i.e. the maximum allocation count. Gets the capacity, i.e. the maximum allocation count. Read more...

allocate()

No summary provided. Read more...

allocateAt()

No summary provided. Read more...

at()

No summary provided. Read more...

at() const

No summary provided. Read more...

allocate()

No summary provided. Read more...

allocateAt()

No summary provided. Read more...

find()

No summary provided. Read more...

dec()

@fn void AbstractPartition::dec() Decreases number of allocations. Decreases number of allocations. Read more...

element_size()

@fn virtual uint32_t AbstractPartition::element_size() = 0; Access to concrete element-size. Used internally. Access to concrete element-size. Used internally. Read more...

element()

@fn virtual void* AbstractPartition::element(uint16_t index) = 0; Access to stored element. Used internally. Access to stored element. Used internally. Read more...

element() const

@fn virtual const void* AbstractPartition::element(uint16_t index) const = 0; Access to stored element, const version. Access to stored element, const version. Read more...

References

LocationReferrerScopeText
AbstractPartition.hpp:34
class AbstractPartition
MVPHeap.hpp:21
class AbstractPartition;
MVPHeap.hpp:52touchgfx::MVPHeap::MVPHeap()
MVPHeap(AbstractPartition& pres,
MVPHeap.hpp:53touchgfx::MVPHeap::MVPHeap()
AbstractPartition& scr,
MVPHeap.hpp:54touchgfx::MVPHeap::MVPHeap()
AbstractPartition& tra,
MVPHeap.hpp:73touchgfx::MVPHeap::presenterStoragetouchgfx::MVPHeap
AbstractPartition& presenterStorage; ///< A memory partition containing enough memory to hold the largest presenter.
MVPHeap.hpp:74touchgfx::MVPHeap::screenStoragetouchgfx::MVPHeap
AbstractPartition& screenStorage; ///< A memory partition containing enough memory to hold the largest view.
MVPHeap.hpp:75touchgfx::MVPHeap::transitionStoragetouchgfx::MVPHeap
AbstractPartition& transitionStorage; ///< A memory partition containing enough memory to hold the largest transition.
Partition.hpp:41
class Partition : public AbstractPartition