PortMUX Class
The PortMUX component is a multiplexer for CDPPort objects where Index=0 selects the first input port and propagates the connection or data in the port when possible to the output port. More...
| Header: | #include <ComponentLib/PortMUX.h> |
| Inherits: | CDPComponent |
Public Functions
| ~PortMUX() override |
Reimplemented Public Functions
| virtual void | Configure(const char *componentXML) override |
| virtual void | Create(const char *fullName) override |
| virtual void | CreateModel() override |
| virtual void | ProcessNull() override |
- 88 public functions inherited from CDPComponent
- 37 public functions inherited from CDPObject
- 39 public functions inherited from CDPBaseObject
- 25 public functions inherited from CDP::StudioAPI::CDPNode
- 22 public functions inherited from CDP::StudioAPI::ICDPNode
Additional Inherited Members
- 2 static public members inherited from CDPComponent
- 6 static public members inherited from CDPObject
- 1 static public member inherited from CDPBaseObject
- 12 protected functions inherited from CDPComponent
- 13 protected functions inherited from CDPObject
- 1 protected function inherited from CDP::StudioAPI::CDPNode
- 33 protected variables inherited from CDPComponent
- 7 protected variables inherited from CDPObject
- 9 protected variables inherited from CDPBaseObject
- 1 static protected member inherited from CDPObject
Detailed Description
The PortMUX component is a multiplexer for CDPPort objects where Index=0 selects the first input port and propagates the connection or data in the port when possible to the output port.
PortMUX is useful when one needs to switch between different CDPPorts coming into your component to change the source of control values or data utilized.
PortMUX supports any CDPPort object. Both code-ports and proxy-ports are suitable for PortMux usage. Port types used in the multiplexer should be compatible, allowing any input port to connect to the output port. When multiplexer Index changes, the port reconnection will occur. With code-based ports containing all the data properties, data is propagated without actually connecting the ports starting the same cycle the Index changes.
To setup PortMUX multiple input ports and only one output port should be added to the multiplexer.
Signals
| Signal | Description |
|---|---|
| Index | Input port selection where value '0' selects the first added input port for output port connection. Overflow Index values will always fall back to the last input port. |
Properties
| Property | Description |
|---|---|
| NoSwitchDelay | Is set runtime when Ports in multiplexer all have local data properties and no-delay switching is possible. |
Member Function Documentation
PortMUX::~PortMUX()
Destroys the instance of PortMUX.
[override virtual] void PortMUX::Configure(const char *componentXML)
[override virtual] void PortMUX::Create(const char *fullName)
[override virtual] void PortMUX::CreateModel()
[override virtual] void PortMUX::ProcessNull()
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.