Class IPortType
Base type for all ports. Do not set IPortType as Serializable, otherwise DynamicPorts won't save their derived port [Serializable]
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class IPortType
  Constructors
| Name | Description | 
|---|---|
| IPortType() | Initialize a port and increment the global ID.  | 
      
Fields
| Name | Description | 
|---|---|
| Batching | Whether to batch change events on ports or not.  | 
      
| SignalBatch | Batch handler for this port.  | 
      
| globalId | Number that increments on creation of a port.  | 
      
| synchronizeAfterLinking | Whether this port needs special propagation before EnableNodes().  | 
      
| uniqueId | Unique ID for this port, hints the creation order, lower unique ID -> created first.  | 
      
Properties
| Name | Description | 
|---|---|
| ChangeEvent | Callback to register for change events.  | 
      
| Clock | Manages the change events on this port.  | 
      
| Connected | This will only be true if the port has an incoming edge. Only access this field after Enable(), otherwise the value will be wrong.  | 
      
| Driver | Get the owner of this port.  | 
      
Methods
| Name | Description | 
|---|---|
| BeginBatch() | Start batching signals to send.  | 
      
| CreateFieldBox() | Creates the field box.  | 
      
| EndBatch() | End a BeginBatch() and send the entire batch to listeners.  | 
      
| Propagate(double) | Propagate all signals  | 
      
| SetAsDriver(object) | Set the owner of this port.  | 
      
| SetConnected(bool) | Set the connection status for this port.  | 
      
| SetOnChangeClockRisingEdge(bool) | Set the ports to callback on new data  | 
      
| SetSynchronizeAfterLinking(bool) | Sets the synchronize after linking.  | 
      
| Synchronize() | Synchronizes this instance.  | 
      
| TryGetValue() | Try to get the value on this port.  | 
      
| TrySetValue(object) | Try to set a value on this port if it is allowed  | 
      
| TypeNiceName(Type) | Get the pretty name for a generic port type.  |