$search

OCL::ListenThread Class Reference

Inheritance diagram for OCL::ListenThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool breakLoop ()
virtual void loop ()
 ~ListenThread ()

Static Public Member Functions

static void createInstance (RTT::SocketMarshaller *marshaller, unsigned short port=3142)
static void destroyInstance ()

Private Member Functions

bool listen ()
 ListenThread (RTT::SocketMarshaller *marshaller, unsigned short port)
void removeInstance ()

Private Attributes

bool _accepting
RTT::SocketMarshaller_marshaller
unsigned short _port
int _sock
bool inBreak

Static Private Attributes

static ListenThread_instance = 0

Detailed Description

ListenThread is a thread which waits for new incoming connections from clients.

Definition at line 52 of file TcpReporting.cpp.


Constructor & Destructor Documentation

OCL::ListenThread::ListenThread ( RTT::SocketMarshaller marshaller,
unsigned short  port 
) [inline, private]

Definition at line 137 of file TcpReporting.cpp.

OCL::ListenThread::~ListenThread (  )  [inline]

Definition at line 158 of file TcpReporting.cpp.


Member Function Documentation

virtual bool OCL::ListenThread::breakLoop (  )  [inline, virtual]

Reimplemented from RTT::Activity.

Definition at line 176 of file TcpReporting.cpp.

static void OCL::ListenThread::createInstance ( RTT::SocketMarshaller marshaller,
unsigned short  port = 3142 
) [inline, static]

Definition at line 195 of file TcpReporting.cpp.

static void OCL::ListenThread::destroyInstance (  )  [inline, static]

Definition at line 204 of file TcpReporting.cpp.

bool OCL::ListenThread::listen (  )  [inline, private]

Definition at line 63 of file TcpReporting.cpp.

virtual void OCL::ListenThread::loop (  )  [inline, virtual]

Reimplemented from RTT::Activity.

Definition at line 163 of file TcpReporting.cpp.

void OCL::ListenThread::removeInstance (  )  [inline, private]

Definition at line 149 of file TcpReporting.cpp.


Member Data Documentation

Definition at line 60 of file TcpReporting.cpp.

ListenThread * OCL::ListenThread::_instance = 0 [static, private]

Definition at line 57 of file TcpReporting.cpp.

Definition at line 58 of file TcpReporting.cpp.

unsigned short OCL::ListenThread::_port [private]

Definition at line 59 of file TcpReporting.cpp.

int OCL::ListenThread::_sock [private]

Definition at line 61 of file TcpReporting.cpp.

Definition at line 56 of file TcpReporting.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ocl
Author(s): OCL Development Team
autogenerated on Fri Mar 1 16:28:35 2013