SENF Extensible Network Framework
Home
Overview
Examples
HowTos
Glossary
Ext
NetEmu
PPI
Packets
Scheduler
Socket
Utils
Console
Daemon
Logger
Termlib
LazyDirectory.hh
Go to the documentation of this file.
1
//
2
// Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3
// Network Research Group (NET)
4
// Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5
// Contact: support@wiback.org
6
//
7
// This file is part of the SENF code tree.
8
// It is licensed under the 3-clause BSD License (aka New BSD License).
9
// See LICENSE.txt in the top level directory for details or visit
10
// https://opensource.org/licenses/BSD-3-Clause
11
//
12
13
17
#ifndef HH_SENF_Utils_Console_LazyDirectory_
18
#define HH_SENF_Utils_Console_LazyDirectory_ 1
19
20
// Custom includes
21
#include <boost/noncopyable.hpp>
22
#include <boost/scoped_ptr.hpp>
23
24
//#include "LazyDirectory.mpp"
25
//-/////////////////////////////////////////////////////////////////////////////////////////////////
26
27
namespace
senf
{
28
namespace
console {
29
30
template
<
class
Owner=
void
>
class
ScopedDirectory
;
31
32
class
LazyDirectory
33
: boost::noncopyable
34
{
35
public
:
36
LazyDirectory
();
37
~LazyDirectory
();
38
39
ScopedDirectory<>
&
operator()
();
40
41
private
:
42
boost::scoped_ptr< ScopedDirectory<> > p_;
43
};
44
45
}}
46
47
//-/////////////////////////////////////////////////////////////////////////////////////////////////
48
//#include "LazyDirectory.cci"
49
//#include "LazyDirectory.ct"
50
//#include "LazyDirectory.cti"
51
#endif
52
53
54
// Local Variables:
55
// mode: c++
56
// fill-column: 100
57
// comment-column: 40
58
// c-file-style: "senf"
59
// indent-tabs-mode: nil
60
// ispell-local-dictionary: "american"
61
// compile-command: "scons -u test"
62
// End:
senf::console::LazyDirectory::operator()
ScopedDirectory & operator()()
Definition:
LazyDirectory.cc:34
senf::console::ScopedDirectory
DirectoryNode member proxy.
Definition:
LazyDirectory.hh:30
senf::console::LazyDirectory
Definition:
LazyDirectory.hh:32
senf::console::LazyDirectory::LazyDirectory
LazyDirectory()
Definition:
LazyDirectory.cc:27
senf
Definition:
Config.hh:28
senf::console::LazyDirectory::~LazyDirectory
~LazyDirectory()
Definition:
LazyDirectory.cc:31