Free Electron
RecordFactoryI.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 __data_RecordFactoryI_h__
8 #define __data_RecordFactoryI_h__
9 
10 namespace fe
11 {
12 
13 /**************************************************************************//**
14  @brief Component to create and initialize a Record
15 
16  @ingroup data
17 *//***************************************************************************/
18 class FE_DL_EXPORT RecordFactoryI:
19  virtual public Component,
20  public CastableAs<RecordFactoryI>
21 {
22  public:
23 virtual void bind(sp<Scope>& rspScope) =0;
24 virtual sp<Layout> layout(void) =0;
25 virtual void produce(Record& rRecord) =0;
26 virtual void finalize(Record& rRecord) =0;
27 };
28 
29 } /* namespace */
30 
31 #endif /* __data_RecordFactoryI_h__ */
32 
kernel
Definition: namespace.dox:3
Component to create and initialize a Record.
Definition: RecordFactoryI.h:18
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192