Class robot_dart::RobotPool
ClassList > robot_dart > RobotPool
Public Types
Public Functions
Protected Attributes
Protected Functions
Public Types Documentation
typedef robot_creator_t
using robot_dart::RobotPool::robot_creator_t = std::function<std::shared_ptr<Robot>()>;
Public Functions Documentation
function RobotPool [½]
robot_dart::RobotPool::RobotPool (
const robot_creator_t & robot_creator,
size_t pool_size=32,
bool verbose=true
)
function RobotPool [2/2]
robot_dart::RobotPool::RobotPool (
const RobotPool &
) = delete
function free_robot
virtual void robot_dart::RobotPool::free_robot (
const std::shared_ptr< Robot > & robot
)
function get_robot
virtual std::shared_ptr< Robot > robot_dart::RobotPool::get_robot (
const std::string & name="robot"
)
function model_filename
inline const std::string & robot_dart::RobotPool::model_filename () const
function operator=
void robot_dart::RobotPool::operator= (
const RobotPool &
) = delete
function ~RobotPool
inline virtual robot_dart::RobotPool::~RobotPool ()
Protected Attributes Documentation
variable _free
std::vector<bool> robot_dart::RobotPool::_free;
variable _model_filename
std::string robot_dart::RobotPool::_model_filename;
variable _pool_size
size_t robot_dart::RobotPool::_pool_size;
variable _robot_creator
robot_creator_t robot_dart::RobotPool::_robot_creator;
variable _skeleton_mutex
std::mutex robot_dart::RobotPool::_skeleton_mutex;
variable _skeletons
std::vector<dart::dynamics::SkeletonPtr> robot_dart::RobotPool::_skeletons;
variable _verbose
bool robot_dart::RobotPool::_verbose;
Protected Functions Documentation
function _reset_robot
virtual void robot_dart::RobotPool::_reset_robot (
const std::shared_ptr< Robot > & robot
)
The documentation for this class was generated from the following file robot_dart/robot_pool.hpp