mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2015-02-21 Fred Gleason <fredg@paravelsystems.com>
* Added support for GPIO to the Software Authority Protocol driver in 'ripcd/swauthority.cpp' and 'ripcd/swauthority.h'.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#ifndef SWAUTHORITY_H
|
||||
#define SWAUTHORITY_H
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include <qsocket.h>
|
||||
@@ -60,6 +61,7 @@ class SoftwareAuthority : public Switcher
|
||||
void DispatchCommand();
|
||||
void ExecuteMacroCart(unsigned cartnum);
|
||||
QString PrettifyCommand(const char *cmd) const;
|
||||
QString BundleString(int offset,bool state);
|
||||
QSocket *swa_socket;
|
||||
char swa_buffer[SWAUTHORITY_MAX_LENGTH];
|
||||
unsigned swa_ptr;
|
||||
@@ -78,6 +80,8 @@ class SoftwareAuthority : public Switcher
|
||||
unsigned swa_stop_cart;
|
||||
int swa_istate;
|
||||
RDMatrix::PortType swa_porttype;
|
||||
std::map<int,QString> swa_gpi_states;
|
||||
std::map<int,QString> swa_gpo_states;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user