ICP  1
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
Qxtrm_channel Class Reference

#include <Qxtrm_driver.h>

Inheritance diagram for Qxtrm_channel:
Inheritance graph

Public Member Functions

 Qxtrm_channel (Poco::SharedPtr< Quixtream > qx, const std::string &chan_name)
 
virtual ~Qxtrm_channel ()
 
void RDMAWrite (uint32_t value, unsigned int remote_address)
 
void RDMARead (uint32_t &value, unsigned int remote_address)
 
void RDMARead (void *buffer, unsigned int len, unsigned int remote_address)
 
void RDMAWrite (const void *buffer, unsigned int len, unsigned int remote_address)
 
void blockSend (const void *buffer, unsigned int len)
 
void blockReceive (void *buffer, unsigned int len)
 
void streamSend (const void *buffer, unsigned int len)
 
void streamReceive (qxtrmStreamCallbackFunc pCallback, unsigned int interval)
 receives one segment More...
 
void streamReceive ()
 receives one segment More...
 
void RDMARegisterMemory (void *local_address, unsigned int len, unsigned int rdmaAddr)
 
void RDMAUnregisterMemory (unsigned int rdmaAddr)
 
std::string channelStatus () const
 
std::ostream & channelTransferStats (std::ostream &os) const
 
std::ostream & channelStatus (std::ostream &os) const
 

Static Public Member Functions

static void outputStreamDataCallback (char *pDataBuffer, unsigned int callbackSize, bool segmentEnd)
 

Static Public Attributes

static FILE * m_outstream = NULL
 
static int m_outstream_word_size = 4
 
static int m_outstream_columns = 10
 

Private Member Functions

void channelStatsHelper (int chan, qxtrmTransStatsCmd cmd, const char *mess, std::ostream &oss) const
 

Private Attributes

Poco::SharedPtr< Quixtream > m_qx
 
int m_chan_id
 
std::string m_chan_name
 

Additional Inherited Members

- Protected Member Functions inherited from ISIS::Base
 Base (const std::string &logger_name="UNKNOWN")
 
void setLoggerName (const std::string &logger_name)
 
virtual ~Base ()
 
virtual std::string loggingPrefix () const
 
void setThisLoggerLevel (int level)
 
- Static Protected Member Functions inherited from ISIS::Base
static void setAllLoggerLevel (int level)
 
- Protected Attributes inherited from ISIS::Base
Poco::Logger * m_logger
 
Poco::LogStream * m_logstr
 
Poco::Mutex m_logger_lock
 

Detailed Description

Definition at line 24 of file Qxtrm_driver.h.

Constructor & Destructor Documentation

Qxtrm_channel::Qxtrm_channel ( Poco::SharedPtr< Quixtream >  qx,
const std::string &  chan_name 
)
Qxtrm_channel::~Qxtrm_channel ( )
virtual

Definition at line 50 of file Qxtrm_driver.cpp.

Member Function Documentation

void Qxtrm_channel::blockReceive ( void *  buffer,
unsigned int  len 
)

Definition at line 136 of file Qxtrm_driver.cpp.

References LOGSTR_INFORMATION, m_chan_id, m_chan_name, and m_qx.

void Qxtrm_channel::blockSend ( const void *  buffer,
unsigned int  len 
)

Definition at line 125 of file Qxtrm_driver.cpp.

References LOGSTR_INFORMATION, m_chan_id, m_chan_name, and m_qx.

void Qxtrm_channel::channelStatsHelper ( int  chan,
qxtrmTransStatsCmd  cmd,
const char *  mess,
std::ostream &  oss 
) const
private

Definition at line 92 of file Qxtrm_driver.cpp.

References m_qx, and Qxtrm_driver::qxtrmStatusMessage().

Referenced by channelTransferStats().

std::string Qxtrm_channel::channelStatus ( ) const
std::ostream & Qxtrm_channel::channelStatus ( std::ostream &  os) const

Definition at line 118 of file Qxtrm_driver.cpp.

References channelStatus(), m_chan_id, and m_chan_name.

std::ostream & Qxtrm_channel::channelTransferStats ( std::ostream &  os) const

Definition at line 106 of file Qxtrm_driver.cpp.

References channelStatsHelper(), m_chan_id, and m_chan_name.

void Qxtrm_channel::outputStreamDataCallback ( char *  pDataBuffer,
unsigned int  callbackSize,
bool  segmentEnd 
)
static

Definition at line 232 of file Qxtrm_driver.cpp.

References m_outstream, m_outstream_columns, and m_outstream_word_size.

Referenced by streamReceive().

void Qxtrm_channel::RDMARead ( uint32_t &  value,
unsigned int  remote_address 
)
inline

Definition at line 34 of file Qxtrm_driver.h.

References RDMARead().

Referenced by RDMARead().

void Qxtrm_channel::RDMARead ( void *  buffer,
unsigned int  len,
unsigned int  remote_address 
)

Definition at line 54 of file Qxtrm_driver.cpp.

References LOGSTR_INFORMATION, m_chan_id, m_chan_name, and m_qx.

void Qxtrm_channel::RDMARegisterMemory ( void *  local_address,
unsigned int  len,
unsigned int  rdmaAddr 
)

Definition at line 273 of file Qxtrm_driver.cpp.

References m_chan_id, and m_qx.

void Qxtrm_channel::RDMAUnregisterMemory ( unsigned int  rdmaAddr)

Definition at line 282 of file Qxtrm_driver.cpp.

References m_chan_id, and m_qx.

void Qxtrm_channel::RDMAWrite ( uint32_t  value,
unsigned int  remote_address 
)
inline

Definition at line 33 of file Qxtrm_driver.h.

References RDMAWrite().

Referenced by RDMAWrite().

void Qxtrm_channel::RDMAWrite ( const void *  buffer,
unsigned int  len,
unsigned int  remote_address 
)

Definition at line 65 of file Qxtrm_driver.cpp.

References LOGSTR_INFORMATION, m_chan_id, m_chan_name, and m_qx.

void Qxtrm_channel::streamReceive ( qxtrmStreamCallbackFunc  pCallback,
unsigned int  interval 
)

receives one segment

Definition at line 210 of file Qxtrm_driver.cpp.

References LOGSTR_INFORMATION, m_chan_id, m_chan_name, and m_qx.

void Qxtrm_channel::streamReceive ( )

receives one segment

Definition at line 167 of file Qxtrm_driver.cpp.

References LOGSTR_INFORMATION, m_chan_id, m_chan_name, m_qx, and outputStreamDataCallback().

void Qxtrm_channel::streamSend ( const void *  buffer,
unsigned int  len 
)

Definition at line 148 of file Qxtrm_driver.cpp.

References LOGSTR_INFORMATION, m_chan_id, m_chan_name, and m_qx.

Member Data Documentation

int Qxtrm_channel::m_chan_id
private
std::string Qxtrm_channel::m_chan_name
private
FILE * Qxtrm_channel::m_outstream = NULL
static

Definition at line 48 of file Qxtrm_driver.h.

Referenced by outputStreamDataCallback().

int Qxtrm_channel::m_outstream_columns = 10
static

Definition at line 50 of file Qxtrm_driver.h.

Referenced by outputStreamDataCallback().

int Qxtrm_channel::m_outstream_word_size = 4
static

Definition at line 49 of file Qxtrm_driver.h.

Referenced by outputStreamDataCallback().

Poco::SharedPtr<Quixtream> Qxtrm_channel::m_qx
private

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