ed
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ed::Server Class Reference

#include <server.h>

Public Member Functions

void configure (tue::Configuration &config, bool reconfigure=false)
 
const PropertyKeyDBEntrygetPropertyKeyDBEntry (const std::string &name) const
 
void initialize ()
 
PluginContainerPtr loadPlugin (const std::string &plugin_name, tue::Configuration config)
 
void publishStatistics ()
 
void reset (bool keep_all_shapes=false)
 
 Server ()
 
void stepPlugins ()
 
void storeEntityMeasurements (const std::string &path) const
 
void update ()
 
void update (const ed::UpdateRequest &req)
 
void update (const std::string &update_str, std::string &error)
 
WorldModelConstPtr world_model () const
 
virtual ~Server ()
 

Private Member Functions

void initializeWorld ()
 

Private Attributes

std::map< std::string, PluginContainerPtrinactive_plugin_containers_
 
models::ModelLoader model_loader_
 Model loading. More...
 
boost::mutex mutex_world_
 
std::map< std::string, PluginContainerPtrplugin_containers_
 Plugins. More...
 
PropertyKeyDB property_key_db_
 Property Key DB. More...
 
ros::Publisher pub_stats_
 
std::map< std::string, SensorModulePtrsensors_
 Sensor data. More...
 
TFBufferPtr tf_buffer_
 
TFBufferConstPtr tf_buffer_const_
 
ed::shared_ptr< tf2_ros::TransformListener > tf_listener_
 
std::queue< UpdateRequestupdate_requests_
 
diagnostic_updater::Updater updater_
 Profiling. More...
 
WorldModelConstPtr world_model_
 
std::string world_name_
 World name. More...
 

Detailed Description

Definition at line 32 of file server.h.

Constructor & Destructor Documentation

◆ Server()

ed::Server::Server ( )

Definition at line 31 of file server.cpp.

◆ ~Server()

ed::Server::~Server ( )
virtual

Definition at line 42 of file server.cpp.

Member Function Documentation

◆ configure()

void ed::Server::configure ( tue::Configuration config,
bool  reconfigure = false 
)

Definition at line 49 of file server.cpp.

◆ getPropertyKeyDBEntry()

const PropertyKeyDBEntry* ed::Server::getPropertyKeyDBEntry ( const std::string name) const
inline

Definition at line 65 of file server.h.

◆ initialize()

void ed::Server::initialize ( )

Definition at line 142 of file server.cpp.

◆ initializeWorld()

void ed::Server::initializeWorld ( )
private

Definition at line 416 of file server.cpp.

◆ loadPlugin()

PluginContainerPtr ed::Server::loadPlugin ( const std::string plugin_name,
tue::Configuration  config 
)

Definition at line 207 of file server.cpp.

◆ publishStatistics()

void ed::Server::publishStatistics ( )

Definition at line 457 of file server.cpp.

◆ reset()

void ed::Server::reset ( bool  keep_all_shapes = false)

Definition at line 153 of file server.cpp.

◆ stepPlugins()

void ed::Server::stepPlugins ( )

Definition at line 240 of file server.cpp.

◆ storeEntityMeasurements()

void ed::Server::storeEntityMeasurements ( const std::string path) const

Definition at line 437 of file server.cpp.

◆ update() [1/3]

void ed::Server::update ( )

Definition at line 289 of file server.cpp.

◆ update() [2/3]

void ed::Server::update ( const ed::UpdateRequest req)

Definition at line 313 of file server.cpp.

◆ update() [3/3]

void ed::Server::update ( const std::string update_str,
std::string error 
)

Definition at line 337 of file server.cpp.

◆ world_model()

WorldModelConstPtr ed::Server::world_model ( ) const
inline

Definition at line 53 of file server.h.

Member Data Documentation

◆ inactive_plugin_containers_

std::map<std::string, PluginContainerPtr> ed::Server::inactive_plugin_containers_
private

Definition at line 94 of file server.h.

◆ model_loader_

models::ModelLoader ed::Server::model_loader_
private

Model loading.

Definition at line 84 of file server.h.

◆ mutex_world_

boost::mutex ed::Server::mutex_world_
mutableprivate

Definition at line 72 of file server.h.

◆ plugin_containers_

std::map<std::string, PluginContainerPtr> ed::Server::plugin_containers_
private

Plugins.

Definition at line 93 of file server.h.

◆ property_key_db_

PropertyKeyDB ed::Server::property_key_db_
private

Property Key DB.

Definition at line 90 of file server.h.

◆ pub_stats_

ros::Publisher ed::Server::pub_stats_
private

Definition at line 98 of file server.h.

◆ sensors_

std::map<std::string, SensorModulePtr> ed::Server::sensors_
private

Sensor data.

Definition at line 87 of file server.h.

◆ tf_buffer_

TFBufferPtr ed::Server::tf_buffer_
private

Definition at line 100 of file server.h.

◆ tf_buffer_const_

TFBufferConstPtr ed::Server::tf_buffer_const_
private

Definition at line 101 of file server.h.

◆ tf_listener_

ed::shared_ptr<tf2_ros::TransformListener> ed::Server::tf_listener_
private

Definition at line 102 of file server.h.

◆ update_requests_

std::queue<UpdateRequest> ed::Server::update_requests_
private

Definition at line 79 of file server.h.

◆ updater_

diagnostic_updater::Updater ed::Server::updater_
private

Profiling.

Definition at line 97 of file server.h.

◆ world_model_

WorldModelConstPtr ed::Server::world_model_
private

Definition at line 74 of file server.h.

◆ world_name_

std::string ed::Server::world_name_
private

World name.

Definition at line 77 of file server.h.


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