PIP 5.9.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
piiodevice.h File Reference

Core abstraction for configurable input/output devices. More...

#include "piinit.h"
#include "piqueue.h"
#include "pithread.h"

Classes

class  PIIODevice
 Base class for input/output devices. More...

Typedefs

typedef std::function< bool(const uchar *, int, void *)> ReadRetFunc
 Callback used by setThreadedReadSlot().

Detailed Description

Core abstraction for configurable input/output devices.

Typedef Documentation

◆ ReadRetFunc

typedef std::function<bool(const uchar *, int, void *)> ReadRetFunc

Callback used by setThreadedReadSlot().

Receives pointer to data read by the background thread, number of bytes and user data set by setThreadedReadData().