CernVM-FS  2.11.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Pipe Struct Reference

#include <posix.h>

Inheritance diagram for Pipe:
Collaboration diagram for Pipe:

Public Member Functions

 Pipe ()
 
 Pipe (const int fd_read, const int fd_write)
 
void Close ()
 
template<typename T >
bool Write (const T &data)
 
template<typename T >
bool TryRead (T *data)
 
template<typename T >
void Read (T *data)
 
bool Write (const void *buf, size_t nbyte)
 
bool Read (void *buf, size_t nbyte)
 

Public Attributes

int read_end
 
int write_end
 

Additional Inherited Members

- Protected Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

Definition at line 200 of file posix.h.

Constructor & Destructor Documentation

Pipe::Pipe ( )
inline

Definition at line 201 of file posix.h.

Here is the call graph for this function:

Pipe::Pipe ( const int  fd_read,
const int  fd_write 
)
inline

Definition at line 208 of file posix.h.

Member Function Documentation

void Pipe::Close ( )
inline

Definition at line 211 of file posix.h.

template<typename T >
void Pipe::Read ( T *  data)
inline

Definition at line 234 of file posix.h.

Referenced by Watchdog::Fork().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Pipe::Read ( void *  buf,
size_t  nbyte 
)
inline

Definition at line 244 of file posix.h.

Here is the call graph for this function:

template<typename T >
bool Pipe::TryRead ( T *  data)
inline

Definition at line 224 of file posix.h.

Here is the call graph for this function:

template<typename T >
bool Pipe::Write ( const T &  data)
inline

Definition at line 217 of file posix.h.

Referenced by Watchdog::Fork().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Pipe::Write ( const void *  buf,
size_t  nbyte 
)
inline

Definition at line 239 of file posix.h.

Here is the call graph for this function:

Member Data Documentation

int Pipe::read_end

Definition at line 249 of file posix.h.

Referenced by Watchdog::Fork().

int Pipe::write_end

Definition at line 250 of file posix.h.

Referenced by Watchdog::Fork().


The documentation for this struct was generated from the following file: