Goby3  3.1.4
2024.02.22
goby::middleware::detail::ThreadTypeSelector< ThreadType, ThreadConfig, true, true > Struct Template Reference

ThreadTypeSelector instantiation for calling a constructor with an index parameter and a configuration value, e.g. "MyThread(const MyConfig& cfg, int index)". More...

#include <goby/middleware/application/detail/thread_type_selector.h>

Static Public Member Functions

static std::shared_ptr< ThreadType > thread (const ThreadConfig &cfg, int index)
 

Detailed Description

template<typename ThreadType, typename ThreadConfig>
struct goby::middleware::detail::ThreadTypeSelector< ThreadType, ThreadConfig, true, true >

ThreadTypeSelector instantiation for calling a constructor with an index parameter and a configuration value, e.g. "MyThread(const MyConfig& cfg, int index)".

Definition at line 53 of file thread_type_selector.h.

Member Function Documentation

◆ thread()

template<typename ThreadType , typename ThreadConfig >
static std::shared_ptr<ThreadType> goby::middleware::detail::ThreadTypeSelector< ThreadType, ThreadConfig, true, true >::thread ( const ThreadConfig &  cfg,
int  index 
)
inlinestatic

Definition at line 55 of file thread_type_selector.h.


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