A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
grid.TimelinesRenderer Class Reference

TimelinesRenderer class. More...

Public Member Functions

 __init__ (self)
 Initializer.
 
 draw (self, ctx)
 Draw.
 
 draw_events (self, ctx, events, x, y, width, height)
 Draw Event.
 
 draw_line (self, ctx, x, y, width, height)
 Draw Line.
 
 draw_ranges (self, ctx, ranges, x, y, width, height)
 Draw Ranges.
 
 get_data_x_start (self)
 Get Data X Start.
 
 get_height (self)
 Get Height.
 
 layout (self, width)
 Get Data X Start.
 
 set_render_range (self, start, end)
 Set Render Range.
 
 set_timelines (self, timelines, colors)
 Set Timelines.
 

Public Attributes

 colors
 colors
 
 end
 end
 
 grey_background
 grey background
 
 height
 height
 
 left_width
 left width
 
 max_text_height
 maximum text height
 
 padding
 padding
 
 right_width
 right width
 
 start
 start
 
 timelines
 timelines
 
 width
 width
 

Detailed Description

TimelinesRenderer class.

Definition at line 651 of file grid.py.

Constructor & Destructor Documentation

◆ __init__()

grid.TimelinesRenderer.__init__ ( self)

Initializer.

Parameters
selfthis object

Definition at line 674 of file grid.py.

Member Function Documentation

◆ draw()

grid.TimelinesRenderer.draw ( self,
ctx )

Draw.

Parameters
selfthis object
ctxctx
Returns
none

Definition at line 847 of file grid.py.

References grid.TimelinesRenderer.draw_line(), grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, grid.TimelinesRenderer.right_width, grid.TimelinesRenderer.width, ns3::AnimationInterface::NodeSize.width, ns3::FrequencyChannelInfo.width, and visualizer.svgitem.SvgItem.width.

+ Here is the call graph for this function:

◆ draw_events()

grid.TimelinesRenderer.draw_events ( self,
ctx,
events,
x,
y,
width,
height )

Draw Event.

Parameters
selfthis object
ctxctx
eventsevents
xx
yy
widthwidth
heightheight
Returns
none

Definition at line 785 of file grid.py.

References anonymous_namespace{packet-test-suite.cc}::Expected.end, grid.DataRange.end, grid.TimelinesRenderer.end, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::ByteTagList::Iterator::Item.end, ns3::ChannelAccessManager::Timespan.end, ns3::Config::MatchContainer.end(), ns3::CtrlTriggerHeader.end(), ns3::CtrlTriggerHeader.end(), ns3::DefaultEmlsrManager::MainPhySwitchInfo.end, ns3::PhyEntity.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::WifiMpdu.end(), ns3::WifiPsdu.end(), ns3::WifiPsdu.end(), grid.TimelinesRenderer.grey_background, grid.ScaleRenderer.max_text_height, grid.TimelinesRenderer.max_text_height, grid.TimelinesRenderer.padding, anonymous_namespace{packet-test-suite.cc}::Expected.start, grid.DataRange.start, grid.TimelinesRenderer.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, ns3::ByteTagList::Iterator::Item.start, ns3::ChannelAccessManager::Timespan.start, and ns3::LteRrcSap::PhysCellIdRange.start.

+ Here is the call graph for this function:

◆ draw_line()

grid.TimelinesRenderer.draw_line ( self,
ctx,
x,
y,
width,
height )

Draw Line.

Parameters
selfthis object
ctxctx
xx
yy
widthwidth
heightheight
Returns
none

Definition at line 767 of file grid.py.

Referenced by grid.TimelinesRenderer.draw().

+ Here is the caller graph for this function:

◆ draw_ranges()

grid.TimelinesRenderer.draw_ranges ( self,
ctx,
ranges,
x,
y,
width,
height )

Draw Ranges.

Parameters
selfthis object
ctxctx
rangesranges
xx
yy
widthwidth
heightheight
Returns
none

Definition at line 814 of file grid.py.

References grid.TimelinesRenderer.colors, anonymous_namespace{packet-test-suite.cc}::Expected.end, grid.DataRange.end, grid.TimelinesRenderer.end, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::ByteTagList::Iterator::Item.end, ns3::ChannelAccessManager::Timespan.end, ns3::Config::MatchContainer.end(), ns3::CtrlTriggerHeader.end(), ns3::CtrlTriggerHeader.end(), ns3::DefaultEmlsrManager::MainPhySwitchInfo.end, ns3::PhyEntity.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::WifiMpdu.end(), ns3::WifiPsdu.end(), ns3::WifiPsdu.end(), grid.TimelinesRenderer.grey_background, grid.TimelinesRenderer.padding, anonymous_namespace{packet-test-suite.cc}::Expected.start, grid.DataRange.start, grid.TimelinesRenderer.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, ns3::ByteTagList::Iterator::Item.start, ns3::ChannelAccessManager::Timespan.start, and ns3::LteRrcSap::PhysCellIdRange.start.

+ Here is the call graph for this function:

◆ get_data_x_start()

grid.TimelinesRenderer.get_data_x_start ( self)

Get Data X Start.

Parameters
selfthis object
Returns
X start

Definition at line 708 of file grid.py.

References grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, and grid.TimelinesRenderer.right_width.

◆ get_height()

grid.TimelinesRenderer.get_height ( self)

Get Height.

Parameters
selfthis object
Returns
height

Definition at line 681 of file grid.py.

References grid.TimelinesRenderer.height, ns3::AnimationInterface::NodeSize.height, and visualizer.svgitem.SvgItem.height.

◆ layout()

grid.TimelinesRenderer.layout ( self,
width )

Get Data X Start.

Parameters
selfthis object
widthwidth
Returns
none

Definition at line 717 of file grid.py.

References grid.TimelinesRenderer.padding, grid.Timelines.timelines, and grid.TimelinesRenderer.timelines.

◆ set_render_range()

grid.TimelinesRenderer.set_render_range ( self,
start,
end )

Set Render Range.

Parameters
selfthis object
startstart
endend
Returns
none

Definition at line 698 of file grid.py.

◆ set_timelines()

grid.TimelinesRenderer.set_timelines ( self,
timelines,
colors )

Set Timelines.

Parameters
selfthis object
timelinestimelines
colorscolors
Returns
none

Definition at line 688 of file grid.py.

Member Data Documentation

◆ colors

grid.TimelinesRenderer.colors

colors

Definition at line 696 of file grid.py.

Referenced by grid.TimelinesRenderer.draw_ranges().

◆ end

grid.TimelinesRenderer.end

end

Definition at line 706 of file grid.py.

Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().

◆ grey_background

grid.TimelinesRenderer.grey_background

grey background

Definition at line 864 of file grid.py.

Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().

◆ height

◆ left_width

grid.TimelinesRenderer.left_width

left width

Definition at line 761 of file grid.py.

Referenced by grid.TimelinesRenderer.draw(), and grid.TimelinesRenderer.get_data_x_start().

◆ max_text_height

grid.TimelinesRenderer.max_text_height

maximum text height

Definition at line 763 of file grid.py.

Referenced by grid.TimelinesRenderer.draw_events().

◆ padding

◆ right_width

grid.TimelinesRenderer.right_width

right width

Definition at line 762 of file grid.py.

Referenced by grid.TimelinesRenderer.draw(), and grid.TimelinesRenderer.get_data_x_start().

◆ start

grid.TimelinesRenderer.start

start

Definition at line 705 of file grid.py.

Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().

◆ timelines

◆ width


The documentation for this class was generated from the following file: