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. More... | |
~Command () | |
const std::string & | command () const |
Retrieve the command as a string. More... | |
const bool & | isPlot () const |
Protected Attributes | |
std::string | command_ |
Store matplotlib command. More... | |
bool | isPlot_ |
Whether the command is a plot or not. More... | |
matplotlib command.
A command represents a matplotlib command. The representation of the command as a string can be accessed through the command() method.
|
explicit |
Make a command from a string.
roboptim::visualization::matplotlib::Command::~Command | ( | ) |
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_.
|
protected |
Store matplotlib command.
Referenced by command().
|
protected |
Whether the command is a plot or not.
Referenced by isPlot().