roboptim::visualization::matplotlib::Command Class Reference

matplotlib command. More...

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

List of all members.

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.

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.


Member Function Documentation

Retrieve the command as a string.

References command_.


Member Data Documentation

Store matplotlib command.

Referenced by command().

Whether the command is a plot or not.

Referenced by isPlot().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines