andreahmed
Member
I have a control system and I'm doing a triplet cascaded controllers, I have designed an interface like that
IController
{
void Run();
IController *pFirstController;
IController *pSecondController;
}
My question is for design of triplet cascaded controller, what's the best way in terms of storing a pointer to a third controller, or a make a concrete class implementation of the third cascaded controller.
IController
{
void Run();
IController *pFirstController;
IController *pSecondController;
}
My question is for design of triplet cascaded controller, what's the best way in terms of storing a pointer to a third controller, or a make a concrete class implementation of the third cascaded controller.