Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Polled Class Reference
Inheritance diagram for Polled:
Inheritance graph
[legend]

Public Member Functions

 Polled ()
 
 ~Polled ()
 

Protected Member Functions

void connectionReceived (const TransportTCPPtr &transport)
 
void onDisconnect (const TransportPtr &transport, int index)
 
void onReadable (const TransportPtr &transport, int index)
 
void onWriteable (const TransportPtr &transport, int index)
 
void pollThread ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Protected Attributes

int bytes_read_ [3]
 
int bytes_written_ [3]
 
volatile bool continue_
 
bool disconnected_ [3]
 
PollSet poll_set_
 
boost::thread poll_thread_
 
TransportTCPPtr transports_ [3]
 

Detailed Description

Definition at line 185 of file test_transport_tcp.cpp.

Constructor & Destructor Documentation

Polled::Polled ( )
inline

Definition at line 188 of file test_transport_tcp.cpp.

Polled::~Polled ( )
inline

Definition at line 192 of file test_transport_tcp.cpp.

Member Function Documentation

void Polled::connectionReceived ( const TransportTCPPtr transport)
inlineprotected

Definition at line 199 of file test_transport_tcp.cpp.

void Polled::onDisconnect ( const TransportPtr transport,
int  index 
)
inlineprotected

Definition at line 233 of file test_transport_tcp.cpp.

void Polled::onReadable ( const TransportPtr transport,
int  index 
)
inlineprotected

Definition at line 212 of file test_transport_tcp.cpp.

void Polled::onWriteable ( const TransportPtr transport,
int  index 
)
inlineprotected

Definition at line 223 of file test_transport_tcp.cpp.

void Polled::pollThread ( )
inlineprotected

Definition at line 204 of file test_transport_tcp.cpp.

virtual void Polled::SetUp ( )
inlineprotectedvirtual

Definition at line 240 of file test_transport_tcp.cpp.

virtual void Polled::TearDown ( )
inlineprotectedvirtual

Definition at line 292 of file test_transport_tcp.cpp.

Member Data Documentation

int Polled::bytes_read_[3]
protected

Definition at line 304 of file test_transport_tcp.cpp.

int Polled::bytes_written_[3]
protected

Definition at line 305 of file test_transport_tcp.cpp.

volatile bool Polled::continue_
protected

Definition at line 311 of file test_transport_tcp.cpp.

bool Polled::disconnected_[3]
protected

Definition at line 306 of file test_transport_tcp.cpp.

PollSet Polled::poll_set_
protected

Definition at line 308 of file test_transport_tcp.cpp.

boost::thread Polled::poll_thread_
protected

Definition at line 310 of file test_transport_tcp.cpp.

TransportTCPPtr Polled::transports_[3]
protected

Definition at line 303 of file test_transport_tcp.cpp.


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


test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:46