Reference

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