Module machi_projection

API for manipulating Machi projection data structures (i.e., records).

Description

API for manipulating Machi projection data structures (i.e., records).

Function Index

compare/2Compare two projection records for equality (assuming that the checksum element has been correctly calculated).
make_projection_summary/1Create a proplist-style summary of a projection record.
new/6Create a new projection record.
new/7Create a new projection record.
new/8Create a new projection record.
update_projection_checksum/1Update the checksum element of a projection record.
update_projection_dbg2/2Update the dbg2 element of a projection record.

Function Details

compare/2

compare(Projection_v1::#projection_v1{}, Projection_v1::#projection_v1{}) -> integer()

Compare two projection records for equality (assuming that the checksum element has been correctly calculated).

make_projection_summary/1

make_projection_summary(Projection_v1) -> any()

Create a proplist-style summary of a projection record.

new/6

new(MyName, All_list, UPI_list, Down_list, Repairing_list, Ps) -> any()

Create a new projection record.

new/7

new(EpochNum, MyName, All_list, Down_list, UPI_list, Repairing_list, Dbg) -> any()

Create a new projection record.

new/8

new(EpochNum, MyName, All_list0, Down_list, UPI_list, Repairing_list, Dbg, Dbg2) -> any()

Create a new projection record.

update_projection_checksum/1

update_projection_checksum(P) -> any()

Update the checksum element of a projection record.

update_projection_dbg2/2

update_projection_dbg2(P, Dbg2) -> any()

Update the dbg2 element of a projection record.


Generated by EDoc, Apr 8 2015, 17:31:11.