29#include <VirtualRobot/VirtualRobot.h>
59 std::map<int, std::vector<VirtualRobot::RobotPtr>> robots;
61 mutable std::mutex mutex;
size_t getRobotsInUseCount() const
VirtualRobot::RobotPtr getRobot(int inflation=0)
getRobot
size_t clean()
Removes unused robots from the pool.
RobotPool(VirtualRobot::RobotPtr robot, size_t defaultSize=1)
size_t getPoolSize() const
std::shared_ptr< class Robot > RobotPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class RobotPool > RobotPoolPtr