NCBI C++ ToolKit
Classes | Functions | Variables
ncbi_pipe_connector.cpp File Reference
#include <ncbi_pch.hpp>
#include "ncbi_ansi_ext.h"
#include <connect/ncbi_pipe_connector.hpp>
+ Include dependency graph for ncbi_pipe_connector.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SPipeConnector
 

Functions

static const char * s_VT_GetType (CONNECTOR)
 
static char * s_VT_Descr (CONNECTOR connector)
 
static EIO_Status s_VT_Open (CONNECTOR connector, const STimeout *)
 
static EIO_Status s_VT_Wait (CONNECTOR connector, EIO_Event event, const STimeout *timeout)
 
static EIO_Status s_VT_Write (CONNECTOR connector, const void *buf, size_t size, size_t *n_written, const STimeout *timeout)
 
static EIO_Status s_VT_Read (CONNECTOR connector, void *buf, size_t size, size_t *n_read, const STimeout *timeout)
 
static EIO_Status s_VT_Status (CONNECTOR connector, EIO_Event dir)
 
static EIO_Status s_VT_Close (CONNECTOR connector, const STimeout *timeout)
 
static void s_Setup (CONNECTOR connector)
 
static void s_Destroy (CONNECTOR connector)
 
CONNECTOR PIPE_CreateConnector (const string &cmd, const vector< string > &args, CPipe::TCreateFlags flags, CPipe *pipe, EOwnership own_pipe, size_t pipe_size)
 Create CPipe-based CONNECTOR. More...
 

Variables

 USING_NCBI_SCOPE
 

Function Documentation

◆ s_Destroy()

static void s_Destroy ( CONNECTOR  connector)
static

◆ s_Setup()

static void s_Setup ( CONNECTOR  connector)
static

◆ s_VT_Close()

static EIO_Status s_VT_Close ( CONNECTOR  connector,
const STimeout timeout 
)
static

◆ s_VT_Descr()

static char* s_VT_Descr ( CONNECTOR  connector)
static

◆ s_VT_GetType()

static const char* s_VT_GetType ( CONNECTOR  )
static

Definition at line 68 of file ncbi_pipe_connector.cpp.

Referenced by s_Setup().

◆ s_VT_Open()

static EIO_Status s_VT_Open ( CONNECTOR  connector,
const STimeout  
)
static

◆ s_VT_Read()

static EIO_Status s_VT_Read ( CONNECTOR  connector,
void *  buf,
size_t  size,
size_t *  n_read,
const STimeout timeout 
)
static

◆ s_VT_Status()

static EIO_Status s_VT_Status ( CONNECTOR  connector,
EIO_Event  dir 
)
static

Definition at line 170 of file ncbi_pipe_connector.cpp.

References SConnectorTag::handle, SPipeConnector::pipe, and CPipe::Status().

Referenced by s_Setup().

◆ s_VT_Wait()

static EIO_Status s_VT_Wait ( CONNECTOR  connector,
EIO_Event  event,
const STimeout timeout 
)
static

◆ s_VT_Write()

static EIO_Status s_VT_Write ( CONNECTOR  connector,
const void *  buf,
size_t  size,
size_t *  n_written,
const STimeout timeout 
)
static

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 42 of file ncbi_pipe_connector.cpp.

Modified on Tue Apr 16 20:09:26 2024 by modify_doxy.py rev. 669887