15 #ifndef VISIONTRANSFER_ASYNCTRANSFER_H 16 #define VISIONTRANSFER_ASYNCTRANSFER_H 18 #include "visiontransfer/common.h" 19 #include "visiontransfer/imagetransfer.h" 20 #include "visiontransfer/imagepair.h" 21 #include "visiontransfer/imageprotocol.h" 22 #include "visiontransfer/deviceinfo.h" 49 AsyncTransfer(
const char* address,
const char* service =
"7681",
51 bool server =
false,
int bufferSize = 1048576,
int maxUdpPacketSize = 1472);
79 void sendImagePairAsync(
const ImagePair& imagePair,
bool deleteData =
false);
97 bool collectReceivedImagePair(
ImagePair& imagePair,
double timeout = -1);
106 int getNumDroppedFrames()
const;
122 bool isConnected()
const;
136 std::string getRemoteAddress()
const;
The connection-less UDP transport protocol.
ProtocolType
Supported network protocols.
A set of two images, which are usually the left camera image and the disparity map.
Class for asynchronous transfer of image pairs.
Aggregates information about a discovered device.