Glass PM C++ Macros

macro PM_ERROR_LOCATION
Current error location. public define PM_ERROR_LOCATION __FILE__, __FUNCTION__ , __LINE__
 * Source: pm_error.h:121
 * Author: Dmitry A.Steklenev
 * Version: 1.0
 * Code:

macro PM_MAX_THREADS
Sets the maximum number of threads supported by the library. public define PM_MAX_THREADS 50
 * Source: pm_gui.h:23
 * Author: Dmitry A.Steklenev
 * Version: 1.0
 * Code:

macro PM_THROW_DOSERROR
Throws the Operating System (DOS) exception. public define PM_THROW_DOSERROR ( rc ) PM_THROW_ERROR ( rc, "DOS" , NULL )
 * Source: pm_error.h:154
 * Author: Dmitry A.Steklenev
 * Version: 1.0
 * Code:

macro PM_THROW_ERROR
Throws exception.

The PM_THROW_ERROR macro accepts as input an error identifier and error description. It expands to set the location information to the instance, logs all instance data, and then throws the exception. public define PM_THROW_ERROR ( id, group , what ) throw ( PMError ( id , group , what , PM_ERROR_LOCATION ) . show ( PM_STDERR ) )
 * Source: pm_error.h:135
 * Author: Dmitry A.Steklenev
 * Version: 1.0
 * Code:

macro PM_THROW_GUIERROR
Throws the GUI (WIN) exception. public define PM_THROW_GUIERROR throw ( PMError ( PM_ERROR_LOCATION ) . show ( PM_STDERR ) )
 * Source: pm_error.h:145
 * Author: Dmitry A.Steklenev
 * Version: 1.0
 * Code: