Public Attributes | List of all members
PLMD::PlumedMain::plumed_error_handler Struct Reference

Error handler. More...

Public Attributes

void(* handler )(void *ptr, int code, const char *)
 
void * ptr
 

Detailed Description

Error handler.

Pointer to a function that is called an exception thrown within the library is about to leave the library. Can be used to remap exceptions in case the plumed wrapper was compiled with a different version of the C++ standard library. Should only be called from plumed_plumedmain_cmd().

Member Data Documentation

◆ handler

void(* PLMD::PlumedMain::plumed_error_handler::handler) (void *ptr, int code, const char *)

◆ ptr

void* PLMD::PlumedMain::plumed_error_handler::ptr

The documentation for this struct was generated from the following file: