---
name: "ACE_Auto_Event"
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_Auto_Event"
---

# ACE\_Auto\_Event(3)

Auto Events.

## NAME

ACE\_Auto\_Event -  Auto Events.

## SYNOPSIS

```
#include <ace/Synch.h>
class ACE_Auto_Event : public ACE_Event
{
  public:
    ACE_Auto_Event (
        int initial_state = 0,
        int type = USYNC_THREAD,
        LPCTSTR name = 0,
        void *arg = 0
        );
    ~ACE_Auto_Event (void);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
};
```

## DESCRIPTION

Wrappers for various synchronization routines.

## PUBLIC MEMBERS

```
ACE_Auto_Event (
    int initial_state = 0,
    int type = USYNC_THREAD,
    LPCTSTR name = 0,
    void *arg = 0
    );
```

constructor which will create auto event

```
~ACE_Auto_Event (void);
```

Default dtor.

```
void dump (void) const;
```

Dump the state of an object.

```
ACE_ALLOC_HOOK_DECLARE;
```

Declare the dynamic allocation hooks

## AUTHOR

Doug Schmidt

## LIBRARY

ace
