#include #include "StreamManager.hpp" #include "ImageProcessor.hpp" using namespace std; int main() { ImageProcessor processor; StreamManager manager; PvString lConnectionID; // If no devies are found, exit. if (manager.FindDevice(&lConnectionID).IsFailure()) { return -1; } if (manager.ConnectToDevice(lConnectionID).IsFailure()) { return -1; } manager.OpenStream(lConnectionID); manager.AcquireImages(processor); manager.Disconnect(); return 0; }