Robot Raconteur Core C++ Library
Loading...
Searching...
No Matches
RobotRaconteur::ThreadPoolFactory Class Reference

ThreadPool factory for use with RobotRaconteurNode. More...

#include <ThreadPool.h>

Public Member Functions

virtual boost::shared_ptr< ThreadPoolNewThreadPool (const boost::shared_ptr< RobotRaconteurNode > &node)
 Construct and return a new threadpool.

Detailed Description

ThreadPool factory for use with RobotRaconteurNode.

Use ThreadPoolFactory with RobotRaconteurNode::SetThreadPoolFactory() to configure the thread pool. Must be done before RobotRaconteurNode::Init() is called.

Member Function Documentation

◆ NewThreadPool()

virtual boost::shared_ptr< ThreadPool > RobotRaconteur::ThreadPoolFactory::NewThreadPool ( const boost::shared_ptr< RobotRaconteurNode > & node)
inlinevirtual

Construct and return a new threadpool.

Parameters
nodeThe node owning the thread pool
Returns
RR_SHARED_PTR<ThreadPool>

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