Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Baigudin Software registers the copyright of its own operating system – Embedded Object Operating System

The Russian Federal Service for Intellectual Property (Rospatent) registers the copyright of Embedded Object Operating System – Baigudin Software’s own embedded object-oriented real-time operating system.

Interface «eoos::api::Heap»

Heap memory interface.

public: virtual ~Heap();

Destructor.

public: virtual void* allocate(size_t size, void* ptr);

Allocates memory.

Parameters:
size — Required memory size in byte.
ptr — NULLPTR value becomes to allocate memory, and other given values are simply returned as memory address.

Returns:
Pointer to allocated memory or NULLPTR.

public: virtual void free(void* ptr);

Frees allocated memory.

Parameters:
ptr — Pointer to allocated memory.

public: virtual bool_t isConstructed() const;

Tests if this object has been constructed.

Returns:
True if object has been constructed successfully.

Back to class list