~fredericp/zaluum/rt

« back to all changes in this revision

Viewing changes to org.zaluum.model/src/org/zaluum/model/Model.java

  • Committer: Frederic Perez Ordeig
  • Date: 2010-04-07 07:55:38 UTC
  • mfrom: (308.1.63 wip-scala)
  • Revision ID: frederic@zaluum.com-20100407075538-muaneuoz134fqu5o
merged

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 *  This file is part of Zaluum
 
3
 *   
 
4
 *  Zaluum is free software: you can redistribute it and/or modify
 
5
 *  it under the terms of the GNU Lesser General Public License as published by
 
6
 *  the Free Software Foundation, either version 3 of the License, or
 
7
 *  (at your option) any later version.
 
8
 *
 
9
 *  Zaluum is distributed in the hope that it will be useful,
 
10
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 *  GNU Lesser General Public License for more details.
 
13
 *
 
14
 *  You should have received a copy of the GNU Lesser General Public License
 
15
 *  along with Zaluum.  If not, see <http://www.gnu.org/licenses/>.
 
16
 *  
 
17
 *  Copyright   2008,2009       Frederic Perez Ordeig
 
18
 *  Copyright   2008,2009       Elias Hortas Garcia
 
19
 */
 
20
package org.zaluum.model;
 
21
 
 
22
 
 
23
import java.util.List;
 
24
import java.util.Map;
 
25
 
 
26
/**
 
27
 * @author frede
 
28
 *
 
29
 */
 
30
public interface Model {
 
31
        
 
32
        Port getPortByFqName(String fqName);
 
33
 
 
34
        ComposedBox getRootBox();
 
35
 
 
36
        Map<Port, Boolean> getTargetLeafPorts(Port port, boolean crossedDirect);
 
37
 
 
38
        Port getSourcePort(Port port);
 
39
 
 
40
        List<Wire> getPortWiresForward(Port p);
 
41
 
 
42
        List<Wire> getPortWiresBackward(Port p);
 
43
 
 
44
}
 
 
b'\\ No newline at end of file'