| Modifier and Type | Field and Description |
|---|---|
static org.onlab.util.Frequency |
CENTER_FREQUENCY |
static org.onlab.util.Frequency |
FLEX_GRID_SLOT |
| Constructor and Description |
|---|
OchSignal(org.onlab.util.Frequency centerFrequency,
ChannelSpacing channelSpacing,
int slotGranularity) |
OchSignal(GridType gridType,
ChannelSpacing channelSpacing,
int spacingMultiplier,
int slotGranularity)
Creates an instance with the specified arguments.
|
OchSignal(LambdaResourceAllocation alloc,
org.onlab.util.Frequency maxFrequency,
org.onlab.util.Frequency grid)
Create OCh signal from lambda resource allocation.
|
| Modifier and Type | Method and Description |
|---|---|
org.onlab.util.Frequency |
centralFrequency()
Returns central frequency in MHz.
|
ChannelSpacing |
channelSpacing()
Returns channel spacing.
|
boolean |
equals(Object obj) |
GridType |
gridType()
Returns grid type.
|
int |
hashCode() |
int |
slotGranularity()
Returns slow width granularity.
|
org.onlab.util.Frequency |
slotWidth()
Returns slot width.
|
int |
spacingMultiplier()
Returns spacing multiplier.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitindexedLambda, ochSignalpublic static final org.onlab.util.Frequency CENTER_FREQUENCY
public static final org.onlab.util.Frequency FLEX_GRID_SLOT
public OchSignal(GridType gridType, ChannelSpacing channelSpacing, int spacingMultiplier, int slotGranularity)
Lambda.ochSignal(GridType, ChannelSpacing, int, int)
unless you want to use the concrete type, OchSignal, directly.gridType - grid typechannelSpacing - channel spacingspacingMultiplier - channel spacing multiplierslotGranularity - slot width granularitypublic OchSignal(LambdaResourceAllocation alloc, org.onlab.util.Frequency maxFrequency, org.onlab.util.Frequency grid)
alloc - lambda resource allocationmaxFrequency - maximum frequencygrid - grid spacing frequencypublic OchSignal(org.onlab.util.Frequency centerFrequency,
ChannelSpacing channelSpacing,
int slotGranularity)
public GridType gridType()
public ChannelSpacing channelSpacing()
public int spacingMultiplier()
public int slotGranularity()
public org.onlab.util.Frequency centralFrequency()
public org.onlab.util.Frequency slotWidth()
Copyright © 2015. All rights reserved.