This subclass of DtVrfProcessStateRepository that will keep information about the turn and move task to use when reloaded as part of a scenario.
Header file:
#ifndef turnAndMoveControllerPSR_H_
#define turnAndMoveControllerPSR_H_
{
public:
const DtString& rwName = DtString::nullString(),
const DtString& rwName = DtString::nullString(),
const DtString& rwName = DtString::nullString(),
protected:
};
#endif
Implementation:
myDestinationName("destination-name", &myRegistry),
mySubtaskId("subtask-id", &myRegistry),
myTaskState("task-state", &myRegistry)
{
myDestinationName = "";
mySubtaskId = -1;
myTaskState = 0;
}
myDestinationName(orig.myDestinationName.name(), &myRegistry),
mySubtaskId(orig.mySubtaskId.name(), &myRegistry),
myTaskState(orig.myTaskState.name(), &myRegistry)
{
}
{
if (this == &orig) {return *this;}
return *this;
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}