Planet v0.1.1 GEOF.Planet.PanelServer
Hosts per-Field compute frames for a set of Fields in a Panel, a contiguous subset of a Sphere’s Fields.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Gets the data in each Field managed by this Panel
Starts a computation frame on this Panel. The PanelServer will send __ready_to_commit_frame__
to its parent SphereServer when the frame is finished
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
get_all_field_data(sphere_id, panel_index)
get_all_field_data( GEOF.Planet.SphereServer.sphere_id(), GEOF.Planet.SphereServer.panel_index() ) :: GEOF.Planet.SphereServer.sphere_data()
Gets the data in each Field managed by this Panel
Link to this function
get_state(sphere_id, panel_index)
Link to this function
start_frame(sphere_id, panel_index, per_field)
start_frame( GEOF.Planet.SphereServer.sphere_id(), GEOF.Planet.SphereServer.panel_index(), GEOF.Planet.SphereServer.fn_ref() ) :: :ok
Starts a computation frame on this Panel. The PanelServer will send __ready_to_commit_frame__
to its parent SphereServer when the frame is finished.
Link to this function
start_link(sphere, panel_index)
start_link( GEOF.Planet.SphereServer.sphere(), GEOF.Planet.SphereServer.panel_index() ) :: GenServer.on_start()