// $Id$
//
-// Copyright (C) 2007
-// Fraunhofer Institute for Open Communication Systems (FOKUS)
-// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
/** \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 <string>
#include <vector>
#include <list>
-#include <boost/date_time/posix_time/posix_time.hpp>
#include "Levels.hh"
+#include "TimeSource.hh"
///////////////////////////////ih.p////////////////////////////////////////
/** \brief Internal: Area base class */
struct AreaBase
{
- virtual ~AreaBase() {};
+ virtual ~AreaBase();
std::string fullName() const;
virtual std::string v_name() const;
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 {