CrossGuard
|
Interface for system control classes. More...
#include <SystemInterface.h>
Public Member Functions | |
virtual | ~SystemInterface () |
Virtual destructor. | |
virtual void | initialize ()=0 |
Initializes the system. | |
virtual void | activate ()=0 |
Activates the system. | |
virtual void | deactivate ()=0 |
Deactivates the system. | |
Interface for system control classes.
An abstract class that defines the standard interface for all system control classes. It requires implementing the initialize, activate, and deactivate methods to ensure that derived classes conform to expected system control protocols.
|
inlinevirtual |
Virtual destructor.
Ensures that derived classes can be deleted safely via a base class pointer, which is crucial for polymorphic use.
|
pure virtual |
Activates the system.
Activates or enables the system. Implementation must define what it means for the specific system to be "active."
Implemented in WarningSystem.
|
pure virtual |
Deactivates the system.
Turns off or disables the system. Implementations must ensure that all necessary procedures for safely shutting down or disabling the system are included.
Implemented in WarningSystem.
|
pure virtual |
Initializes the system.
Prepares the system for operation. Must be implemented by any derived class to handle specific initialization procedures.
Implemented in WarningSystem.