CernVM-FS  2.9.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 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 183 of file posix.h.

Constructor & Destructor Documentation

Pipe::Pipe ( )
inline

Definition at line 184 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 191 of file posix.h.

Member Function Documentation

void Pipe::Close ( )
inline

Definition at line 194 of file posix.h.

Referenced by Watchdog::~Watchdog().

Here is the caller graph for this function:

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

Definition at line 207 of file posix.h.

Referenced by Watchdog::Spawn().

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 218 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 200 of file posix.h.

Referenced by Watchdog::Spawn(), and Watchdog::~Watchdog().

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 213 of file posix.h.

Here is the call graph for this function:

Member Data Documentation

int Pipe::read_end

Definition at line 223 of file posix.h.

Referenced by Watchdog::MainWatchdogListener(), and Watchdog::Spawn().

int Pipe::write_end

Definition at line 224 of file posix.h.

Referenced by Watchdog::Spawn(), and Watchdog::~Watchdog().


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