PIP 5.6.1
Platform-Independent Primitives
Classes | Typedefs
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(). More...
 

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().