![]() |
VR-Forces 4.5 Class Documentation
|
A DtTcpTaskElement instance will create a pipeline element that can output the image being streamed to a tcp port. More...

Public Member Functions | |
| virtual | ~DtTcpTaskElement () |
| DTOR. | |
| virtual void | setPort (int port) |
| Set the port the element will send the image to. | |
| virtual int | port () const |
| Get the port the element has been configured to use. | |
| virtual void | setFromRecord (const makArchives::DtImageTaskRecord &config) |
| Initialize the tcp task from a DtImageTaskRecord. | |
| virtual bool | configure () |
| Configure the tcp task. | |
Public Member Functions inherited from makVrv::DtImageTaskElement | |
| virtual | ~DtImageTaskElement () |
| DTOR. | |
| void | preFrame () |
| Thread of execution before each frame's processing. | |
| void | processFrame (DtVideoFrameBuffer *frame) |
| Process the image. | |
| void | postFrame () |
| Thread of execution after each frame's processing. | |
| virtual void | attach (DtImageTaskElement *next) |
| Place another Image Task element after this one. | |
Protected Member Functions | |
| DtTcpTaskElement (DtDe &de, DtProcessImageTask *owningTask) | |
| CTOR (protected) | |
| void | handlePreFrame () |
| Check any connection before processing the image. | |
| void | handleProcessFrame (DtVideoFrameBuffer *frame) |
| Copy the current frame to the tcp port. | |
| bool | handleSocketAddition (DtInetSocket *socket) |
| Handle a new client. | |
| bool | handleSocketRemoval (DtInetSocket *socket) |
| Handle a disconnect. | |
Protected Member Functions inherited from makVrv::DtImageTaskElement | |
| DtImageTaskElement (DtDe &de, DtProcessImageTask *owningTask) | |
| CTOR. | |
| virtual void | handlePostFrame () |
| No-op in base class. | |
Static Protected Member Functions | |
| static bool | socketAdditionCallback (DtInetSocket *sock, void *usr) |
| VR-Link callback when a connection is initiated. | |
| static bool | socketRemovalCallback (DtInetSocket *sock, void *usr) |
| VR-Link callback when a connection is terminated Calls handleSocketRemoval(). | |
Protected Attributes | |
| int | myPort |
| DtInetSocketMgr * | mySocketManager |
| DtInetTcpSocket * | myConnectedSocket |
Protected Attributes inherited from makVrv::DtImageTaskElement | |
| DtDe & | myDe |
| DtProcessImageTask * | myOwningTask |
| DtImageTaskElement * | myNextElement |
Private Member Functions | |
| DtTcpTaskElement () | |
| Default CTOR (unimplemented) | |
| DtTcpTaskElement (const DtTcpTaskElement &orig) | |
| Copy CTOR (unimplemented) | |
| DtTcpTaskElement & | operator= (const DtTcpTaskElement &rhs) |
| Assignment operator (unimplemented) | |
Friends | |
| class | DtTcpTaskElementCreator |
| Friend creator class, the only class that can construct an instance of this DtTcpTaskElement. | |
A DtTcpTaskElement instance will create a pipeline element that can output the image being streamed to a tcp port.
|
virtual |
DTOR.
|
protected |
CTOR (protected)
|
private |
Default CTOR (unimplemented)
|
private |
Copy CTOR (unimplemented)
|
virtual |
Set the port the element will send the image to.
|
virtual |
Get the port the element has been configured to use.
|
virtual |
Initialize the tcp task from a DtImageTaskRecord.
Reimplemented from makVrv::DtImageTaskElement.
|
virtual |
Configure the tcp task.
Reimplemented from makVrv::DtImageTaskElement.
|
protectedvirtual |
Check any connection before processing the image.
Reimplemented from makVrv::DtImageTaskElement.
|
protectedvirtual |
Copy the current frame to the tcp port.
Implements makVrv::DtImageTaskElement.
|
protected |
Handle a new client.
|
protected |
Handle a disconnect.
|
staticprotected |
VR-Link callback when a connection is initiated.
Calls handleSocketAddition().
|
staticprotected |
VR-Link callback when a connection is terminated Calls handleSocketRemoval().
|
private |
Assignment operator (unimplemented)
|
friend |
Friend creator class, the only class that can construct an instance of this DtTcpTaskElement.
|
protected |
|
protected |
|
protected |