Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Command.hpp
Go to the documentation of this file.
1 /*
2  * Command.hpp
3  *
4  * Created on: Oct 25, 2014
5  * Author: nano
6  */
7 
8 #ifndef COMMAND_HPP_
9 #define COMMAND_HPP_
10 
11 #include <algorithm>
12 #include <iostream>
13 #include <fstream>
14 #include <string>
15 #include <sstream>
16 #include <math.h>
17 #include <iomanip>
18 #include "../common/CommonBase.hpp"
19 
20 namespace phoxonics {
21 namespace common {
22 
23 class Command : public CommonBase {
24 public:
25  Command();
26  virtual ~Command();
27 
36  std::string execute_command(char* cmd);
37 };
38 
39 } /* namespace core */
40 } /* namespace phoxonics */
41 
42 #endif /* COMMAND_HPP_ */
virtual ~Command()
Definition: Command.cpp:17
Command()
Definition: Command.cpp:13
std::string execute_command(char *cmd)
Executes a shell command.
Definition: Command.cpp:29
Definition: CommonBase.hpp:14
Definition: Command.hpp:23
Definition: CommonBase.hpp:17