|
The Pedigree Project 0.1
|
#include <ServiceFeatures.h>
Collaboration diagram for ServiceFeatures:Public Types | |
| enum | Type { write = 16 , read = 1 , touch = 2 , probe = 4 , withdraw = 8 } |
Public Member Functions | |
| virtual bool | provides (Type service) |
| virtual void | add (Type s) |
| virtual void | remove (Type s) |
Private Attributes | |
| uint32_t | m_OpEnum |
Service Operation Enumeration
This class provides a central interface for finding out the features a Service exposes to the system.
Definition at line 31 of file ServiceFeatures.h.
| Enumerator | |
|---|---|
| write | Write: send data to the Service. Open to interpretation (OTI) |
| read | Read: obtain data form the service. OTI |
| touch | Touch: inform of new state, pass relevant object data |
| probe | Probe: what's happening? OTI |
| withdraw | Withdraw: remove state previously registered with touch. |
Definition at line 33 of file ServiceFeatures.h.
| ServiceFeatures::ServiceFeatures | ( | ) |
Definition at line 22 of file ServiceFeatures.cc.
|
virtual |
Definition at line 23 of file ServiceFeatures.cc.
|
virtual |
Used by the Service itself when installing
Definition at line 29 of file ServiceFeatures.cc.
References provides().
|
virtual |
Does the operation provide a specific service?
Definition at line 25 of file ServiceFeatures.cc.
Referenced by add(), ScsiDisk::initialise(), panic(), remove(), ServiceManager::serve(), PartitionService::serve(), and Debugger::start().
Here is the caller graph for this function:
|
virtual |
Used by the Service itself to dynamically change offered features
Definition at line 34 of file ServiceFeatures.cc.
References provides().
|
private |
Definition at line 63 of file ServiceFeatures.h.