#include <services.h>
Inheritance diagram for Ishtar::ServicesContainer:
Public Member Functions | |
ServicesContainer () | |
Constructor. | |
virtual | ~ServicesContainer () |
Destructor, destroy all services. | |
void | addService (Service *s) |
Add Service s. | |
void | eraseService (Service *s) |
Remove service s and destroy it. | |
Service * | findService (const std::string &name) |
Return the service given its name, return NULL if no service with this name is available. | |
Public Attributes | |
std::map< UInt32, Service * > | services |
All services indexed by their UID. | |
std::map< Service *, UInt32 > | reverseServices |
All UID indexed by the service they refer to. | |
std::map< std::string, Service * > | namedServices |
All services indexed by their name. | |
UInt32 | maxUID |
All service UID are below maxUID. |