VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlIoServiceRunnable.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
8 #include <vlutil/vlRunnable.h>
9 
10 
11 
12 #ifdef DtUSE_UTILITIES_NAMESPACE
13 namespace DtUSE_UTILITIES_NAMESPACE
14 {
15 #endif
16 
17 class DtInetSocket;
18 
22 {
23 public:
24 
26  DtIoServiceRunnable( void* ioService, DtInetSocket* sock );
27 
29  virtual ~DtIoServiceRunnable();
30 
33  virtual void run();
34 
35  virtual void stop( bool block );
36 protected:
37 
38 protected:
40 
42 
44 
45 };
46 
47 #ifdef DtUSE_UTILITIES_NAMESPACE
48 }
49 #endif
50 
51 
void * myIoServiceImpl
Definition: vlIoServiceRunnable.h:41
The DtIoServiceRunnable provides a thread to run the Boost io_service in to provide async I/O to the ...
Definition: vlIoServiceRunnable.h:21
The DtInetSocket class provides a protocol independant, address family independant base class for TCP...
Definition: vlInetSocket.h:201
Contains declaration of DtRunnable abstract class.
DtInetSocket * mySocket
Definition: vlIoServiceRunnable.h:43
bool threadIsStopped
Definition: vlIoServiceRunnable.h:39
Declares the DtRunnable class for defining a object that can be run in a thread.
Definition: vlRunnable.h:28
Defines a ThreadedObject which can run a DtRunnable object in a thread.

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)