The MySimCommand Executor is a new class the implements a simulation command executor that uses the contents of the MySimCommand to print a message to the back-end console.
Header file:
#ifndef MySimCommandExecutor_h_
#define MySimCommandExecutor_h_
{
public:
private:
};
#endif
Implementation:
#include "assert.h"
#include <vlutil/vlPrint.h>
{
}
{
}
{
return true;
}
{
objectName);
if (obj)
{
}
else
{
DtInfo << "MySimCommand: Could not find entity: " << objectName.string() << std::endl;
}
return true;
}
{
}