7 #include "../device/propellerdevice.h"
8 #include "../session/propellersession.h"
9 #include "../session/readbuffer.h"
93 QHash<QString, PropellerDevice *> _devices;
94 QHash<PropellerDevice *, quint32> _active_sessions;
95 QHash<PropellerDevice *, PropellerSession *> _busy;
96 QHash<PropellerSession *, PropellerSession *> _paused;
97 QHash<PropellerSession *, PropellerSession *> _sessions;
99 QHash<PropellerSession *, PropellerDevice *> _connections;
100 QHash<PropellerSession *, PropellerDevice *> _saved_connections;
102 QHash<PropellerSession *, ReadBuffer *> _buffers;
110 void deleteDevice(
const QString & port);
131 bool setBaudRate(
PropellerSession * session,
const QString & port, quint32 baudRate);
136 QByteArray read(
PropellerSession * session,
const QString & port, qint64 maxSize);
140 qint64 write(
PropellerSession * session,
const QString & port,
const QByteArray & byteArray);
145 void setMinimumTimeout(
PropellerSession * session,
const QString & port, quint32 milliseconds);
146 quint32 calculateTimeout(
PropellerSession * session,
const QString & port, quint32 bytes);
147 void useReset(
PropellerSession * session,
const QString & port,
const QString & name,
int pin);
const QStringList & listPorts()
Definition: propellermanager.cpp:160
void enablePortMonitor(bool enabled)
Definition: propellermanager.cpp:165
~PropellerManager()
Definition: propellermanager.cpp:14
The PropellerManager class provides an abstraction layer between PropellerSession and PropellerDevice...
Definition: propellermanager.h:86
The PropellerSession class provides a persistent interface to Propeller hardware via PropellerManager...
Definition: propellersession.h:43
The PropellerDevice class provides access to serial Propeller devices.
Definition: propellerdevice.h:17
PropellerManager(QObject *parent=0)
Definition: propellermanager.cpp:8