Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • Modules
  • Namespaces
    • namespace Enlighten
    • namespace Geo
      • class Geo AbstractRayChunk
      • class Geo AnsiAllocator
      • class Geo AtlasMesh
      • class Geo AtlasMeshChart
      • class Geo AtlasMeshPackingFlags
      • class Geo BasicAllocator
      • class Geo ChartParametiserFailure
      • class Geo ConvexHull
      • class Geo ConvexHullBuilder
      • class Geo CovarianceMatrix
      • class Geo CovarianceMatrixBuilder
      • class Geo EmbreeRtMeshVisitor
      • class Geo Geo2DTransform
      • class Geo GeoAlignedFreeDestructor
      • class Geo GeoAllocationPage
      • class Geo GeoAllocator
      • class Geo GeoAllocatorUnchecked
      • class Geo GeoArray
      • class Geo GeoArray_Stl
      • class Geo GeoAutoArrayPtr
      • class Geo GeoAutoDeleteArray
      • class Geo GeoAutoDeleteList
      • class Geo GeoAutoDeleteMap
      • class Geo GeoAutoPtr
      • class Geo GeoAutoReleaseArray
      • class Geo GeoAutoReleaseMap
      • class Geo GeoAutoReleasePtr
      • class Geo GeoBitArray
      • class Geo GeoBitStore
      • class Geo GeoBlueNoise
      • class Geo GeoBlueNoiseDiskPalette
      • class Geo GeoBlueNoiseRayPalette
      • class Geo GeoBoundingBox
      • class Geo GeoBoundingSphere
      • class Geo GeoBufferedFileStream
      • class Geo GeoBufferedInputStream
      • class Geo GeoCriticalSection
      • class Geo GeoDebugAllocator
      • class Geo GeoDelegateDestructor
      • class Geo GeoDeleteArrayDestructor
      • class Geo GeoDeleteDestructor
      • class Geo GeoDepthCubeMap
      • class Geo GeoEmbreeContext
      • class Geo GeoEqualCString
      • class Geo GeoEvent
      • class Geo GeoFileManager
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo BasicAllocator

    This is the documentation for Enlighten.

    class Geo BasicAllocator

    Nov 21, 2019

    class Geo::BasicAllocator

    A basic memory allocator.

    Typedefs

    Name Description
    std::size_t size_type

    The type used to represent memory sizes.

    Functions

    Name Description
    Allocate(size_type, size_type)

    Find the first fit free block and do the allocation.

    BasicAllocator(void *, size_type)

    Creates a BasicAllocator that allocates memory within the given block.

    Free(void *)

    Free an existing allocation.

    IsAllocationValid(void *)

    Checks if a block of memory is a valid allocation.


    void* Geo::BasicAllocator::Allocate


    public: void * Allocate
    (
        size_type size,
        size_type alignment
    )


    Find the first fit free block and do the allocation.


    Geo::BasicAllocator::BasicAllocator


    public: BasicAllocator
    (
        void * memory,
        size_type size
    )


    Creates a BasicAllocator that allocates memory within the given block.


    void Geo::BasicAllocator::Free


    public: void Free
    (
        void * mem
    )


    Free an existing allocation.


    bool Geo::BasicAllocator::IsAllocationValid


    public: bool IsAllocationValid
    (
        void * mem
    )


    Checks if a block of memory is a valid allocation.

    , multiple selections available,
    {"serverDuration": 16, "requestCorrelationId": "f4f39cd724b74ed28c2157011a310682"}