---
name: "ACE_Cleanup"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Cleanup"
---

# ACE\_Cleanup(3)

Base class for objects that are cleaned by ACE\_Object\_Manager.

## NAME

ACE\_Cleanup -  Base class for objects that are cleaned by ACE\_Object\_Manager.

## SYNOPSIS

```
#include <ace/OS.h>
class ACE_Cleanup
{
  public:
    ACE_Cleanup (void);
    virtual ~ACE_Cleanup (void);
    virtual void cleanup (void *param = 0);
};
```

## PUBLIC MEMBERS

```
ACE_Cleanup (void);
```

No-op constructor.

```
virtual ~ACE_Cleanup (void);
```

Destructor.

```
virtual void cleanup (void *param = 0);
```

Cleanup method that, by default, simply deletes itself.

## AUTHOR

Doug Schmidt schmidt@cs.wustl.edu, Jesper S. M\|ller stophph@diku.dk, and a cast of thousands...

## The ACE\_Sched\_Priority type should be used for platform-

independent thread and process priorities, by convention. int should be used for OS-specific priorities.

## typedef for the \_stat data structure

## Giving unique ACE scoped names for some important

RTSignal-Related constants. Becuase sometimes, different platforms use different names for these constants.

## LIBRARY

ace
