ldas-tools-al 2.6.7
Loading...
Searching...
No Matches
anonymous_namespace{FileType.cc}::timed_filetype Class Reference
Inheritance diagram for anonymous_namespace{FileType.cc}::timed_filetype:
Collaboration diagram for anonymous_namespace{FileType.cc}::timed_filetype:

Public Types

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::signal_type signal_type
 Data class for passing signal information.
typedef Thread::signal_type signal_type
 Data class for passing signal information.

Public Member Functions

 timed_filetype (const std::string &File)
virtual void operator() ()
 Action to perform.
MutexLock::baton_type Baton () const
 Retrieve baton to gain exclusive access.
MutexLock::baton_type Baton () const
 Retrieve baton to gain exclusive access.
cancel_method CancelMethod () const
 Retrieve method to use for terminating the task.
cancel_method CancelMethod () const
 Retrieve method to use for terminating the task.
signal_type CancelSignal () const
 Retrieve signal to use for terminating the task.
signal_type CancelSignal () const
 Retrieve signal to use for terminating the task.
bool DeleteOnCompletion () const
 Retrieve state information concearning deletion.
bool DeleteOnCompletion () const
 Retrieve state information concearning deletion.
virtual void OnCompletion (int TaskThreadState)
 Action to be done when task completes.
virtual void OnCompletion (int TaskThreadState)
 Action to be done when task completes.
name_type TaskName () const
 Get the name of the current task.
name_type TaskName () const
 Get the name of the current task.

Protected Member Functions

void taskName (const std::string &Name)
void taskName (const std::string &Name)
void delete_on_completion (bool Value)
void delete_on_completion (bool Value)

Private Attributes

const std::string m_file
std::string m_file_type
name_type name
std::unique_ptr< _p_type_p

Member Typedef Documentation

◆ cancel_method [1/2]

◆ cancel_method [2/2]

◆ name_type [1/2]

typedef boost::shared_ptr< char > LDASTools::AL::Task::name_type
inherited

◆ name_type [2/2]

typedef boost::shared_ptr< char > LDASTools::AL::Task::name_type
inherited

◆ signal_type [1/2]

Data class for passing signal information.

◆ signal_type [2/2]

Data class for passing signal information.

Constructor & Destructor Documentation

◆ timed_filetype()

anonymous_namespace{FileType.cc}::timed_filetype::timed_filetype ( const std::string & File)
inline

Member Function Documentation

◆ Baton() [1/2]

MutexLock::baton_type LDASTools::AL::Task::Baton ( ) const
inherited

Retrieve baton to gain exclusive access.

◆ Baton() [2/2]

MutexLock::baton_type LDASTools::AL::Task::Baton ( ) const
inherited

Retrieve baton to gain exclusive access.

◆ CancelMethod() [1/2]

Task::cancel_method LDASTools::AL::Task::CancelMethod ( ) const
inherited

Retrieve method to use for terminating the task.

Returns
The method to be used to terminate the task.

◆ CancelMethod() [2/2]

cancel_method LDASTools::AL::Task::CancelMethod ( ) const
inherited

Retrieve method to use for terminating the task.

Returns
The method to be used to terminate the task.

◆ CancelSignal() [1/2]

Task::signal_type LDASTools::AL::Task::CancelSignal ( ) const
inherited

Retrieve signal to use for terminating the task.

Returns
The signal to be used to terminate the task.

◆ CancelSignal() [2/2]

signal_type LDASTools::AL::Task::CancelSignal ( ) const
inherited

Retrieve signal to use for terminating the task.

Returns
The signal to be used to terminate the task.

◆ delete_on_completion() [1/2]

void LDASTools::AL::Task::delete_on_completion ( bool Value)
protectedinherited

◆ delete_on_completion() [2/2]

void LDASTools::AL::Task::delete_on_completion ( bool Value)
protectedinherited

◆ DeleteOnCompletion() [1/2]

bool LDASTools::AL::Task::DeleteOnCompletion ( ) const
inherited

Retrieve state information concearning deletion.

Returns
True if the task should be deleted once terminated.

◆ DeleteOnCompletion() [2/2]

bool LDASTools::AL::Task::DeleteOnCompletion ( ) const
inherited

Retrieve state information concearning deletion.

Returns
True if the task should be deleted once terminated.

◆ OnCompletion() [1/2]

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.

◆ OnCompletion() [2/2]

virtual void LDASTools::AL::Task::OnCompletion ( int TaskThreadState)
virtualinherited

Action to be done when task completes.

◆ operator()()

virtual void anonymous_namespace{FileType.cc}::timed_filetype::operator() ( )
inlinevirtual

Action to perform.

Implements LDASTools::AL::Task.

◆ TaskName() [1/2]

Task::name_type LDASTools::AL::Task::TaskName ( ) const
inlineinherited

Get the name of the current task.

◆ TaskName() [2/2]

name_type LDASTools::AL::Task::TaskName ( ) const
inherited

Get the name of the current task.

◆ taskName() [1/2]

void LDASTools::AL::Task::taskName ( const std::string & Name)
inlineprotectedinherited

◆ taskName() [2/2]

void LDASTools::AL::Task::taskName ( const std::string & Name)
protectedinherited

Member Data Documentation

◆ _p

std::unique_ptr< _p_type > LDASTools::AL::Task::_p
privateinherited

◆ m_file

const std::string anonymous_namespace{FileType.cc}::timed_filetype::m_file
private

◆ m_file_type

std::string anonymous_namespace{FileType.cc}::timed_filetype::m_file_type
private

◆ name

name_type LDASTools::AL::Task::name
privateinherited

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/test/FileType.cc