Goby3  3.1.5a
2024.05.23
goby::middleware::detail Namespace Reference

Classes

struct  DataProtection
 
struct  DCCLSerializerParserHelperBase
 Wraps a dccl::Codec in a thread-safe way to make it usable by SerializerParserHelper. More...
 
struct  primitive_type
 
struct  primitive_type< std::shared_ptr< const T > >
 
struct  primitive_type< std::shared_ptr< T > >
 
class  SubscriptionStore
 Storage class for a specific interthread subscription (and related data). Used by InterThreadTransporter. More...
 
class  SubscriptionStoreBase
 Base class for interthread subscription information. Non-template so it can be stored in a single container. Used by InterThreadTransporter. More...
 
struct  ThreadTypeSelector
 Selects which constructor to use based on whether the thread is launched with an index or not (that is, index == -1), and with a configuration object or not. Not directly called by user code. More...
 
struct  ThreadTypeSelector< ThreadType, ThreadConfig, false, false >
 ThreadTypeSelector instantiation for calling a constructor without an index parameter ora configuration value, e.g. "MyThread()". More...
 
struct  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)". More...
 
struct  ThreadTypeSelector< ThreadType, ThreadConfig, true, false >
 ThreadTypeSelector instantiation for calling a constructor with an index parameter and without a configuration value, e.g. "MyThread(int index)". More...
 
struct  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)". More...
 

Typedefs

template<typename T >
using first_argument = decltype(first_argument_helper(std::declval< T >()))
 

Functions

template<typename Config >
Config make_interprocess_config (Config cfg, std::string app_name)
 
template<typename Ret , typename Arg , typename... Rest>
Arg first_argument_helper (Ret(*)(Arg, Rest...))
 
template<typename Ret , typename F , typename Arg , typename... Rest>
Arg first_argument_helper (Ret(F::*)(Arg, Rest...))
 

Variables

template<typename F >
decltype(first_argument_helper(&F::operator())) first_argument_helper (F)
 

Typedef Documentation

◆ first_argument

template<typename T >
using goby::middleware::detail::first_argument = typedef decltype(first_argument_helper(std::declval<T>()))

Definition at line 46 of file type_helpers.h.

Function Documentation

◆ first_argument_helper() [1/2]

template<typename Ret , typename Arg , typename... Rest>
Arg goby::middleware::detail::first_argument_helper ( Ret(*)(Arg, Rest...)  )

◆ first_argument_helper() [2/2]

template<typename Ret , typename F , typename Arg , typename... Rest>
Arg goby::middleware::detail::first_argument_helper ( Ret(F::*)(Arg, Rest...)  )

◆ make_interprocess_config()

template<typename Config >
Config goby::middleware::detail::make_interprocess_config ( Config  cfg,
std::string  app_name 
)
inline

Definition at line 33 of file interprocess_common.h.

Variable Documentation

◆ first_argument_helper

template<typename F >
decltype(first_argument_helper(&F::operator())) goby::middleware::detail::first_argument_helper(F)

Definition at line 43 of file type_helpers.h.