#include <ResetViewer.h>
Public Member Functions | |
ResetViewer (IpsaSimulator *simulator, const std::string &code=std::string("reload")) | |
Protected Member Functions | |
virtual tExecResultType | vExecute (std::vector< std::string > &Instr, std::ostringstream &answer, unsigned int &numberOfReturnValues) |
Protected Attributes | |
IpsaSimulator * | ipsaSimulator |
Definition at line 39 of file ResetViewer.h.
ResetViewer::ResetViewer | ( | IpsaSimulator * | simulator, | |
const std::string & | code = std::string("reload") | |||
) | [inline] |
Definition at line 42 of file ResetViewer.h.
Instruction::tExecResultType ResetViewer::vExecute | ( | std::vector< std::string > & | Instr, | |
std::ostringstream & | answer, | |||
unsigned int & | numberOfReturnValues | |||
) | [inline, protected, virtual] |
Virtual method which must be overridden by any subclass. It does the "real" execution of the command and is called by Instruction::findAndExecute().
Instr | instruction vector which is build like Instruction::instrdata of the specific subclass of Instruction | |
answer | a stringstream where the answer of Instruction::vExecute() gets written to | |
numberOfReturnValues | tells the method how many values should be stored in answer . |
Reimplemented from Instruction.
Definition at line 50 of file ResetViewer.h.
References Instruction::eOK, ipsaSimulator, and IpsaSimulator::reset().
IpsaSimulator* ResetViewer::ipsaSimulator [protected] |
Generated on Sat Mar 10 20:00:19 2012 for IPSA by 1.5.8 |