X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FAreaRegistry.ih;h=53b3d1009e08de77f44d0f555f01e39f446207ba;hb=1f9ac79c1c2dfbb7abe22e1c816ca43d6582102b;hp=e8773fe4093525d3b4d7230011adaa1c451c93b6;hpb=f6f670f2dbc82b77db29df6cd452f2b351b9662a;p=senf.git diff --git a/Utils/Logger/AreaRegistry.ih b/Utils/Logger/AreaRegistry.ih index e8773fe..53b3d10 100644 --- a/Utils/Logger/AreaRegistry.ih +++ b/Utils/Logger/AreaRegistry.ih @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -23,15 +23,15 @@ /** \file \brief AreaRegistry internal header */ -#ifndef IH_AreaRegistry_ -#define IH_AreaRegistry_ 1 +#ifndef IH_SENF_Utils_Logger_AreaRegistry_ +#define IH_SENF_Utils_Logger_AreaRegistry_ 1 // Custom includes #include #include #include -#include #include "Levels.hh" +#include "TimeSource.hh" ///////////////////////////////ih.p//////////////////////////////////////// @@ -47,7 +47,7 @@ namespace detail { /** \brief Internal: Area base class */ struct AreaBase { - virtual ~AreaBase() {}; + virtual ~AreaBase(); std::string fullName() const; virtual std::string v_name() const; @@ -57,8 +57,8 @@ namespace detail { unsigned limit(StreamBase const & stream) const; void updateRoutingCache(Target & target, StreamBase const & stream, unsigned limit) const; void removeRoutingCache(Target & target, StreamBase const & stream) const; - void write(boost::posix_time::ptime timestamp, StreamBase const & stream, unsigned level, - std::string msg) const; + void write(time_type timestamp, StreamBase const & stream, unsigned level, + std::string const & msg) const; private: struct RouteEntry {