The Pedigree Project
0.1
|
#include <Service.h>
Public Member Functions | |
virtual bool | serve (ServiceFeatures::Type type, void *pData, size_t dataLen)=0 |
A Service is a method through which a certain component of the system can communicate and perform actions within other components without requiring any knowledge of the internals of the component.
An example of the use of a Service is the partitioner, which can be notified of Disk changes (LoDisk, plug & play, hotplug drives) and update the partition tree accordingly.
|
pure virtual |
serve: Interface through which clients interact with the Service
Implemented in GraphicsService, and PartitionService.
Referenced by StreamingScreenLogger::callback(), RtcFile::command(), CdiDisk::initialise(), ScsiDisk::initialise(), panic(), and Debugger::start().