rllib  1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
rlDataProviderThreads Class Reference

#include <rldataprovider.h>

Collaboration diagram for rlDataProviderThreads:
Collaboration graph
[legend]

Public Member Functions

 rlDataProviderThreads (int Port, rlDataProvider *Provider)
 
virtual ~rlDataProviderThreads ()
 
void start ()
 

Public Attributes

rlDataProviderprovider
 
rlThread thread
 
int port
 

Detailed Description

This class starts a separate thread.
The thread is accepting clients, that want access to rlDataProvider.

Definition at line 89 of file rldataprovider.h.

Constructor & Destructor Documentation

rlDataProviderThreads::rlDataProviderThreads ( int  Port,
rlDataProvider Provider 
)

Definition at line 617 of file rldataprovider.cpp.

{
rlwsa();
port = Port;
provider = Provider;
}
rlDataProviderThreads::~rlDataProviderThreads ( )
virtual

Definition at line 624 of file rldataprovider.cpp.

{
}

Member Function Documentation

void rlDataProviderThreads::start ( )

Definition at line 628 of file rldataprovider.cpp.

{
if(port <= 0) return;
if(port >= 256*256) return;
if(provider == NULL) return;
}

Member Data Documentation

int rlDataProviderThreads::port

Definition at line 97 of file rldataprovider.h.

rlDataProvider* rlDataProviderThreads::provider

Definition at line 95 of file rldataprovider.h.

rlThread rlDataProviderThreads::thread

Definition at line 96 of file rldataprovider.h.


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