Free Electron
StateBindI.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 __network_StateBindI_h__
8 #define __network_StateBindI_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Specify a StateCatalog and key
17 
18  @ingroup network
19 *//***************************************************************************/
20 class FE_DL_EXPORT StateBindI:
21  virtual public Component,
22  public CastableAs<StateBindI>
23 {
24  public:
25  /// @brief specify a StateCatalog of interest
26 virtual void bind(sp<StateCatalog> a_spStateCatalog) =0;
27 
28  /// @brief target a particular key in the StateCatalog
29 virtual void setKey(String a_name) =0;
30 };
31 
32 } /* namespace ext */
33 } /* namespace fe */
34 
35 #endif /* __network_StateBindI_h__ */
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Specify a StateCatalog and key.
Definition: StateBindI.h:20
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192