The MySimCommand is a new class that implements a simulation command that prints a message to the console when executed
Header file:
#pragma once
#include <vlutil/vlPrint.h>
{
public:
parentRegistry = 0) const;
virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize);
protected:
};
Implementation:
#include "../addSimCommandSim/mySimCommand.h"
using namespace DtBufferSerialize;
myMessageText("text", &myRegistry)
{
}
myMessageText("text", &myRegistry)
{
}
myMessageText(orig.myMessageText.name(), &myRegistry)
{
}
{
}
{
if (this != &orig)
{
}
return *this;
}
{
}
parentRegistry) const
{
}
{
}
{
}
{
str += "Print Console Message: ";
return str;
}
{
return size;
}
unsigned contentSize)
{
{
return false;
}
return true;
}
{
{
return false;
}
return true;
}
{
}