All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::visualization::matplotlib::Command Class Reference

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...
 

Detailed Description

matplotlib command.

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

Constructor & Destructor Documentation

roboptim::visualization::matplotlib::Command::Command ( const std::string &  cmd,
bool  isPlot = false 
)
explicit

Make a command from a string.

roboptim::visualization::matplotlib::Command::~Command ( )

Member Function Documentation

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_.

Member Data Documentation

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().