semio_ros  0.10.6
SemioHumanoidServerNode Class Reference

Serve humanoids using source/sink model. More...

Public Member Functions

 SemioHumanoidServerNode (semio::HumanoidSource::Ptr humanoid_source_ptr, std::vector< semio::HumanoidSink::Ptr > const &humanoid_sinks)
 
void spin ()
 Main loop. More...
 

Protected Attributes

semio::HumanoidSource::Ptr _humanoid_source_ptr
 Pointer to the input source for humanoids. More...
 
std::vector< semio::HumanoidSink::Ptr_humanoid_sinks
 Vector of pointers to the output sinks for humanoids. More...
 

Detailed Description

Serve humanoids using source/sink model.

Definition at line 8 of file semio_humanoid_server_node.cpp.

Constructor & Destructor Documentation

SemioHumanoidServerNode::SemioHumanoidServerNode ( semio::HumanoidSource::Ptr  humanoid_source_ptr,
std::vector< semio::HumanoidSink::Ptr > const &  humanoid_sinks 
)
inline
Parameters
humanoid_source_ptrPointer to the input source for humanoids.
humanoid_sinksVector of pointers to the output sinks for humanoids.

Definition at line 21 of file semio_humanoid_server_node.cpp.

Member Function Documentation

void SemioHumanoidServerNode::spin ( )
inline

Main loop.

  • Trigger ROS callbacks
  • Publish humanoids from our input source to our output sinks

Definition at line 30 of file semio_humanoid_server_node.cpp.

Referenced by main().

+ Here is the caller graph for this function:

Field Documentation

std::vector<semio::HumanoidSink::Ptr> SemioHumanoidServerNode::_humanoid_sinks
protected

Vector of pointers to the output sinks for humanoids.

Definition at line 14 of file semio_humanoid_server_node.cpp.

semio::HumanoidSource::Ptr SemioHumanoidServerNode::_humanoid_source_ptr
protected

Pointer to the input source for humanoids.

Definition at line 12 of file semio_humanoid_server_node.cpp.


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