Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
GetNodeInfoMockServer Class Reference

#include <get_node_info_mock_server.hpp>

Public Member Functions

 GetNodeInfoMockServer (uavcan::INode &node)
 
int start ()
 

Public Attributes

uavcan::protocol::GetNodeInfo::Response response
 

Private Types

typedef uavcan::MethodBinder< GetNodeInfoMockServer *, void(GetNodeInfoMockServer::*)(const uavcan::ReceivedDataStructure< uavcan::protocol::GetNodeInfo::Request > &, uavcan::protocol::GetNodeInfo::Response &) const > GetNodeInfoCallback
 

Private Member Functions

void handleRequest (const uavcan::ReceivedDataStructure< uavcan::protocol::GetNodeInfo::Request > &req, uavcan::protocol::GetNodeInfo::Response &res) const
 

Private Attributes

uavcan::ServiceServer< uavcan::protocol::GetNodeInfo, GetNodeInfoCallbackserver_
 

Detailed Description

Definition at line 13 of file get_node_info_mock_server.hpp.

Member Typedef Documentation

◆ GetNodeInfoCallback

typedef uavcan::MethodBinder<GetNodeInfoMockServer*, void (GetNodeInfoMockServer::*)(const uavcan::ReceivedDataStructure<uavcan::protocol::GetNodeInfo::Request>&, uavcan::protocol::GetNodeInfo::Response&) const> GetNodeInfoMockServer::GetNodeInfoCallback
private

Definition at line 18 of file get_node_info_mock_server.hpp.

Constructor & Destructor Documentation

◆ GetNodeInfoMockServer()

GetNodeInfoMockServer::GetNodeInfoMockServer ( uavcan::INode node)
inline

Definition at line 32 of file get_node_info_mock_server.hpp.

Member Function Documentation

◆ handleRequest()

void GetNodeInfoMockServer::handleRequest ( const uavcan::ReceivedDataStructure< uavcan::protocol::GetNodeInfo::Request > &  req,
uavcan::protocol::GetNodeInfo::Response &  res 
) const
inlineprivate

Definition at line 22 of file get_node_info_mock_server.hpp.

◆ start()

int GetNodeInfoMockServer::start ( )
inline

Definition at line 34 of file get_node_info_mock_server.hpp.

Member Data Documentation

◆ response

uavcan::protocol::GetNodeInfo::Response GetNodeInfoMockServer::response

Definition at line 30 of file get_node_info_mock_server.hpp.

◆ server_

uavcan::ServiceServer<uavcan::protocol::GetNodeInfo, GetNodeInfoCallback> GetNodeInfoMockServer::server_
private

Definition at line 20 of file get_node_info_mock_server.hpp.


The documentation for this class was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04