All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::detail::StateParameterPrintVisitor Struct Reference

Visitor used to print state parameters (variant). More...

#include <roboptim/core/solver-state.hxx>

Inheritance diagram for roboptim::detail::StateParameterPrintVisitor:

Public Member Functions

 StateParameterPrintVisitor (std::ostream &o)
 
template<typename T >
void operator() (const T &val) const
 

Public Attributes

std::ostream & o_
 

Detailed Description

Visitor used to print state parameters (variant).

Template Parameters
Ffunction type.

Constructor & Destructor Documentation

roboptim::detail::StateParameterPrintVisitor::StateParameterPrintVisitor ( std::ostream &  o)
inline

Member Function Documentation

template<typename T >
void roboptim::detail::StateParameterPrintVisitor::operator() ( const T &  val) const
inline

References o_.

Member Data Documentation

std::ostream& roboptim::detail::StateParameterPrintVisitor::o_

Referenced by operator()().