Public Member Functions | List of all members
foxglove::ServerInterface< ConnectionHandle > Class Template Referenceabstract

#include <server_interface.hpp>

Public Member Functions

virtual std::vector< ChannelIdaddChannels (const std::vector< ChannelWithoutId > &channels)=0
 
virtual std::vector< ServiceIdaddServices (const std::vector< ServiceWithoutId > &services)=0
 
virtual void broadcastTime (uint64_t timestamp)=0
 
virtual uint16_t getPort ()=0
 
virtual void publishParameterValues (ConnectionHandle clientHandle, const std::vector< Parameter > &parameters, const std::optional< std::string > &requestId)=0
 
virtual std::string remoteEndpointString (ConnectionHandle clientHandle)=0
 
virtual void removeChannels (const std::vector< ChannelId > &channelIds)=0
 
virtual void removeServices (const std::vector< ServiceId > &serviceIds)=0
 
virtual void sendMessage (ConnectionHandle clientHandle, ChannelId chanId, uint64_t timestamp, const uint8_t *payload, size_t payloadSize)=0
 
virtual void sendServiceResponse (ConnectionHandle clientHandle, const ServiceResponse &response)=0
 
virtual void setHandlers (ServerHandlers< ConnectionHandle > &&handlers)=0
 
virtual void start (const std::string &host, uint16_t port)=0
 
virtual void stop ()=0
 
virtual void updateConnectionGraph (const MapOfSets &publishedTopics, const MapOfSets &subscribedTopics, const MapOfSets &advertisedServices)=0
 
virtual void updateParameterValues (const std::vector< Parameter > &parameters)=0
 
virtual ~ServerInterface ()
 

Detailed Description

template<typename ConnectionHandle>
class foxglove::ServerInterface< ConnectionHandle >

Definition at line 79 of file server_interface.hpp.

Constructor & Destructor Documentation

◆ ~ServerInterface()

template<typename ConnectionHandle>
virtual foxglove::ServerInterface< ConnectionHandle >::~ServerInterface ( )
inlinevirtual

Definition at line 81 of file server_interface.hpp.

Member Function Documentation

◆ addChannels()

template<typename ConnectionHandle>
virtual std::vector<ChannelId> foxglove::ServerInterface< ConnectionHandle >::addChannels ( const std::vector< ChannelWithoutId > &  channels)
pure virtual

◆ addServices()

template<typename ConnectionHandle>
virtual std::vector<ServiceId> foxglove::ServerInterface< ConnectionHandle >::addServices ( const std::vector< ServiceWithoutId > &  services)
pure virtual

◆ broadcastTime()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::broadcastTime ( uint64_t  timestamp)
pure virtual

◆ getPort()

template<typename ConnectionHandle>
virtual uint16_t foxglove::ServerInterface< ConnectionHandle >::getPort ( )
pure virtual

◆ publishParameterValues()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::publishParameterValues ( ConnectionHandle  clientHandle,
const std::vector< Parameter > &  parameters,
const std::optional< std::string > &  requestId 
)
pure virtual

◆ remoteEndpointString()

template<typename ConnectionHandle>
virtual std::string foxglove::ServerInterface< ConnectionHandle >::remoteEndpointString ( ConnectionHandle  clientHandle)
pure virtual

◆ removeChannels()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::removeChannels ( const std::vector< ChannelId > &  channelIds)
pure virtual

◆ removeServices()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::removeServices ( const std::vector< ServiceId > &  serviceIds)
pure virtual

◆ sendMessage()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::sendMessage ( ConnectionHandle  clientHandle,
ChannelId  chanId,
uint64_t  timestamp,
const uint8_t *  payload,
size_t  payloadSize 
)
pure virtual

◆ sendServiceResponse()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::sendServiceResponse ( ConnectionHandle  clientHandle,
const ServiceResponse response 
)
pure virtual

◆ setHandlers()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::setHandlers ( ServerHandlers< ConnectionHandle > &&  handlers)
pure virtual

◆ start()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::start ( const std::string &  host,
uint16_t  port 
)
pure virtual

◆ stop()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::stop ( )
pure virtual

◆ updateConnectionGraph()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::updateConnectionGraph ( const MapOfSets publishedTopics,
const MapOfSets subscribedTopics,
const MapOfSets advertisedServices 
)
pure virtual

◆ updateParameterValues()

template<typename ConnectionHandle>
virtual void foxglove::ServerInterface< ConnectionHandle >::updateParameterValues ( const std::vector< Parameter > &  parameters)
pure virtual

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


foxglove_bridge
Author(s): Foxglove
autogenerated on Mon Jul 3 2023 02:12:22