CrossGuard
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SystemInterface Class Referenceabstract

Interface for system control classes. More...

#include <SystemInterface.h>

Inheritance diagram for SystemInterface:
WarningSystem

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~SystemInterface()

virtual SystemInterface::~SystemInterface ( )
inlinevirtual

Virtual destructor.

Ensures that derived classes can be deleted safely via a base class pointer, which is crucial for polymorphic use.

Member Function Documentation

◆ activate()

virtual void SystemInterface::activate ( )
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.

◆ deactivate()

virtual void SystemInterface::deactivate ( )
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.

◆ initialize()

virtual void SystemInterface::initialize ( )
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.


The documentation for this class was generated from the following file: