Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
serviceI Class Reference
Interface to provide the services of the system managers.
More...
#include <serviceI.h>
Inheritance diagram for serviceI:
List of all members.
Public Methods |
| serviceI () |
| constructor.
|
| ~serviceI () |
| default destructor.
|
void | setName (std::string name) |
| call this method to get system services.
|
virtual std::string | name () const |
| resolve the name ambiguity.
|
Detailed Description
Interface to provide the services of the system managers.
serviceI provides services to optionManager.
a \serviceI derived class is a optionVI derived class.
serviceI provides services to messageManager.
a serviceI derived class is a massageVI derived class.
- There is no pure virtual method to be implemented by the derived classes.
- A derived class gets the system services calling the method
serviceTo()
. Every object that requires a service should have a unique name. - Via the optionVI services: the derived class should implement the
defineOption()
to conver some of its parameters into options (see optionVI for more details). - Note that:
defineOption()
is automatically called via the serviceTo()
method. Therefore, the derived class should not call defineOption()
.
Definition at line 31 of file serviceI.h.
Constructor & Destructor Documentation
serviceI::serviceI ( ) [inline] |
|
serviceI::~serviceI ( ) [inline] |
|
default destructor.
Definition at line 39 of file serviceI.h.
Member Function Documentation
std::string serviceI::name ( ) const [inline, virtual] |
|
resolve the name ambiguity.
Reimplemented from nameVI.
Definition at line 45 of file serviceI.h.
void serviceI::setName (
|
std::string name ) [virtual] |
|
call this method to get system services.
Reimplemented from messageVI.
Definition at line 7 of file serviceI.cpp.
The documentation for this class was generated from the following files:
Generated at Fri Aug 18 12:57:42 2000 for centella framework by
1.1.3 written by Dimitri van Heesch,
© 1997-2000