Difference between revisions of "OpenIGTLink/Library/Discussions"

From NAMIC Wiki
Jump to: navigation, search
Line 6: Line 6:
 
=Log function=
 
=Log function=
 
==Data file format==
 
==Data file format==
* dump message data to the file
+
* binary (dump message data to file)
 
**pro
 
**pro
 
*** can be used for any type of data
 
*** can be used for any type of data

Revision as of 04:11, 7 October 2008

Home < OpenIGTLink < Library < Discussions

<< OpenIGTLink

Discussions on Open IGT Link Library Development

Log function

Data file format

  • binary (dump message data to file)
    • pro
      • can be used for any type of data
      • easy to replay
    • con
      • too redundant, if the data source does not change
      • needs reader software
  • text format
    • pro
      • human readable
    • con
      • size
      • needs interpreter. impossible to record unknown type message.

Architecture

  • 1-port, 1-connection
    • needs threading
    • implemented in the OpenIGTLink libary
  • 1-port, multiple connection
    • use 'select()' function
    • not implemented in the OpenIGTLink library
    • can be implemented as a single-thread program

Logistics

  • Make a copy repository of OpenIGTLink library
  • Make wiki account and SVN repository account for the student

Skills required

  • Basic knowledge about [OpenIGTLink | OpenIGTLink].
  • Socket programming
  • Thread
  • SVN, CMake