MBDyn-1.7.3
|
#include <s2s.h>
Public Member Functions | |
s2s_t (void) | |
~s2s_t (void) | |
void | usage (int rc) const |
void | parse (int argc, char *argv[]) |
void | prepare (void) |
void | shutdown (void) |
bool | is_blocking (void) const |
ssize_t | send (int flags) const |
ssize_t | recv (int flags) |
Public Attributes | |
int | nChannels |
const char * | path |
const char * | host |
int | port |
s2s_sockaddr_t | addr |
int | create |
int | block |
int | sock |
std::string | buf |
std::vector< double > | dbuf |
bool | stream2socket |
const char * | progname |
struct s2s_t * | next |
s2s_t::s2s_t | ( | void | ) |
s2s_t::~s2s_t | ( | void | ) |
void s2s_t::prepare | ( | void | ) |
Referenced by main(), and IO::Setup().
void s2s_t::shutdown | ( | void | ) |
Referenced by main().
void s2s_t::usage | ( | int | rc | ) | const |
s2s_sockaddr_t s2s_t::addr |
std::string s2s_t::buf |
Definition at line 68 of file s2s.h.
Referenced by main(), and SocketBasicIO::ReadMeasures().
std::vector<double> s2s_t::dbuf |
Definition at line 69 of file s2s.h.
Referenced by IO::Controls(), main(), IO::Measures(), SocketBasicIO::ReadMeasures(), StreamBasicIO::ReadMeasures(), SocketBasicIO::SendControls(), StreamBasicIO::SendControls(), and IO::Setup().
const char* s2s_t::host |
Definition at line 59 of file s2s.h.
Referenced by IO::Parse(), and IO::Setup().
int s2s_t::nChannels |
Definition at line 56 of file s2s.h.
Referenced by main(), IO::nControls(), IO::nMeasures(), IO::Parse(), SocketBasicIO::ReadMeasures(), StreamBasicIO::ReadMeasures(), SocketBasicIO::SendControls(), StreamBasicIO::SendControls(), and IO::Setup().
const char* s2s_t::path |
Definition at line 57 of file s2s.h.
Referenced by IO::Parse(), and IO::Setup().
int s2s_t::sock |
Definition at line 66 of file s2s.h.
Referenced by main(), SocketBasicIO::ReadMeasures(), SocketBasicIO::SendControls(), and IO::Setup().