Ginga  0.13.6.1771-df200
The iTV middleware.
NclPort.h
Go to the documentation of this file.
1 /* Copyright (C) 2006-2017 PUC-Rio/Laboratorio TeleMidia
2 
3 This file is part of Ginga (Ginga-NCL).
4 
5 Ginga is free software: you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9 
10 Ginga is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with Ginga. If not, see <http://www.gnu.org/licenses/>. */
17 
18 #ifndef NCL_PORT_H
19 #define NCL_PORT_H
20 
21 #include "NclAnchor.h"
22 
24 
25 class NclComposition;
26 class NclNode;
27 class NclPort: public NclAnchor
28 {
29 public:
30  NclPort (NclDocument *, const string &);
31  ~NclPort ();
32 
34  void initParent (NclComposition *);
35 
36  NclNode *getNode ();
37  void initNode (NclNode *);
38 
40  void initInterface (NclAnchor *);
41 
42  void getTarget (NclNode **, NclAnchor **);
43 
44 protected:
48 
51 };
52 
54 
55 #endif // NCL_PORT_H
Definition: NclComposition.h:26
Definition: NclDocument.h:25
NclNode * _node
Definition: NclPort.h:46
void initParent(NclComposition *)
Definition: NclPort.cpp:44
~NclPort()
Definition: NclPort.cpp:33
NclAnchor * _interface
Definition: NclPort.h:47
void initInterface(NclAnchor *)
Definition: NclPort.cpp:72
NclNode * getFinalNode()
Definition: NclPort.cpp:100
NclAnchor * getFinalInterface()
Definition: NclPort.cpp:109
NclComposition * getParent()
Definition: NclPort.cpp:38
#define GINGA_NAMESPACE_END
Definition: aux-ginga.h:62
Definition: NclAnchor.h:25
#define GINGA_NAMESPACE_BEGIN
Definition: aux-ginga.h:61
void initNode(NclNode *)
Definition: NclPort.cpp:58
Definition: NclPort.h:27
NclPort(NclDocument *, const string &)
Definition: NclPort.cpp:26
NclNode * getNode()
Definition: NclPort.cpp:52
NclAnchor * getInterface()
Definition: NclPort.cpp:66
NclComposition * _parent
Definition: NclPort.h:45
Definition: NclNode.h:26
void getTarget(NclNode **, NclAnchor **)
Definition: NclPort.cpp:80