2021-08-12 13:13:00 -04:00
|
|
|
/*
|
|
|
|
manager.cpp
|
|
|
|
|
|
|
|
Copyright (c) 2021 Kevin Matz (kevin.matz@gmail.com)
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
|
|
copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "manager.h"
|
2021-08-24 18:10:20 -04:00
|
|
|
#include "rdmnet/rdmnet.h"
|
2021-08-12 13:13:00 -04:00
|
|
|
|
2021-08-24 18:10:20 -04:00
|
|
|
namespace RDMnet::LLRP {
|
2021-08-12 13:13:00 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Manager::Manager
|
2021-08-25 17:20:33 -04:00
|
|
|
* @param cid
|
2021-08-12 13:13:00 -04:00
|
|
|
*/
|
2021-08-24 18:10:20 -04:00
|
|
|
Manager::Manager(UUID::uuid cid)
|
2021-08-25 10:57:31 -04:00
|
|
|
: ACN::RLP::Component(cid)
|
2021-08-12 13:13:00 -04:00
|
|
|
{
|
2021-08-24 18:10:20 -04:00
|
|
|
fctn_ = "OpenLCP LLRP Manager";
|
2021-08-12 13:13:00 -04:00
|
|
|
|
2021-08-24 18:10:20 -04:00
|
|
|
RlpRegisterVector(VECTOR_ROOT_LLRP, std::bind(&Manager::rlpLlrpReceiver,
|
|
|
|
this, std::placeholders::_1));
|
2021-08-12 13:13:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2021-08-24 18:10:20 -04:00
|
|
|
* @brief Broker::rlpBrokerReceiver
|
|
|
|
* @param root
|
2021-08-12 13:13:00 -04:00
|
|
|
*/
|
2021-08-25 10:33:53 -04:00
|
|
|
void Manager::rlpLlrpReceiver(ACN::PDU::Message<ACN::RLP::Pdu> root)
|
2021-08-12 13:13:00 -04:00
|
|
|
{
|
2021-08-24 18:10:20 -04:00
|
|
|
(void)root;
|
2021-08-12 13:13:00 -04:00
|
|
|
}
|
|
|
|
|
2021-08-25 17:20:33 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief sendProbeRequest
|
|
|
|
*/
|
|
|
|
void Manager::sendProbeRequest()
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief receiveProbeReply
|
|
|
|
*/
|
|
|
|
void Manager::receiveProbeReply()
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
};
|
|
|
|
|
2021-08-24 18:10:20 -04:00
|
|
|
} // namespace RDMnet::LLRP
|