---
name: "ACE_Static_Svc_Descriptor"
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_Static_Svc_Descriptor"
---

# ACE\_Static\_Svc\_Descriptor(3)

Holds the information necessary to describe a statically linked Svc.

## NAME

ACE\_Static\_Svc\_Descriptor -  Holds the information necessary to describe a statically linked Svc.

## SYNOPSIS

```
#include <ace/Service_Config.h>
class ACE_Static_Svc_Descriptor
{
  public:
    const ASYS_TCHAR *name_;
    int type_;
    ACE_SERVICE_ALLOCATOR alloc_;
    u_int flags_;
    int active_;
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
    int operator== (ACE_Static_Svc_Descriptor &) const;
};
```

## PUBLIC MEMBERS

```
const ASYS_TCHAR *name_;
```

Name of the service.

```
int type_;
```

Type of service.

```
ACE_SERVICE_ALLOCATOR alloc_;
```

Factory function that allocates the service.

```
u_int flags_;
```

Bitmask flags indicating how the framework should delete memory.

```
int active_;
```

Flag indicating whether the service starts out active.

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

Dump the state of an object.

```
ACE_ALLOC_HOOK_DECLARE;
```

Declare the dynamic allocation hooks.

```
int operator== (ACE_Static_Svc_Descriptor &) const;
```

Compare two service descriptors for equality.

## AUTHOR

Doug Schmidt

## LIBRARY

ace
