ecto
forward.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011, Willow Garage, Inc.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  *
8  * * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  * * Redistributions in binary form must reproduce the above copyright
11  * notice, this list of conditions and the following disclaimer in the
12  * documentation and/or other materials provided with the distribution.
13  * * Neither the name of the Willow Garage, Inc. nor the names of its
14  * contributors may be used to endorse or promote products derived from
15  * this software without specific prior written permission.
16  *
17  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27  * POSSIBILITY OF SUCH DAMAGE.
28  */
29 #pragma once
30 
31 #include <boost/shared_ptr.hpp>
32 
33 namespace ecto {
34  class tendril;
35  typedef boost::shared_ptr<tendril> tendril_ptr;
36  typedef boost::shared_ptr<const tendril> tendril_cptr;
37 
38  class tendrils;
39  typedef boost::shared_ptr<tendrils> tendrils_ptr;
40  typedef boost::shared_ptr<const tendrils> tendrils_cptr;
41 
42  struct cell;
43  typedef boost::shared_ptr<cell> cell_ptr;
44  typedef boost::shared_ptr<const cell> cell_cptr;
45 
46  struct plasm;
47  typedef boost::shared_ptr<plasm> plasm_ptr;
48  typedef boost::shared_ptr<const plasm> plasm_cptr;
49 
50  struct strand;
51  typedef boost::shared_ptr<strand> strand_ptr;
52  typedef boost::shared_ptr<const strand> strand_cptr;
53 
54  template <typename T> struct cell_;
55 
56  class scheduler;
57 
58  namespace graph {
59  struct edge;
60  typedef boost::shared_ptr<edge> edge_ptr;
61  typedef boost::shared_ptr<const edge> edge_cptr;
62 
63  struct vertex;
64  typedef boost::shared_ptr<vertex> vertex_ptr;
65  typedef boost::shared_ptr<const vertex> vertex_cptr;
66 
67  struct graph_t;
68  } // End of namespace graph.
69 
70 } // End of namespace ecto.
71 
72 
Definition: strand.hpp:38
boost::shared_ptr< const tendrils > tendrils_cptr
Definition: forward.hpp:40
boost::shared_ptr< const strand > strand_cptr
Definition: forward.hpp:52
The plasm helps construct the graph structure in ecto. It enforces several invariants that are necess...
Definition: plasm.hpp:54
ecto::cell is the non virtual interface to the basic building block of ecto graphs. This interface should never be the parent of client cell, but may be used for polymorphic access to client cells.
Definition: cell.hpp:93
boost::shared_ptr< const edge > edge_cptr
Definition: forward.hpp:61
boost::shared_ptr< const tendril > tendril_cptr
Definition: forward.hpp:36
boost::shared_ptr< cell > cell_ptr
Definition: forward.hpp:42
Definition: parameters.hpp:11
Definition: vertex.hpp:39
boost::shared_ptr< strand > strand_ptr
Definition: forward.hpp:50
boost::shared_ptr< tendril > tendril_ptr
Definition: forward.hpp:34
boost::shared_ptr< vertex > vertex_ptr
Definition: forward.hpp:63
Definition: edge.hpp:38
boost::shared_ptr< const cell > cell_cptr
Definition: forward.hpp:44
A tendril is the slender, winding organ of the ecto::cell that gives it its awesome type erasure and ...
Definition: tendril.hpp:84
Definition: scheduler.hpp:50
Definition: types.hpp:46
boost::shared_ptr< const vertex > vertex_cptr
Definition: forward.hpp:65
boost::shared_ptr< edge > edge_ptr
Definition: forward.hpp:59
boost::shared_ptr< const plasm > plasm_cptr
Definition: forward.hpp:48
boost::shared_ptr< plasm > plasm_ptr
Definition: forward.hpp:46
The tendrils are a collection for the ecto::tendril class, addressable by a string key...
Definition: tendrils.hpp:53
boost::shared_ptr< tendrils > tendrils_ptr
Definition: forward.hpp:38
cell_<T> is for registering an arbitrary class with the the cell NVI. This adds a barrier between cli...
Definition: cell.hpp:336