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

ThreadTypeSelector instantiation for calling a constructor without an index parameter but with a configuration value, e.g. "MyThread(const MyConfig& cfg)". 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=-1)
 

Detailed Description

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

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

Definition at line 43 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, false, true >::thread ( const ThreadConfig &  cfg,
int  index = -1 
)
inlinestatic

Definition at line 45 of file thread_type_selector.h.


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