ldas-tools-al  2.6.7
Public Member Functions | Protected Attributes | List of all members
LDASTools::AL::SystemCall Class Reference

Interface for doing operating system calls. More...

#include <SystemCall.hh>

Inheritance diagram for LDASTools::AL::SystemCall:
Inheritance graph
[legend]

Public Member Functions

virtual ~SystemCall ()
 Destructor to properly destroy all resources.
 
int SystemErrNo () const
 Return the thread specific value of errno.
 
int SystemReturnCode () const
 Return the return code of the system call.
 
virtual ~SystemCall ()
 Destructor to properly destroy all resources.
 
int SystemErrNo () const
 Return the thread specific value of errno.
 
int SystemReturnCode () const
 Return the return code of the system call.
 
virtual ~SystemCall ()
 Destructor to properly destroy all resources.
 
int SystemErrNo () const
 Return the thread specific value of errno.
 
int SystemReturnCode () const
 Return the return code of the system call.
 

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...
 

Detailed Description

Interface for doing operating system calls.

Member Data Documentation

◆ m_errNo

int LDASTools::AL::SystemCall::m_errNo
protected

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_returnCode

int LDASTools::AL::SystemCall::m_returnCode
protected

Return code of the system call.

This is the return code returned by the system call as defined by the system call's documentation.


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