Free Electron
OperatorGraphI.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 __operate_OperatorGraphI_h__
8 #define __operate_OperatorGraphI_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief General graph navigation
17 
18  @ingroup operate
19 *//***************************************************************************/
20 class FE_DL_EXPORT OperatorGraphI:
21  public Component,
22  public CastableAs<OperatorGraphI>
23 {
24  public:
25 
26 virtual sp<ImageI> image(void) =0;
27 
28 virtual U32 inputCount(String a_nodeName) const =0;
29 virtual String inputConnector(String a_nodeName,U32 a_index) const =0;
30 virtual BWORD hasInputConnector(String a_nodeName,
31  String a_inputConnector) const =0;
32 virtual String inputNode(String a_nodeName,
33  String a_inputConnector) const =0;
34 virtual String inputNodeOutputConnector(String a_nodeName,
35  String a_inputConnector) const =0;
36 
37 virtual U32 outputCount(String a_nodeName) const =0;
38 virtual String outputConnector(String a_nodeName,U32 a_index) const =0;
39 virtual BWORD hasOutputConnector(String a_nodeName,
40  String a_outputConnector) const =0;
41 virtual String outputNode(String a_nodeName,
42  String a_outputConnector) const =0;
43 
44 virtual BWORD connect(String a_outputName,String a_outputConnector,
45  String a_inputName,String a_inputConnector) =0;
46 virtual BWORD disconnect(String a_inputName,String a_inputConnector) =0;
47 };
48 
49 } /* namespace ext */
50 } /* namespace fe */
51 
52 #endif /* __operate_OperatorGraphI_h__ */
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
General graph navigation.
Definition: OperatorGraphI.h:20
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192