Geogram  Version 1.8.9-rc
A programming library of geometric algorithms
psm.h File Reference

Some replacement functions for Geogram classes exposed in Pluggable Software Modules. More...

#include <assert.h>
#include <iostream>
#include <string>

Go to the source code of this file.

Namespaces

 GEO
 Global Vorpaline namespace.
 
 GEO::Process
 Abstraction layer for process management and multi-threading.
 

Macros

#define GEOGRAM_PSM
 
#define geo_assert(x)   assert(x)
 
#define geo_range_assert(x, min_val, max_val)    assert((x) >= (min_val) && (x) <= (max_val))
 
#define geo_assert_not_reached   assert(0)
 
#define geo_debug_assert(x)
 
#define geo_debug_range_assert(x, min_val, max_val)
 
#define geo_parano_assert(x)
 
#define geo_parano_range_assert(x, min_val, max_val)
 
#define geo_cite(x)
 
#define geo_cite_with_info(x, y)
 
#define FPG_UNCERTAIN_VALUE   0
 
#define GEOGRAM_SPINLOCK_INIT   0
 
#define GEOGRAM_WITH_PDEL
 

Typedefs

typedef int GEO::Process::spinlock
 A lightweight synchronization structure. More...
 

Functions

std::ostream & GEO::Logger::out (const std::string &name)
 
std::ostream & GEO::Logger::err (const std::string &name)
 
std::ostream & GEO::Logger::warn (const std::string &name)
 
void GEO::Process::acquire_spinlock (spinlock &x)
 
void GEO::Process::release_spinlock (spinlock &x)
 

Detailed Description

Some replacement functions for Geogram classes exposed in Pluggable Software Modules.

Definition in file psm.h.