trick/trick_source/sim_services/ExternalApplications/include/StripChart.hh
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00

65 lines
1.6 KiB
C++

/*
PURPOSE: (Class for starting Trick Stripchart.)
*/
#ifndef STRIPCHART_HH
#define STRIPCHART_HH
#include "sim_services/ExternalApplications/include/ExternalApplication.hh"
namespace Trick {
/**
* Provides for automatic launching of Trick Stripchart.
*
* @author Warwick Woodard
*/
class StripChart : public ExternalApplication {
public:
/** Constructor. */
StripChart() ;
/**
* @copydoc ExternalApplication::set_arguments
*/
void set_arguments(std::string args);
/**
@userdesc Command to set a stripchart input filename.
@param filename - A Non-null string tells Trick to automatically launch
the stripchart application at execution and to stripchart data from the
file during execution.
*/
void set_input_file(std::string filename);
/**
@userdesc Command to get the stripchart input filename.
@return The stripchart input filename string, or Null.
*/
std::string get_input_file();
protected:
/** Input file for strip charting variables. */
std::string input_file;
private:
/** Indicates the the user has specified an input file. */
bool file_set;
/**
* @copydoc ExternalApplication::create_arguments_string
*/
std::string create_arguments_string();
/** Prevent SWIG from trying to invoke operator= on ostringstream. */
StripChart &operator=(const StripChart &);
};
}
#endif