qt node cleanup sacn namespace refactors
This commit is contained in:
parent
01deea9613
commit
936f47903b
|
@ -73,7 +73,7 @@ void QSacnNode::udpReceive()
|
|||
return;
|
||||
|
||||
// wrap a PDU io stream around the QNetworkDatagram data buffer
|
||||
SACN::PDU::Stream stream(new SACN::PDU::pdu_stream(
|
||||
ACN::PDU::Stream stream(new ACN::PDU::pdu_stream(
|
||||
(uint8_t*)datagram.data().constData(),
|
||||
datagram.data().length()));
|
||||
UdpPayloadReceiver(stream);
|
||||
|
@ -88,9 +88,9 @@ void QSacnNode::udpReceive()
|
|||
* wrap data change callback to a Qt signal
|
||||
*/
|
||||
void QSacnNode::emitFound(
|
||||
std::shared_ptr<SACN::EXTENDED::DISCOVERY::DiscoveredUniverse> univ)
|
||||
std::shared_ptr<SACN::EXTENDED::DISCOVERY::discoveredUniverse> univ)
|
||||
{
|
||||
qDebug() << "found universe " << QString::number(univ->universe());
|
||||
qDebug() << "found universe " << QString::number(univ->universe);
|
||||
emit foundUniverse(univ);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,12 +28,12 @@ public:
|
|||
|
||||
signals:
|
||||
void foundUniverse(
|
||||
std::shared_ptr<SACN::EXTENDED::DISCOVERY::DiscoveredUniverse>);
|
||||
std::shared_ptr<SACN::EXTENDED::DISCOVERY::discoveredUniverse>);
|
||||
|
||||
private:
|
||||
void udpReceive();
|
||||
void emitFound(
|
||||
std::shared_ptr<SACN::EXTENDED::DISCOVERY::DiscoveredUniverse>);
|
||||
std::shared_ptr<SACN::EXTENDED::DISCOVERY::discoveredUniverse>);
|
||||
|
||||
QHash<uint16_t, QSacnUniverse*> universes_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue