ICP
1
|
#include <Qxtrm_driver.h>
Public Member Functions | |
void | loadConfigData (const std::string &config_file, int ethernet_id, bool do_remote_config, std::string &config_data) |
std::ostream & | channelStatus (std::ostream &os) const |
std::ostream & | channelTransferStats (std::ostream &os) const |
Poco::SharedPtr< Qxtrm_channel > | createChannel (const std::string &chan_name) |
Qxtrm_driver (const std::string &config_file, const std::string &node_name, int ethernet_id, int process_number, bool do_remote_config) | |
virtual | ~Qxtrm_driver () |
Static Public Member Functions | |
static void | getNetworkDetails (const std::string &ip_prefix, std::string &ip_addr, std::string &mac_addr) |
static std::string | qxtrmStatusMessage (int qxtrm_status, Quixtream *qx=NULL, int chan=INVALID_QXTRM_CHANNEL) |
static std::string | qxtrmChannelStatusMessage (int qxtrm_channel_status) |
static std::string | qxtrmChannelStatusMessage (Quixtream *qx, int chan) |
Private Types | |
typedef std::map< std::string, Poco::SharedPtr< Qxtrm_channel > > | chan_map_t |
Private Attributes | |
Poco::SharedPtr< Quixtream > | m_qx |
chan_map_t | m_chans |
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 |
Definition at line 54 of file Qxtrm_driver.h.
|
private |
Definition at line 58 of file Qxtrm_driver.h.
Qxtrm_driver::Qxtrm_driver | ( | const std::string & | config_file, |
const std::string & | node_name, | ||
int | ethernet_id, | ||
int | process_number, | ||
bool | do_remote_config | ||
) |
Definition at line 603 of file Qxtrm_driver.cpp.
References loadConfigData(), LOGSTR_INFORMATION, m_qx, and ISIS::Base::setLoggerName().
|
virtual |
Definition at line 615 of file Qxtrm_driver.cpp.
std::ostream & Qxtrm_driver::channelStatus | ( | std::ostream & | os | ) | const |
Definition at line 291 of file Qxtrm_driver.cpp.
References m_chans.
Referenced by MyServerApp::main(), and QxtrmInterface::reinit().
std::ostream & Qxtrm_driver::channelTransferStats | ( | std::ostream & | os | ) | const |
Definition at line 300 of file Qxtrm_driver.cpp.
References m_chans.
Referenced by MyServerApp::main(), and QxtrmInterface::reinit().
Poco::SharedPtr< Qxtrm_channel > Qxtrm_driver::createChannel | ( | const std::string & | chan_name | ) |
Definition at line 449 of file Qxtrm_driver.cpp.
Referenced by MyServerApp::main(), and QxtrmInterface::reinit().
|
static |
Definition at line 309 of file Qxtrm_driver.cpp.
Referenced by loadConfigData().
void Qxtrm_driver::loadConfigData | ( | const std::string & | config_file, |
int | ethernet_id, | ||
bool | do_remote_config, | ||
std::string & | config_data | ||
) |
Definition at line 359 of file Qxtrm_driver.cpp.
References closesocket, getNetworkDetails(), LOGSTR_INFORMATION, and SOCKET.
Referenced by Qxtrm_driver().
|
static |
[in] | qxtrm_channel_status | Quixtream qxtrmChannelStatus error code |
Definition at line 551 of file Qxtrm_driver.cpp.
Referenced by Qxtrm_channel::channelStatus(), qxtrmChannelStatusMessage(), and qxtrmStatusMessage().
|
static |
Definition at line 536 of file Qxtrm_driver.cpp.
References qxtrmChannelStatusMessage(), and qxtrmStatusMessage().
|
static |
[in] | qxtrm_status | Quixtream qxtrmStatus error code |
[in] | qx | pointer to Quixstream object Quixtream qxtrmStatus error code |
[in] | chan | Quixtream channel |
Definition at line 460 of file Qxtrm_driver.cpp.
References INVALID_QXTRM_CHANNEL, and qxtrmChannelStatusMessage().
Referenced by Qxtrm_channel::channelStatsHelper(), Qxtrm_channel::channelStatus(), and qxtrmChannelStatusMessage().
|
private |
Definition at line 59 of file Qxtrm_driver.h.
Referenced by channelStatus(), channelTransferStats(), and createChannel().
|
private |
Definition at line 57 of file Qxtrm_driver.h.
Referenced by createChannel(), and Qxtrm_driver().