ldas-tools-al 2.6.7
Loading...
Searching...
No Matches
Directory.cc File Reference
#include <ldastoolsal_config.h>
#include <sys/types.h>
#include <dirent.h>
#include <limits.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <cstddef>
#include <list>
#include <stdexcept>
#include <sstream>
#include <string>
#include <boost/shared_ptr.hpp>
#include "ldastoolsal/MemChecker.hh"
#include "ldastoolsal/Directory.hh"
#include "ldastoolsal/mutexlock.hh"
#include "ldastoolsal/TriStatePool.hh"
#include "ldastoolsal/ErrorLog.hh"
#include "ldastoolsal/Singleton.hh"
#include "ldastoolsal/System.hh"
#include "ldastoolsal/SystemCallTask.hh"
#include "ldastoolsal/Timeout.hh"
Include dependency graph for Directory.cc:

Classes

class  LDASTools::AL::Directory::Internals
class  anonymous_namespace{Directory.cc}::DirectoryPool
 Collection of reusable buffers. More...
class  ErrorLog
 Error reporting mechanism. More...
class  Directory
 Read the contents of a directory. More...
class  SystemCallTask
 Perform a system call within a thread. More...
class  TimeoutException
class  TriStatePool< T >
 Maintain a collection system calls. More...
class  anonymous_namespace{Directory.cc}::MemChecker
 Memory garbage collector. More...

Namespaces

namespace  LDASTools
 Objects of general use and interst.
namespace  LDASTools::AL
 The Abstraction Layer.
namespace  anonymous_namespace{Directory.cc}

Macros

#define DYNAMIC_BUFFER   1
#define READDIR_R_DEPRICATED   1

Typedefs

typedef struct dirent dirent_type
typedef boost::shared_ptr< Directory::Internalsanonymous_namespace{Directory.cc}::value_type

Functions

value_type anonymous_namespace{Directory.cc}::create_value_type ()
 Create a new instance for use in the pool.
int anonymous_namespace{Directory.cc}::process_request (value_type DirInfo)
 anonymous_namespace{Directory.cc}::SINGLETON_TS_INST (DirectoryPool)
const std::string ErrnoMessage ()
int Timeout (Task *CallerTask, int Seconds, int &Status, bool ThrowTimeoutException=true)

Variables

ErrorLog StdErrLog
const int TIMEOUT_COMPLETED

Macro Definition Documentation

◆ DYNAMIC_BUFFER

#define DYNAMIC_BUFFER   1

◆ READDIR_R_DEPRICATED

#define READDIR_R_DEPRICATED   1

Typedef Documentation

◆ dirent_type

typedef struct dirent dirent_type

Function Documentation

◆ ErrnoMessage()

const std::string LDASTools::System::ErrnoMessage ( )

◆ Timeout()

int LDASTools::AL::Timeout ( Task * CallerTask,
int Seconds,
int & Status,
bool ThrowTimeoutException = true )

Variable Documentation

◆ StdErrLog

ErrorLog LDASTools::AL::StdErrLog

◆ TIMEOUT_COMPLETED

const int LDASTools::AL::TIMEOUT_COMPLETED