7 #ifndef __PVSTREAMGEV_H__
8 #define __PVSTREAMGEV_H__
11 #define EBUS_ENUM(x) typedef enum
17 EBUS_ENUM(PvDataReceiverType)
19 PvDataReceiverTypeUnknown = -1,
20 PvDataReceiverTypeEBusDriver = 0,
21 PvDataReceiverTypeUserMode = 1,
22 PvDataReceiverTypeTCP = 2
151 PvResult Open(
const PvString &aInfo, uint16_t aLocalPort, uint16_t aChannel = 0,
const PvString & aLocalIpAddress =
PvString(), uint32_t aBuffersCapacity = 64 );
207 virtual PvStreamType
GetType()
const;
214 PvDataReceiverType GetDataReceiverType()
const;
235 bool GetWaitForFirstPacketOfBlockToStart()
const;
244 PvResult SetWaitForFirstPacketOfBlockToStart(
bool aWaitForFirstPacketOfBlockToStart );
251 uint16_t GetLocalPort()
const;
265 PvString GetMulticastIPAddress()
const;
272 PvString GetDeviceIPAddress()
const;
281 uint16_t GetSpecificLocalPort()
const;
290 uint32_t GetUserModeDataReceiverThreadPriority()
const;
312 PvResult SetUserModeDataReceiverThreadPriority( uint32_t aPriority );
329 PvResult GetUserModeSocketRxBufferSize( uint32_t &aBufferSize );
374 PvResult SetUserModeSocketRxBufferSize( uint32_t aSize );
403 PvResult SetUserModeRxPacketBufferSize( uint32_t aSize );