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