COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
covise::ConnectionList Class Reference

#include <covise_connect.h>

Collaboration diagram for covise::ConnectionList:
Collaboration graph
[legend]

Public Member Functions

 ConnectionList ()
 
 ConnectionList (ServerConnection *)
 
 ~ConnectionList ()
 
void add_open_conn (ServerConnection *c)
 
void add (Connection *c)
 
void remove (Connection *c)
 
void deleteConnection (Connection *c)
 
Connectionget_last ()
 
Connectionwait_for_input ()
 
Connectioncheck_for_input (float time=0.0)
 
void reset ()
 
Connectionnext ()
 
int count ()
 

Private Attributes

List< Connection > * connlist
 
fd_set fdvar
 
int maxfd
 
ServerConnectionopen_sock
 

Constructor & Destructor Documentation

ConnectionList::ConnectionList ( )
ConnectionList::ConnectionList ( ServerConnection o_s)
ConnectionList::~ConnectionList ( )

Member Function Documentation

void ConnectionList::add ( Connection c)
void ConnectionList::add_open_conn ( ServerConnection c)
Connection * ConnectionList::check_for_input ( float  time = 0.0)
int ConnectionList::count ( )
void ConnectionList::deleteConnection ( Connection c)
Connection* covise::ConnectionList::get_last ( )
inline
Connection* covise::ConnectionList::next ( void  )
inline
void ConnectionList::remove ( Connection c)
void covise::ConnectionList::reset ( void  )
inline
Connection * ConnectionList::wait_for_input ( )

Wait for input infinitely - replaced by loop with timeouts

  • check every 10 sec against hang aw 04/2000

Member Data Documentation

List<Connection>* covise::ConnectionList::connlist
private
fd_set covise::ConnectionList::fdvar
private
int covise::ConnectionList::maxfd
private
ServerConnection* covise::ConnectionList::open_sock
private

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