NDS3  1.0.0
API reference manual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
port.h
Go to the documentation of this file.
1 /*
2  * Nominal Device Support v3 (NDS3)
3  *
4  * Copyright (c) 2015 Cosylab d.d.
5  *
6  * For more information about the license please refer to the license.txt
7  * file included in the distribution.
8  */
9 
10 #ifndef NDSPORT_H
11 #define NDSPORT_H
12 
23 #include "nds3/definitions.h"
24 #include "nds3/node.h"
25 
26 namespace nds
27 {
28 
29 class PVBase;
30 class PortImpl;
31 
35 class NDS3_API Port: public Node
36 {
37 protected:
38  Port();
39 
40 public:
41 #ifndef SWIG
42  Port(std::shared_ptr<PortImpl> portImpl);
43 #endif
44 
54  Port(const std::string& name, const nodeType_t nodeType = nodeType_t::generic);
55 
56 };
57 
58 }
59 
60 #endif // NDSPORT_H
Defines the nds::Node class, a class that can contain other device's nodes, ports or PVs...
A node object that can contain other nodes or PVs as children.
Definition: node.h:38
Represents a node with direct connection with the controlled device.
Definition: port.h:35
nodeType_t
Defines the nodes' roles in the tree structure: it is used to build the node's external name when usi...
Definition: definitions.h:103
The node's role is not specified.
Defines all the enumeration and common types used across the NDS library.