pj_pool_factory class final
This structure contains the declaration for pool factory interface.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter -
create_pool
↔ Pointer<
NativeFunction< Pointer< >pj_pool_t> Function(Pointer<pj_pool_factory> factory1, Pointer<Char> name, pj_size_t initial_size, pj_size_t increment_size, Pointer<pj_pool_callback> callback)> -
Create a new pool from the pool factory.
getter/setter pair
-
dump_status
↔ Pointer<
NativeFunction< Void Function(Pointer< >pj_pool_factory> factory1, pj_bool_t detail)> -
Dump pool status to log.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
on_block_alloc
↔ Pointer<
NativeFunction< pj_bool_t Function(Pointer< >pj_pool_factory> factory1, pj_size_t size)> -
This is optional callback to be called by allocation policy when
it allocates a new memory block. The factory may use this callback
for example to keep track of the total number of memory blocks
currently allocated by applications.
getter/setter pair
-
on_block_free
↔ Pointer<
NativeFunction< Void Function(Pointer< >pj_pool_factory> factory1, pj_size_t size)> -
This is optional callback to be called by allocation policy when
it frees memory block. The factory may use this callback
for example to keep track of the total number of memory blocks
currently allocated by applications.
getter/setter pair
- policy ↔ pj_pool_factory_policy
-
Memory pool policy.
getter/setter pair
-
release_pool
↔ Pointer<
NativeFunction< Void Function(Pointer< >pj_pool_factory> factory1, Pointer<pj_pool_t> pool)> -
Release the pool to the pool factory.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited