◆ cancel_method
◆ name_type
◆ signal_type
Data class for passing signal information.
◆ mode_type
Enumerator |
---|
MODE_BLOCK_READ | |
MODE_OPEN | |
MODE_CLOSE | |
MODE_NEXT | |
◆ state_type
Enumerator |
---|
STATE_OPEN | |
STATE_OPENING | |
STATE_READING | |
STATE_CLOSING | |
STATE_CLOSED | |
◆ Internals()
LDASTools::AL::Directory::Internals::Internals |
( |
| ) |
|
◆ ~Internals()
LDASTools::AL::Directory::Internals::~Internals |
( |
| ) |
|
|
virtual |
◆ Baton()
Retrieve baton to gain exclusive access.
◆ CancelMethod()
Retrieve method to use for terminating the task.
- Returns
- The method to be used to terminate the task.
◆ CancelSignal()
Retrieve signal to use for terminating the task.
- Returns
- The signal to be used to terminate the task.
◆ delete_on_completion()
void LDASTools::AL::Task::delete_on_completion |
( |
bool |
Value | ) |
|
|
protectedinherited |
◆ DeleteOnCompletion()
bool LDASTools::AL::Task::DeleteOnCompletion |
( |
| ) |
const |
|
inherited |
Retrieve state information concearning deletion.
- Returns
- True if the task should be deleted once terminated.
◆ DirectoryName()
void LDASTools::AL::Directory::Internals::DirectoryName |
( |
const std::string & |
Name | ) |
|
|
inline |
Store the name of the directory to be read.
◆ DirName()
const std::string & LDASTools::AL::Directory::Internals::DirName |
( |
| ) |
const |
|
inline |
◆ eval()
int LDASTools::AL::Directory::Internals::eval |
( |
| ) |
|
|
protectedvirtual |
Do the system call.
- Returns
- Upon successful completion, the value zero is returned. Upon failure, the value -1 is returned and errno is set.
Implements LDASTools::AL::SystemCallTask.
◆ Eval()
int LDASTools::AL::Directory::Internals::Eval |
( |
mode_type |
Mode | ) |
|
|
inline |
◆ Fd()
int LDASTools::AL::Directory::Internals::Fd |
( |
| ) |
const |
|
inline |
◆ Filename()
const char * LDASTools::AL::Directory::Internals::Filename |
( |
| ) |
const |
|
inline |
Obtain the name of the file in the directory buffer.
◆ makeAvailable()
bool LDASTools::AL::Directory::Internals::makeAvailable |
( |
| ) |
const |
|
virtual |
Test if the object should be made immediate available.
Virtual method called to test if object should be made immedately available.
- Returns
- True if the object can be immediately reused.
Reimplemented from LDASTools::AL::TriStateInterface.
◆ mode()
void LDASTools::AL::Directory::Internals::mode |
( |
mode_type |
Mode | ) |
|
|
inlineprivate |
◆ OnCompletion()
void LDASTools::AL::Task::OnCompletion |
( |
int |
TaskThreadState | ) |
|
|
virtualinherited |
Action to be done when task completes.
This function is called regardless of why the task was terminated. It allows for any special cleanup or other action that needs to happen at the end of a task regardless of why the task terminated.
◆ operator()()
void LDASTools::AL::SystemCallTask::operator() |
( |
| ) |
|
|
privatevirtualinherited |
◆ State() [1/2]
Return the current directory state.
◆ State() [2/2]
void LDASTools::AL::Directory::Internals::State |
( |
state_type |
State | ) |
|
|
inline |
Establish the state of the object;.
◆ stateNoLock() [1/2]
◆ stateNoLock() [2/2]
void LDASTools::AL::Directory::Internals::stateNoLock |
( |
state_type |
State | ) |
|
|
inlineprotected |
◆ SystemErrNo()
int LDASTools::AL::SystemCall::SystemErrNo |
( |
| ) |
const |
|
inlineinherited |
Return the thread specific value of errno.
◆ SystemReturnCode()
int LDASTools::AL::SystemCall::SystemReturnCode |
( |
| ) |
const |
|
inlineinherited |
Return the return code of the system call.
◆ TaskName()
Get the name of the current task.
◆ taskName()
void LDASTools::AL::Task::taskName |
( |
const std::string & |
Name | ) |
|
|
inlineprotectedinherited |
◆ _p
std::unique_ptr< _p_type > LDASTools::AL::Task::_p |
|
privateinherited |
◆ m_block_read
◆ m_buffer
dirent_type* LDASTools::AL::Directory::Internals::m_buffer |
|
private |
◆ m_dirname
std::string LDASTools::AL::Directory::Internals::m_dirname |
|
private |
◆ m_dirp
DIR* LDASTools::AL::Directory::Internals::m_dirp |
|
private |
◆ m_errNo
int LDASTools::AL::SystemCall::m_errNo |
|
protectedinherited |
Thread specific value of errno at time of exit.
This allows for the thread specific errno value to be known outside of the calling thread. It is most benificial for error recovery as some conditions should cause a retry.
◆ m_fd
int LDASTools::AL::Directory::Internals::m_fd |
|
private |
◆ m_mode
mode_type LDASTools::AL::Directory::Internals::m_mode |
◆ m_returnCode
int LDASTools::AL::SystemCall::m_returnCode |
|
protectedinherited |
Return code of the system call.
This is the return code returned by the system call as defined by the system call's documentation.
union { ... } LDASTools::AL::Directory::Internals::m_retval |
◆ m_state
state_type LDASTools::AL::Directory::Internals::m_state |
|
private |
◆ m_state_baton
◆ m_wait_time_max
int LDASTools::AL::Directory::Internals::m_wait_time_max = 20 |
|
static |
◆ name
◆ next
bool LDASTools::AL::Directory::Internals::next |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.4/src/Directory.cc