RTC Toolkit  1.0.0
Classes | Functions | Variables
rtctk::componentFramework::detail Namespace Reference

Classes

class  ArgNotSet
 
class  Args
 
class  HelpOnly
 
class  MeasureContext
 Holds context necessary for processing a measure request to completion. More...
 
class  OptimiseContext
 Holds context necessary for processing a optimise request to completion. More...
 
struct  UnspecifiedNested
 Unspecified exception used by WrapWithNested. More...
 

Functions

std::string GetTypeName (const std::type_info &tid)
 
std::ostream & JoinLines (std::ostream &os, std::string_view lines, std::string_view initial_indent, std::string_view subsequent_indent)
 Join each line in lines with. More...
 
void PrintNestedExceptionsRecursive (std::ostream &os, std::exception const &exception, int level=1)
 
void PrintNestedExceptionsRecursive (std::ostream &os, std::nested_exception const &exception, int level=1)
 Special overload for unknown exception that is still a std::nested_exception that can be further unwound. More...
 

Variables

constexpr std::string_view NESTED_EXCEPTIONS_TITLE = "Nested exceptions:"
 
constexpr std::string_view UNKNOWN_NESTED_EXCEPTION_MSG = "Unknown nested exception"
 
constexpr std::string_view UNKNOWN_NON_NESTED_EXCEPTION_MSG = "Unknown non-nested exception"
 

Function Documentation

◆ GetTypeName()

std::string rtctk::componentFramework::detail::GetTypeName ( const std::type_info &  tid)

◆ JoinLines()

std::ostream & rtctk::componentFramework::detail::JoinLines ( std::ostream &  os,
std::string_view  lines,
std::string_view  initial_indent,
std::string_view  subsequent_indent 
)

Join each line in lines with.

  • initial_indent, for the first line.
  • subsequent_indent for the remaining lines.

◆ PrintNestedExceptionsRecursive() [1/2]

void rtctk::componentFramework::detail::PrintNestedExceptionsRecursive ( std::ostream &  os,
std::exception const &  exception,
int  level = 1 
)

◆ PrintNestedExceptionsRecursive() [2/2]

void rtctk::componentFramework::detail::PrintNestedExceptionsRecursive ( std::ostream &  os,
std::nested_exception const &  exception,
int  level = 1 
)

Special overload for unknown exception that is still a std::nested_exception that can be further unwound.

Variable Documentation

◆ NESTED_EXCEPTIONS_TITLE

constexpr std::string_view rtctk::componentFramework::detail::NESTED_EXCEPTIONS_TITLE = "Nested exceptions:"
constexpr

◆ UNKNOWN_NESTED_EXCEPTION_MSG

constexpr std::string_view rtctk::componentFramework::detail::UNKNOWN_NESTED_EXCEPTION_MSG = "Unknown nested exception"
constexpr

◆ UNKNOWN_NON_NESTED_EXCEPTION_MSG

constexpr std::string_view rtctk::componentFramework::detail::UNKNOWN_NON_NESTED_EXCEPTION_MSG = "Unknown non-nested exception"
constexpr