Add more reflexivity to client/server interfaces

This commit is contained in:
TuxSH
2018-11-05 23:53:29 +01:00
committed by Michael Scire
parent e2d8316401
commit ac6762bb6c
6 changed files with 38 additions and 20 deletions

View File

@@ -13,9 +13,11 @@ namespace mesosphere
class KWritableEvent;
class KEvent;
class KReadableEvent final : public KSynchronizationObject, public IClient<KEvent, KReadableEvent, KWritableEvent> {
// Inherited by KInterruptEvent
class KReadableEvent : public KSynchronizationObject, public IClient<KEvent, KReadableEvent, KWritableEvent> {
public:
MESOSPHERE_AUTO_OBJECT_TRAITS(SynchronizationObject, ReadableEvent);
MESOSPHERE_CLIENT_TRAITS(Event);
virtual bool IsAlive() const override { return true; }