Socket Communication Development
From IGSTK
Reference notes for socket communication support in IGSTK
12-02-2008
- igstkSocketCommunication:
- Class implements communication over a TCP/IP protcol via socket. It can work as a server or client
- vtkSocketCommunication subjected to state machine control
- igstkTrackerToolObserverToSocketRelay.cxx: Class observes a Trackertool for transforms events and relay them to a socket connection
Related tests
igstkAuroraTrackerToolObserverToSocketRelayTest.cxx igstkMicronTrackerToolObserverToSocketRelayTest.cxx igstkPolarisTrackerToolObserverToSocketRelayTest.cxx igstkSocketCommunicationTest.cxx igstkTrackerToolObserverToSocketRelayTest.cxx igstkTransformSocketListenerTest.cxx igstkVicraTrackerToolObserverToSocketRelayTest.cxx
Use cases:
- Setup a listener as follows
- igstkSandboxTests igstkTransformSocketListenerTest 16666 1000
- Generate tracker tool transform using a circular tracker and relay it to a socket
- igstkSandboxTests igstkTrackerToolObserverToSocketRelayTest localhost 16666 1000 30 10
Related libraries:
- OpenIGTModule : Slicer Module http://wiki.na-mic.org/Wiki/index.php/IGT:ToolKit/Build-OpenIGTLink
- Tracker simulator : http://wiki.na-mic.org/Wiki/index.php/IGT:ToolKit/Build-Tracker-Simulator
Related Documentations:
