1 #ifndef ROOTCOMPONENT_H 2 #define ROOTCOMPONENT_H 84 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
98 #endif // ROOTCOMPONENT_H A Component which is the default root node in the configuration.
virtual RootComponent * AsRootComponent()
Returns the component's RootComponent interface.
A Component is a node in the configuration tree that makes up an emulation setup. ...
RootComponent(GXemul *owner=NULL)
Constructs a RootComponent.
static void RunUnitTests(int &nSucceeded, int &nFailures)
StateVariables make up the persistent state of Component objects.
virtual bool CheckVariableWrite(StateVariable &var, const string &oldValue)
Checks whether a write to a variable is OK.
virtual bool PreRunCheckForComponent(GXemul *gxemul)
Checks the state of this component, before starting execution.
void SetOwner(GXemul *owner)
Base class for unit testable classes.