MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
s2s_t Struct Reference

#include <s2s.h>

Collaboration diagram for s2s_t:

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_tnext
 

Detailed Description

Definition at line 54 of file s2s.h.

Constructor & Destructor Documentation

s2s_t::s2s_t ( void  )
s2s_t::~s2s_t ( void  )

Member Function Documentation

bool s2s_t::is_blocking ( void  ) const

Referenced by main().

void s2s_t::parse ( int  argc,
char *  argv[] 
)

Referenced by main().

void s2s_t::prepare ( void  )

Referenced by main(), and IO::Setup().

ssize_t s2s_t::recv ( int  flags)

Referenced by main().

ssize_t s2s_t::send ( int  flags) const

Referenced by main().

void s2s_t::shutdown ( void  )

Referenced by main().

void s2s_t::usage ( int  rc) const

Member Data Documentation

s2s_sockaddr_t s2s_t::addr

Definition at line 61 of file s2s.h.

int s2s_t::block

Definition at line 63 of file s2s.h.

std::string s2s_t::buf

Definition at line 68 of file s2s.h.

Referenced by main(), and SocketBasicIO::ReadMeasures().

int s2s_t::create

Definition at line 62 of file s2s.h.

const char* s2s_t::host

Definition at line 59 of file s2s.h.

Referenced by IO::Parse(), and IO::Setup().

struct s2s_t* s2s_t::next

Definition at line 86 of file s2s.h.

const char* s2s_t::path

Definition at line 57 of file s2s.h.

Referenced by IO::Parse(), and IO::Setup().

int s2s_t::port

Definition at line 60 of file s2s.h.

const char* s2s_t::progname

Definition at line 71 of file s2s.h.

int s2s_t::sock

Definition at line 66 of file s2s.h.

Referenced by main(), SocketBasicIO::ReadMeasures(), SocketBasicIO::SendControls(), and IO::Setup().

bool s2s_t::stream2socket

Definition at line 70 of file s2s.h.


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