11 #include <uavcan/protocol/GetNodeInfo.hpp> 17 uavcan::protocol::GetNodeInfo::Response&)
const>
22 void handleRequest(
const uavcan::ReceivedDataStructure<uavcan::protocol::GetNodeInfo::Request>& req,
23 uavcan::protocol::GetNodeInfo::Response& res)
const 26 std::cout <<
"GET NODE INFO:\nREQUEST\n" << req <<
"RESPONSE\n" << res << std::endl;
30 uavcan::protocol::GetNodeInfo::Response
response;
void handleRequest(const uavcan::ReceivedDataStructure< uavcan::protocol::GetNodeInfo::Request > &req, uavcan::protocol::GetNodeInfo::Response &res) const
uavcan::ServiceServer< uavcan::protocol::GetNodeInfo, GetNodeInfoCallback > server_
GetNodeInfoMockServer(uavcan::INode &node)
uavcan::protocol::GetNodeInfo::Response response
int start(const Callback &callback)
uavcan::MethodBinder< GetNodeInfoMockServer *, void(GetNodeInfoMockServer::*)(const uavcan::ReceivedDataStructure< uavcan::protocol::GetNodeInfo::Request > &, uavcan::protocol::GetNodeInfo::Response &) const > GetNodeInfoCallback