libIntegra
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
node_endpoint.h
Go to the documentation of this file.
1 /* libIntegra modular audio framework
2  *
3  * Copyright (C) 2007 Birmingham City University
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it 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  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
18  * USA.
19  */
20 
26 #ifndef INTEGRA_NODE_ENDPOINT_API_H
27 #define INTEGRA_NODE_ENDPOINT_API_H
28 
29 #include "common_typedefs.h"
30 
31 
32 
33 namespace integra_api
34 {
35  class IEndpointDefinition;
36  class INode;
37  class CValue;
38  class CPath;
39 
40 
48  class INTEGRA_API INodeEndpoint
49  {
50  protected:
51 
52  INodeEndpoint() {}
53 
54  public:
55 
56  virtual ~INodeEndpoint() {}
57 
59  virtual const INode &get_node() const = 0;
60 
62  virtual const IEndpointDefinition &get_endpoint_definition() const = 0;
63 
68  virtual const CValue *get_value() const = 0;
69 
74  virtual const CPath &get_path() const = 0;
75  };
76 
77 
79  typedef std::unordered_map<string, INodeEndpoint *> node_endpoint_map;
80 }
81 
82 
83 
84 #endif
Container for info about an Endpoint in an Integra Module interface.
Definition: interface_definition.h:212
Base class for the concrete value classes CIntegerValue, CFloatValue and CStringValue.
Definition: value.h:42
Represents a node endpoint.
Definition: node_endpoint.h:48
Represents a node.
Definition: node.h:49
Represents the address of a node endpoint, absolutely or relatively.
Definition: path.h:48
#defines and typedefs used throughout the application