Free Electron
ForkI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __architecture__ForkI_h__
8 #define __architecture__ForkI_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /** The purpose of ForkI is to fire off a signal when itself is signaled.
16  Therefore, this interface is intended to be used in conjunction with
17  HandlerI. */
18 class FE_DL_EXPORT ForkI : virtual public Component
19 {
20  public:
21  /** Signal using the provided record @em r_sig when signaling. If
22  no record has been specified with use(), then the record should be
23  automatically created using Scope::createRecord(). */
24 virtual void use(Record &r_sig) = 0;
25 virtual void spawn(sp<Layout> &l_sig) = 0;
26 };
27 
28 } /* namespace ext */
29 } /* namespace fe */
30 
31 #endif /* __architecture__ForkI_h__ */
kernel
Definition: namespace.dox:3
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Base for all interfacable components.
Definition: Component.h:20
The purpose of ForkI is to fire off a signal when itself is signaled.
Definition: ForkI.h:18