All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
cleanup Struct Reference
Collaboration diagram for cleanup:

Public Member Functions

 cleanup (mbdyn_cleanup_f handler)
 ~cleanup (void)

Public Attributes

mbdyn_cleanup_f handler
void * data

Detailed Description

Definition at line 39 of file cleanup.cc.

Constructor & Destructor Documentation

cleanup::cleanup ( mbdyn_cleanup_f  handler)

Definition at line 48 of file cleanup.cc.

References NO_OP.

49 : handler(handler), data(0)
50 {
51  NO_OP;
52 }
#define NO_OP
Definition: myassert.h:74
mbdyn_cleanup_f handler
Definition: cleanup.cc:40
void * data
Definition: cleanup.cc:41
cleanup::~cleanup ( void  )

Definition at line 54 of file cleanup.cc.

References NO_OP.

55 {
56  NO_OP;
57 }
#define NO_OP
Definition: myassert.h:74

Member Data Documentation

void* cleanup::data

Definition at line 41 of file cleanup.cc.

Referenced by mbdyn_cleanup(), and mbdyn_cleanup_register().

mbdyn_cleanup_f cleanup::handler

Definition at line 40 of file cleanup.cc.

Referenced by mbdyn_cleanup().

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