ldas-tools-al 2.6.7
|
Public Types | |
enum | mode_type { MODE_BLOCK_READ , MODE_OPEN , MODE_CLOSE , MODE_NEXT } |
enum | state_type { STATE_OPEN , STATE_OPENING , STATE_READING , STATE_CLOSING , STATE_CLOSED } |
typedef boost::shared_ptr< char > | name_type |
typedef boost::shared_ptr< char > | name_type |
typedef boost::shared_ptr< char > | name_type |
typedef Thread::cancel_type | cancel_method |
typedef Thread::cancel_type | cancel_method |
typedef Thread::cancel_type | cancel_method |
typedef Thread::signal_type | signal_type |
Data class for passing signal information. More... | |
typedef Thread::signal_type | signal_type |
Data class for passing signal information. More... | |
typedef Thread::signal_type | signal_type |
Data class for passing signal information. More... | |
Public Member Functions | |
Internals () | |
virtual | ~Internals () |
void | DirectoryName (const std::string &Name) |
Store the name of the directory to be read. More... | |
state_type | State () const |
Return the current directory state. More... | |
void | State (state_type State) |
Establish the state of the object;. More... | |
const std::string & | DirName () const |
int | Fd () const |
const char * | Filename () const |
Obtain the name of the file in the directory buffer. More... | |
int | Eval (mode_type Mode) |
virtual bool | makeAvailable () const |
Test if the object should be made immediate available. More... | |
int | SystemErrNo () const |
Return the thread specific value of errno. More... | |
int | SystemErrNo () const |
Return the thread specific value of errno. More... | |
int | SystemErrNo () const |
Return the thread specific value of errno. More... | |
int | SystemReturnCode () const |
Return the return code of the system call. More... | |
int | SystemReturnCode () const |
Return the return code of the system call. More... | |
int | SystemReturnCode () const |
Return the return code of the system call. More... | |
MutexLock::baton_type | Baton () const |
Retrieve baton to gain exclusive access. More... | |
MutexLock::baton_type | Baton () const |
Retrieve baton to gain exclusive access. More... | |
MutexLock::baton_type | Baton () const |
Retrieve baton to gain exclusive access. More... | |
cancel_method | CancelMethod () const |
Retrieve method to use for terminating the task. More... | |
cancel_method | CancelMethod () const |
Retrieve method to use for terminating the task. More... | |
cancel_method | CancelMethod () const |
Retrieve method to use for terminating the task. More... | |
signal_type | CancelSignal () const |
Retrieve signal to use for terminating the task. More... | |
signal_type | CancelSignal () const |
Retrieve signal to use for terminating the task. More... | |
signal_type | CancelSignal () const |
Retrieve signal to use for terminating the task. More... | |
bool | DeleteOnCompletion () const |
Retrieve state information concearning deletion. More... | |
bool | DeleteOnCompletion () const |
Retrieve state information concearning deletion. More... | |
bool | DeleteOnCompletion () const |
Retrieve state information concearning deletion. More... | |
virtual void | OnCompletion (int TaskThreadState) |
Action to be done when task completes. More... | |
virtual void | OnCompletion (int TaskThreadState) |
Action to be done when task completes. More... | |
virtual void | OnCompletion (int TaskThreadState) |
Action to be done when task completes. More... | |
name_type | TaskName () const |
Get the name of the current task. More... | |
name_type | TaskName () const |
Get the name of the current task. More... | |
name_type | TaskName () const |
Get the name of the current task. More... | |
Public Attributes | |
mode_type | m_mode |
union { | |
bool next | |
} | m_retval |
block_read_type | m_block_read |
Static Public Attributes | |
static int | m_wait_time_max = 20 |
Protected Member Functions | |
virtual int | eval () |
Do the system call. More... | |
state_type | stateNoLock () const |
void | stateNoLock (state_type State) |
void | taskName (const std::string &Name) |
void | taskName (const std::string &Name) |
void | taskName (const std::string &Name) |
void | delete_on_completion (bool Value) |
void | delete_on_completion (bool Value) |
void | delete_on_completion (bool Value) |
Protected Attributes | |
int | m_returnCode |
Return code of the system call. More... | |
int | m_errNo |
Thread specific value of errno at time of exit. More... | |
Private Member Functions | |
void | mode (mode_type Mode) |
virtual void | operator() () |
Setup the running of the system call. More... | |
virtual void | operator() () |
Action to perform. More... | |
virtual void | operator() () |
Action to perform. More... | |
Private Attributes | |
std::string | m_dirname |
DIR * | m_dirp |
int | m_fd |
dirent_type * | m_buffer |
state_type | m_state |
MutexLock::baton_type | m_state_baton |
name_type | name |
std::unique_ptr< _p_type > | _p |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Data class for passing signal information.
|
inherited |
Data class for passing signal information.
|
inherited |
Data class for passing signal information.
LDASTools::AL::Directory::Internals::Internals | ( | ) |
|
virtual |
|
inherited |
Retrieve baton to gain exclusive access.
|
inherited |
Retrieve baton to gain exclusive access.
|
inherited |
Retrieve baton to gain exclusive access.
|
inherited |
Retrieve method to use for terminating the task.
|
inherited |
Retrieve method to use for terminating the task.
|
inherited |
Retrieve method to use for terminating the task.
|
inherited |
Retrieve signal to use for terminating the task.
|
inherited |
Retrieve signal to use for terminating the task.
|
inherited |
Retrieve signal to use for terminating the task.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
Retrieve state information concearning deletion.
|
inherited |
Retrieve state information concearning deletion.
|
inherited |
Retrieve state information concearning deletion.
|
inline |
Store the name of the directory to be read.
|
inline |
|
protectedvirtual |
Do the system call.
Implements LDASTools::AL::SystemCallTask.
|
inline |
|
inline |
Obtain the name of the file in the directory buffer.
|
virtual |
Test if the object should be made immediate available.
Virtual method called to test if object should be made immedately available.
Reimplemented from LDASTools::AL::TriStateInterface.
|
inlineprivate |
|
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.
|
virtualinherited |
Action to be done when task completes.
|
virtualinherited |
Action to be done when task completes.
|
privatevirtualinherited |
Setup the running of the system call.
Implements LDASTools::AL::Task.
|
privatevirtualinherited |
Action to perform.
Implements LDASTools::AL::Task.
|
privatevirtualinherited |
Action to perform.
Implements LDASTools::AL::Task.
|
inline |
Return the current directory state.
|
inline |
Establish the state of the object;.
|
inlineprotected |
|
inlineprotected |
|
inlineinherited |
Return the thread specific value of errno.
|
inherited |
Return the thread specific value of errno.
|
inherited |
Return the thread specific value of errno.
|
inlineinherited |
Return the return code of the system call.
|
inherited |
Return the return code of the system call.
|
inherited |
Return the return code of the system call.
|
inlineinherited |
Get the name of the current task.
|
inherited |
Get the name of the current task.
|
inherited |
Get the name of the current task.
|
inlineprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
privateinherited |
block_read_type LDASTools::AL::Directory::Internals::m_block_read |
|
private |
|
private |
|
private |
|
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.
|
private |
mode_type LDASTools::AL::Directory::Internals::m_mode |
|
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 |
|
private |
|
mutableprivate |
|
static |
|
privateinherited |
bool LDASTools::AL::Directory::Internals::next |