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:
#pragma once
{
public:
private:
};
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;
}
{
}