Passing IGTL String messages could be convenient in several projects. Now Transform, Image and Status is supported, and the code provided is based on that with the aim of supporting String. In addition a simple data object called FASTString based on std::string is added for object passing. The naming was quasi random, so please update if preferred.
The code runs fine when the only channel is the String, however, combined with Image type (and probably others) it fails and the image channel seem to coup the lambda function provided in the test. Not sure if the error is in RunLambda or the OpenIGTLinkStreamer code. Any ideas?
Passing IGTL String messages could be convenient in several projects. Now Transform, Image and Status is supported, and the code provided is based on that with the aim of supporting String. In addition a simple data object called FASTString based on std::string is added for object passing. The naming was quasi random, so please update if preferred.
The code runs fine when the only channel is the String, however, combined with Image type (and probably others) it fails and the image channel seem to coup the lambda function provided in the test. Not sure if the error is in RunLambda or the OpenIGTLinkStreamer code. Any ideas?