ldas-tools-al 2.6.7
 
Loading...
Searching...
No Matches
SystemCallTask Class Referenceabstract

Perform a system call within a thread. More...

#include <SystemCallTask.hh>

Inheritance diagram for SystemCallTask:
Collaboration diagram for SystemCallTask:

Public Member Functions

 SystemCallTask ()
 Constructor.
 
 SystemCallTask ()
 Constructor.
 

Protected Member Functions

virtual int eval ()=0
 Action to be performed.
 
virtual int eval ()=0
 Action to be performed.
 

Private Member Functions

virtual void operator() ()
 Setup the running of the system call.
 
virtual void operator() ()
 Action to perform.
 

Detailed Description

Perform a system call within a thread.

This is an abstract class that should be used as the base for a class that is to perform some system call usually within a thread.

Constructor & Destructor Documentation

◆ SystemCallTask() [1/2]

LDASTools::AL::SystemCallTask::SystemCallTask ( )

Constructor.

Because system calls can be very peristant within a thread context, system calls are set up to background without a reaper to prevent resource starvation for the rest of the code.

◆ SystemCallTask() [2/2]

LDASTools::AL::SystemCallTask::SystemCallTask ( )

Constructor.

Member Function Documentation

◆ eval() [1/2]

virtual int LDASTools::AL::SystemCallTask::eval ( )
protectedpure virtual

Action to be performed.

◆ eval() [2/2]

virtual int LDASTools::AL::SystemCallTask::eval ( )
protectedpure virtual

Action to be performed.

◆ operator()() [1/2]

void LDASTools::AL::SystemCallTask::operator() ( )
privatevirtual

Setup the running of the system call.

Implements LDASTools::AL::Task.

◆ operator()() [2/2]

virtual void LDASTools::AL::SystemCallTask::operator() ( )
privatevirtual

Action to perform.

Implements LDASTools::AL::Task.


The documentation for this class was generated from the following files: