Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
BidirMMapPipe_impl::BidirMMapPipeException Class Reference

exception to throw if low-level OS calls go wrong

Author
Manuel Schiller manue.nosp@m.l.sc.nosp@m.hille.nosp@m.r@ni.nosp@m.khef..nosp@m.nl
Date
2013-07-07

Definition at line 46 of file BidirMMapPipe.cxx.

Public Member Functions

 BidirMMapPipeException (const char *msg, int err)
 constructor taking error code, hint on operation (msg)
 
virtual const char * what () const noexcept
 return a destcription of what went wrong
 

Private Types

enum  { s_sz = 256 }
 

Static Private Member Functions

static int dostrerror_r (int err, char *buf, std::size_t sz, int(*f)(int, char *, std::size_t))
 for the POSIX version of strerror_r
 
static int dostrerror_r (int, char *, std::size_t, char *(*f)(int, char *, std::size_t))
 for the GNU version of strerror_r
 

Private Attributes

char m_buf [s_sz]
 buffer containing the error message
 
Inheritance diagram for BidirMMapPipe_impl::BidirMMapPipeException:
[legend]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
s_sz 

length of buffer

Definition at line 49 of file BidirMMapPipe.cxx.

Constructor & Destructor Documentation

◆ BidirMMapPipeException()

BidirMMapPipe_impl::BidirMMapPipeException::BidirMMapPipeException ( const char *  msg,
int  err 
)

constructor taking error code, hint on operation (msg)

Definition at line 68 of file BidirMMapPipe.cxx.

Member Function Documentation

◆ dostrerror_r() [1/2]

static int BidirMMapPipe_impl::BidirMMapPipeException::dostrerror_r ( int  err,
char *  buf,
std::size_t  sz,
int(*)(int, char *, std::size_t)  f 
)
inlinestaticprivate

for the POSIX version of strerror_r

Definition at line 55 of file BidirMMapPipe.cxx.

◆ dostrerror_r() [2/2]

int BidirMMapPipe_impl::BidirMMapPipeException::dostrerror_r ( int  err,
char *  buf,
std::size_t  sz,
char *(*)(int, char *, std::size_t)  f 
)
staticprivate

for the GNU version of strerror_r

Definition at line 85 of file BidirMMapPipe.cxx.

◆ what()

virtual const char * BidirMMapPipe_impl::BidirMMapPipeException::what ( ) const
inlinevirtualnoexcept

return a destcription of what went wrong

Definition at line 65 of file BidirMMapPipe.cxx.

Member Data Documentation

◆ m_buf

char BidirMMapPipe_impl::BidirMMapPipeException::m_buf[s_sz]
private

buffer containing the error message

Definition at line 52 of file BidirMMapPipe.cxx.

  • roofit/roofitcore/src/BidirMMapPipe.cxx