Ophidian
 All Classes Namespaces Functions
sta_timing_point_calculator.h
1 /*
2  * Copyright 2016 Ophidian
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10 
11  http://www.apache.org/licenses/LICENSE-2.0
12 
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19  */
20 
21 #ifndef TEST_TIMING_STA_TIMING_POINT_CALCULATOR_H_
22 #define TEST_TIMING_STA_TIMING_POINT_CALCULATOR_H_
23 
24 #include "sta_arc_calculator.h"
25 #include "graph.h"
26 
27 #include "graph_nodes_timing.h"
28 #include "graph_arcs_timing.h"
29 #include <deque>
30 
31 namespace ophidian {
32 namespace timing {
33 
34 class sta_timing_edge_calculator;
36  const graph & m_graph;
37  std::deque<lemon::ListDigraph::Node> m_to_process;
38  lemon::ListDigraph::NodeMap<std::size_t> m_counter;
39 public:
41  virtual ~sta_timing_point_calculator();
42 
43  void reset_counter();
44 
45  bool empty();
46  virtual void push(lemon::ListDigraph::Node node);
47  virtual void process_queue(const graph & m_graph, const graph_arcs_timing & m_arcs_timing, graph_nodes_timing & m_nodes_timing, lemon::ListDigraph::ArcMap< sta_timing_edge_calculator * > & tarcs);
48 };
49 } /* namespace timing */
50 } /* namespace openeda */
51 
52 #endif /* TEST_TIMING_STA_TIMING_POINT_CALCULATOR_H_ */
Definition: graph.h:44
Definition: graph_nodes_timing.h:31
virtual void process_queue(const graph &m_graph, const graph_arcs_timing &m_arcs_timing, graph_nodes_timing &m_nodes_timing, lemon::ListDigraph::ArcMap< sta_timing_edge_calculator * > &tarcs)
Definition: sta_timing_point_calculator.cpp:49
Definition: graph_arcs_timing.h:30
Definition: sta_timing_point_calculator.h:35