---
name: "ACE_Dynamic_Service"
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_Dynamic_Service"
---

# ACE\_Dynamic\_Service(3)

Provides a general interface to retrieve arbitrary objects from the ACE service repository.

## NAME

ACE\_Dynamic\_Service -  Provides a general interface to retrieve arbitrary objects from the ACE service repository.

## SYNOPSIS

```
#include <ace/Dynamic_Service.h>
template<class SERVICE>
class ACE_Dynamic_Service
{
  public:
    static SERVICE *instance (const char *name);
    void dump (void) const;
};
```

## DESCRIPTION

Uses "name" for lookup in the ACE service repository. Obtains the object and returns it as the appropriate type.

## PUBLIC MEMBERS

```
static SERVICE *instance (const char *name);
```

Return instance using name to search the Service\_Repository.

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

Dump the current state of the object.

## AUTHOR

Prashant Jain, Doug Schmidt

## LIBRARY

ace
