Free Electron
NetDispatch.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 __networkhost_NetDispatch_h__
8 #define __networkhost_NetDispatch_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief DispatchI for NetHost
17 
18  @ingroup networkhost
19 *//***************************************************************************/
20 class FE_DL_PUBLIC FE_NETWORKHOST_PORT NetDispatch:
21  public fe::ext::Dispatch,
22  public fe::Initialize<NetDispatch>
23 {
24  public:
25  NetDispatch(void);
26 virtual ~NetDispatch(void);
27 
28  void initialize(void);
29 
30  //* as Dispatch
31 virtual bool call(const fe::String &a_name,fe::Array<fe::Instance>& a_argv);
32 virtual bool call(const fe::String &a_name,fe::InstanceMap& a_argv);
33 
34  private:
35 
36  fe::sp<NetHost> m_spNetHost;
37 };
38 
39 } /* namespace ext */
40 } /* namespace fe */
41 
42 #endif /* __networkhost_NetDispatch_h__ */
DispatchI for NetHost.
Definition: NetDispatch.h:20
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Automatically reference-counted string container.
Definition: String.h:128
Group of named instances.
Definition: InstanceMap.h:17
Wrapper for std::vector.
Definition: Array.h:21
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53