system.h File Reference

Classes

class  Delegate< T >
 
class  System
 

Namespaces

 maxon
 
 maxon::details
 

Typedefs

using SystemFreeObject = void(*)(void *self)
 
using DestructorPointer = void(*)(void *)
 

Functions

 MAXON_MEMBERFUNCTION_DETECTOR (GetReferenceCounter)
 
StrongReferenceCounter & PrivateGetReferenceCounter (const void *obj)
 
template<typename T >
void PrivateFreeWithDestructor (const T *obj)
 

Variables

 ESTIMATEONLY
 
 QUIET
 
 VERBOSE
 
 LEAKGRAPH
 
 PRIVATE_OFF
 
 PRIVATE_ON
 
 LOWMEM_CLEANUP
 
 LOWMEM_FAILURE
 
 WARNMEM_LIMIT
 
 NONE
 
 OMIT_HELP
 
 DONTWARN_MISSINGARGUMENTS
 
System::SPECIALBEHAVIOR g_systemBehavior
 

Variable Documentation

◆ ESTIMATEONLY

ESTIMATEONLY

Just return current total allocation estimate.

◆ QUIET

QUIET

Just return allocation numbers.

◆ VERBOSE

VERBOSE

Additional details will be sent to the console.

◆ LEAKGRAPH

LEAKGRAPH

Create a memory leak graph (circular references).

◆ PRIVATE_OFF

PRIVATE_OFF

◆ PRIVATE_ON

PRIVATE_ON

◆ LOWMEM_CLEANUP

LOWMEM_CLEANUP

The observer should free resources/caches and then the allocator will retry.

◆ LOWMEM_FAILURE

LOWMEM_FAILURE

An allocation failed (even retry didn't change that).

◆ WARNMEM_LIMIT

WARNMEM_LIMIT

The allocations exceed a user specified amount of memory.

◆ NONE

NONE

◆ OMIT_HELP

OMIT_HELP

If set "-help" will not start help mode of the underlying base system, whereas "help" will. This is legacy behavior for C4D.

◆ DONTWARN_MISSINGARGUMENTS

DONTWARN_MISSINGARGUMENTS

If set there will be no output in the console if an argument is passed but not defined in the code.