![]() |
Public API Reference |
![]() |
Interface to interact with a kitchen sink. More...
#include <iutil/kitchensink.h>
Public Member Functions | |
virtual void | Drain ()=0 |
Drain the water from the sink. | |
virtual float | Fill (float amount)=0 |
Fill a certain amount of water into the sink. | |
virtual bool | GetShredderActive ()=0 |
Retrieve whether the shredder fitted to the drain was enabled. | |
virtual void | Insert (iBase *object)=0 |
Insert an object in the kitchen sink. | |
virtual bool | Remove (iBase *object)=0 |
Remove an object from the kitchen sink. | |
virtual void | SetShredderActive (bool enable)=0 |
Enable or disable the shredder fitted to the drain. |
Interface to interact with a kitchen sink.
Definition at line 33 of file kitchensink.h.
virtual void iKitchenSink::Drain | ( | ) | [pure virtual] |
Drain the water from the sink.
virtual float iKitchenSink::Fill | ( | float | amount | ) | [pure virtual] |
virtual bool iKitchenSink::GetShredderActive | ( | ) | [pure virtual] |
Retrieve whether the shredder fitted to the drain was enabled.
virtual void iKitchenSink::Insert | ( | iBase * | object | ) | [pure virtual] |
Insert an object in the kitchen sink.
virtual bool iKitchenSink::Remove | ( | iBase * | object | ) | [pure virtual] |
Remove an object from the kitchen sink.
virtual void iKitchenSink::SetShredderActive | ( | bool | enable | ) | [pure virtual] |
Enable or disable the shredder fitted to the drain.