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" 51 AsyncTransfer(
const char* address,
const char* service =
"7681",
53 bool server =
false,
int bufferSize = 1048576,
int maxUdpPacketSize = 1472);
81 void sendImagePairAsync(
const ImagePair& imagePair,
bool deleteData =
false);
99 bool collectReceivedImagePair(
ImagePair& imagePair,
double timeout = -1);
108 int getNumDroppedFrames()
const;
124 bool isConnected()
const;
138 std::string getRemoteAddress()
const;
The connection-less UDP transport protocol.
ProtocolType
Supported network protocols.
Aggregates information about a discovered device.
Class for asynchronous transfer of image pairs.
A set of two images, which are usually the left camera image and the disparity map.