#include <TIL_DeepSocketListener.h>
Public Member Functions | |
| ~TIL_DeepSocketListener () | |
| Calls terminate(). | |
| void | setMousePosition (int x, int y) |
| bool | start () |
| void | stop () |
| void | terminate (bool kill_proc=false) |
| bool | isComplete () const |
| Return true when the socket has been closed. | |
| UT_Lock & | getLock () |
Static Public Member Functions | |
| static TIL_DeepSocketListener * | create (UT_NetSocket *socket, TIL_DeepRasterReader *reader) |
Definition at line 32 of file TIL_DeepSocketListener.h.
| TIL_DeepSocketListener::~TIL_DeepSocketListener | ( | ) |
Calls terminate().
| static TIL_DeepSocketListener* TIL_DeepSocketListener::create | ( | UT_NetSocket * | socket, | |
| TIL_DeepRasterReader * | reader | |||
| ) | [static] |
Create an instance of TIL_DeepSocketListener. socket - the socket over which the deep raster will be sent. This instance will delete the socket when it is finished with it. reader - the deep raster reader to use. This is allocated and freed by the caller.
| UT_Lock& TIL_DeepSocketListener::getLock | ( | ) | [inline] |
Since the deep socket listener will run in a separate thread, it's necessary to lock around operations that are accessing any shared data in a thread-unsafe fashion.
Definition at line 67 of file TIL_DeepSocketListener.h.
| bool TIL_DeepSocketListener::isComplete | ( | ) | const [inline] |
Return true when the socket has been closed.
Definition at line 61 of file TIL_DeepSocketListener.h.
| void TIL_DeepSocketListener::setMousePosition | ( | int | x, | |
| int | y | |||
| ) |
| bool TIL_DeepSocketListener::start | ( | ) |
| void TIL_DeepSocketListener::stop | ( | ) |
| void TIL_DeepSocketListener::terminate | ( | bool | kill_proc = false |
) |
1.5.9