blob: 5aa18842b062fade8edfd6d9ae4d6040352d0335 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "actor_virtual.h"
namespace NActors {
class TEventForStart;
class TActorAutoStart: public IActorVirtual {
protected:
virtual void DoOnStart(const TActorId& senderActorId) = 0;
TAutoPtr<IEventHandle> AfterRegister(const TActorId& self, const TActorId& parentId) override;
public:
void ProcessEvent(TEventContext<TEventForStart>& ev);
TActorAutoStart() {
}
};
}
|