![]() |
Scanframe Modular Application 0.1.0
|
The classes sf::Variable and sf::ResultData are not multi-thread safe and can only run in the main thread. Relaying threads to the main thread is thus required.
sf::ServerConnection instance is created by the listening sf::SocketServer instance and thread.sf::ServerConnection has a member sf::ServerConnector which collects all exported generic information instances (sf::Variable and sf::ResultData).sf::VariableCollector is created for collecting sf::Variable and capturing its events. Variables are collected by the export flag set in the instance.sf::Variable instances are hooked to a handler for events.