#ifndef FACT_DimDescriptionService #define FACT_DimDescriptionService #include class DimService; class DimDescriptionService { static int fCount; /// Counter to count the number of instatiations static DimService *fService; /// Pointer to the DimService distributing the desscriptions static std::string fData; /// Data to be distributed with the service std::string fDescription; /// Local storage for the applied description public: DimDescriptionService(const std::string &name, const std::string &format); ~DimDescriptionService(); std::string GetDescription() const { return fDescription; } }; #endif