PortDEMUX Class
The PortDEMUX component is a demultiplexer for CDPPort objects where Index=0 selects the first output port and propagates the connection or data from input port to the selected output port. More...
| Header: | #include <ComponentLib/PortDEMUX.h> |
| Inherits: | CDPComponent |
Public Functions
| ~PortDEMUX() 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 PortDEMUX component is a demultiplexer for CDPPort objects where Index=0 selects the first output port and propagates the connection or data from input port to the selected output port.
PortDEMUX is useful when one needs to switch a single CDPPort into one of the multiple candidates that may use such a port.
PortDEMUX supports any CDPPort object. Both code-ports and proxy-ports are suitable for PortDEMUX usage. Port types used in the demultiplexer should be compatible, allowing any output port to connect to the selected input port. When demultiplexer 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.
Signals
| Signal | Description |
|---|---|
| Index | Output port selection where value '0' selects the first added output port for input port connection. Overflow Index values will always fall back to the last output 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
PortDEMUX::~PortDEMUX()
Destroys the instance of PortDEMUX.
[override virtual] void PortDEMUX::Configure(const char *componentXML)
[override virtual] void PortDEMUX::Create(const char *fullName)
[override virtual] void PortDEMUX::CreateModel()
[override virtual] void PortDEMUX::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.