The Pedigree Project  0.1
Public Member Functions | List of all members
Service Class Referenceabstract

#include <Service.h>

+ Inheritance diagram for Service:
+ Collaboration diagram for Service:

Public Member Functions

virtual bool serve (ServiceFeatures::Type type, void *pData, size_t dataLen)=0
 

Detailed Description

Todo:
Integrate with the Event system somehow

Service

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.

Definition at line 39 of file Service.h.

Member Function Documentation

virtual bool Service::serve ( ServiceFeatures::Type  type,
void *  pData,
size_t  dataLen 
)
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().

+ Here is the caller graph for this function:


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