GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73574
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mm.h File Reference
#include <sys/types.h>
Include dependency graph for mm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MM_register
 
class  mm_register_init
 

Macros

#define GRASS_MM_USE_EXCEPTION_SPECIFIER
 
#define MM_REGISTER_VERSION   2
 
#define MM_DEFAULT_MM_SIZE   (40<<20)
 

Enumerations

enum  MM_mode { MM_IGNORE_MEMORY_EXCEEDED =0, MM_ABORT_ON_MEMORY_EXCEEDED, MM_WARN_ON_MEMORY_EXCEEDED }
 
enum  MM_err { MM_ERROR_NO_ERROR = 0, MM_ERROR_INSUFFICIENT_SPACE, MM_ERROR_UNDERFLOW, MM_ERROR_EXCESSIVE_ALLOCATION }
 
enum  MM_stream_usage { MM_STREAM_USAGE_OVERHEAD = 1, MM_STREAM_USAGE_BUFFER, MM_STREAM_USAGE_CURRENT, MM_STREAM_USAGE_MAXIMUM }
 

Variables

MM_register MM_manager
 

Macro Definition Documentation

#define GRASS_MM_USE_EXCEPTION_SPECIFIER

Definition at line 45 of file mm.h.

#define MM_DEFAULT_MM_SIZE   (40<<20)

Definition at line 51 of file mm.h.

Referenced by mm_register_init::mm_register_init().

#define MM_REGISTER_VERSION   2

Definition at line 48 of file mm.h.

Enumeration Type Documentation

enum MM_err
Enumerator
MM_ERROR_NO_ERROR 
MM_ERROR_INSUFFICIENT_SPACE 
MM_ERROR_UNDERFLOW 
MM_ERROR_EXCESSIVE_ALLOCATION 

Definition at line 63 of file mm.h.

enum MM_mode
Enumerator
MM_IGNORE_MEMORY_EXCEEDED 
MM_ABORT_ON_MEMORY_EXCEEDED 
MM_WARN_ON_MEMORY_EXCEEDED 

Definition at line 55 of file mm.h.

Enumerator
MM_STREAM_USAGE_OVERHEAD 
MM_STREAM_USAGE_BUFFER 
MM_STREAM_USAGE_CURRENT 
MM_STREAM_USAGE_MAXIMUM 

Definition at line 72 of file mm.h.

Variable Documentation