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

#include <binary_plugin_router.h>

Inheritance diagram for BinaryPluginRouter:
Inheritance graph
[legend]

Public Member Functions

 ASSISTED (udp::endpoint) target_socket
 
 BinaryPluginRouter ()=delete
 
virtual uint16_t Port () override
 
virtual PluginResult TryStart () override
 
 ~BinaryPluginRouter ()
 
- Public Member Functions inherited from PluginRouter
virtual ~PluginRouter ()=default
 

Public Attributes

 config
 
SocketFactory factory
 

Private Member Functions

void observe_plugins (std::vector< uint8_t > data)
 
void observe_socket (std::vector< uint8_t > data)
 

Private Attributes

std::shared_ptr< rapidjson::Document > config_
 
ros::NodeHandle nh_
 
pluginlib::ClassLoader< skyway_plugin::SkyWayBinaryPluginplugin_loader_
 
std::vector< boost::shared_ptr< skyway_plugin::SkyWayBinaryPlugin > > plugins_
 
std::unique_ptr< Socketsocket_
 
udp::endpoint target_socket_
 

Detailed Description

Definition at line 20 of file binary_plugin_router.h.

Constructor & Destructor Documentation

◆ BinaryPluginRouter()

BinaryPluginRouter::BinaryPluginRouter ( )
delete

Definition at line 19 of file binary_plugin_router.cpp.

◆ ~BinaryPluginRouter()

BinaryPluginRouter::~BinaryPluginRouter ( )

Definition at line 32 of file binary_plugin_router.cpp.

Member Function Documentation

◆ ASSISTED()

BinaryPluginRouter::ASSISTED ( udp::endpoint  )

◆ observe_plugins()

void BinaryPluginRouter::observe_plugins ( std::vector< uint8_t >  data)
private

Definition at line 14 of file binary_plugin_router.cpp.

◆ observe_socket()

void BinaryPluginRouter::observe_socket ( std::vector< uint8_t >  data)
private

Definition at line 8 of file binary_plugin_router.cpp.

◆ Port()

uint16_t BinaryPluginRouter::Port ( )
overridevirtual

Implements PluginRouter.

Definition at line 84 of file binary_plugin_router.cpp.

◆ TryStart()

PluginResult BinaryPluginRouter::TryStart ( )
overridevirtual

Reimplemented from PluginRouter.

Definition at line 42 of file binary_plugin_router.cpp.

Member Data Documentation

◆ config

BinaryPluginRouter::config

Definition at line 35 of file binary_plugin_router.h.

◆ config_

std::shared_ptr<rapidjson::Document> BinaryPluginRouter::config_
private

Definition at line 27 of file binary_plugin_router.h.

◆ factory

SocketFactory BinaryPluginRouter::factory

Definition at line 37 of file binary_plugin_router.h.

◆ nh_

ros::NodeHandle BinaryPluginRouter::nh_
private

Definition at line 22 of file binary_plugin_router.h.

◆ plugin_loader_

pluginlib::ClassLoader<skyway_plugin::SkyWayBinaryPlugin> BinaryPluginRouter::plugin_loader_
private

Definition at line 23 of file binary_plugin_router.h.

◆ plugins_

std::vector<boost::shared_ptr<skyway_plugin::SkyWayBinaryPlugin> > BinaryPluginRouter::plugins_
private

Definition at line 24 of file binary_plugin_router.h.

◆ socket_

std::unique_ptr<Socket> BinaryPluginRouter::socket_
private

Definition at line 26 of file binary_plugin_router.h.

◆ target_socket_

udp::endpoint BinaryPluginRouter::target_socket_
private

Definition at line 25 of file binary_plugin_router.h.


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


skyway
Author(s): Toshiya Nakakura
autogenerated on Thu Oct 26 2023 02:42:21