Poco::UPnP::UPnPGen

class ServiceManager

Library: UPnP/UPnPGen
Package: Generator
Header: Poco/UPnP/UPnPGen/ServiceManager.h

Description

The ServiceManager manages all services

Member Summary

Member Functions: addService, getService, hasService, instance

Types

NamedServices

typedef std::map < std::string, Service > NamedServices;

Constructors

Destructor

~ServiceManager protected

~ServiceManager();

Destroys the ServiceManager.

Member Functions

addService

void addService(
    const std::string & name,
    const Service & service
);

getService

const Service & getService(
    const std::string & name
) const;

hasService

bool hasService(
    const std::string & name
) const;

instance static

static ServiceManager & instance();