matplotlib command. More...
#include <roboptim/core/visualization/matplotlib-commands.hh>
Public Member Functions | |
Command (const std::string &cmd, bool isPlot=false) | |
Make a command from a string. | |
~Command () | |
const std::string & | command () const |
Retrieve the command as a string. | |
const bool & | isPlot () const |
Protected Attributes | |
std::string | command_ |
Store matplotlib command. | |
bool | isPlot_ |
Whether the command is a plot or not. |
matplotlib command.
A command represents a matplotlib command. The representation of the command as a string can be accessed through the command() method.
roboptim::visualization::matplotlib::Command::Command | ( | const std::string & | cmd, |
bool | isPlot = false |
||
) | [explicit] |
Make a command from a string.
const std::string & roboptim::visualization::matplotlib::Command::command | ( | ) | const |
Retrieve the command as a string.
References command_.
const bool & roboptim::visualization::matplotlib::Command::isPlot | ( | ) | const |
References isPlot_.
std::string roboptim::visualization::matplotlib::Command::command_ [protected] |
Store matplotlib command.
Referenced by command().
bool roboptim::visualization::matplotlib::Command::isPlot_ [protected] |
Whether the command is a plot or not.
Referenced by isPlot().