device_driver::device_driver
Signature: device_driver::device_driver()
Attributes: undefined
Description: Constructor for the device driver class
device_driver::~device_driver
Signature: device_driver::~device_driver()
Attributes: undefined
Description: Destructor for the device driver class
device_driver::activate
Signature: void device_driver::activate()
Description: Activates the device driver
Return: void
device_driver::is_presend
Signature: bool device_driver::is_presend()
Description: Checks if the device is presend
Return: bool
device_driver::get_name
Signature: char* device_driver::get_name()
Description: Gets the name of a device driver
Return: char*
device_driver::get_activated
Signature: bool device_driver::get_activated()
Description: Gets the activated state of a device driver
Return: bool
device_driver::set_activated
Signature: void device_driver::set_activated(bool activated)
Description: Sets the activated state of a device driver
Parameters:
Return: void
driver_manager::driver_manager
Signature: driver_manager::driver_manager()
Attributes: undefined
Description: Constructor for the driver manager class
driver_manager::add_driver
Signature: void driver_manager::add_driver(device_driver* driver)
Description: Adds a driver to the driver manager
Parameters:
Return: void
driver_manager::set_status
Signature: void driver_manager::set_status(char* status, uint64_t color)
Description: Sets the status of a driver
Parameters:
char* status
uint64_t color
Return: void
driver_manager::activate_driver
Signature: void driver_manager::activate_driver(bool force, device_driver* driver)
Description: Activates a driver
Parameters:
bool force
device_driver* driver
Return: void
driver_manager::activate_all
Signature: void driver_manager::activate_all(bool force)
Description: Activates all drivers
Parameters:
Return: void
driver_manager::find_driver_by_name
Signature: device_driver* driver_manager::find_driver_by_name(char* name)
Description: Finds a driver by name
Parameters:
Return: device_driver*
Show file on GitHub