roboptim::visualization::gnuplot::Command Class Reference

Gnuplot command. More...

#include <roboptim/core/visualization/gnuplot-commands.hh>

Collaboration diagram for roboptim::visualization::gnuplot::Command:

Public Member Functions

 Command (std::string cmd)
 Make a command from a string. More...
 
 ~Command ()
 
const std::string & command () const
 Retrieve the command as a string. More...
 

Protected Attributes

std::string command_
 Store Gnuplot command. More...
 

Detailed Description

Gnuplot command.

A command represents a Gnuplot command. The representation of the command as a string can be accessed through the command() method.

Constructor & Destructor Documentation

◆ Command()

roboptim::visualization::gnuplot::Command::Command ( std::string  cmd)
explicit

Make a command from a string.

◆ ~Command()

roboptim::visualization::gnuplot::Command::~Command ( )

Member Function Documentation

◆ command()

const std::string & roboptim::visualization::gnuplot::Command::command ( ) const

Member Data Documentation

◆ command_

std::string roboptim::visualization::gnuplot::Command::command_
protected

Store Gnuplot command.

Referenced by command().