/tg/ Station 13 - Modules - TypesVar Details - Proc Details

frame

Vars

board_typeWhat board do we accept
circuitReference to the circuit inside the frame
stateThe current (de/con)struction state of the frame

Procs

circuit_addedCalled when circuit has been set to a new board
circuit_removedCalled when circuit has been removed from the frame
finalize_constructionAttempt to finalize the construction of the frame into a machine
install_boardInstalls the passed circuit board into the frame
install_circuit_from_part_replacerAttempt to install a circuit from the contents of an RPED
install_parts_from_part_replacerAttempt to install necessary parts from the contents of an RPED
try_dissassembleChecks if the frame can be disassembled, and if so, begins the process

Var Details

board_type

What board do we accept

circuit

Reference to the circuit inside the frame

state

The current (de/con)struction state of the frame

Proc Details

circuit_added

Called when circuit has been set to a new board

circuit_removed

Called when circuit has been removed from the frame

finalize_construction

Attempt to finalize the construction of the frame into a machine

If successful, results in qdel'ing the frame and newing of a machine

Arguments

install_board

Installs the passed circuit board into the frame

Assumes there is no circuit already installed

Arguments

install_circuit_from_part_replacer

Attempt to install a circuit from the contents of an RPED

Arguments

install_parts_from_part_replacer

Attempt to install necessary parts from the contents of an RPED

Arguments

try_dissassemble

Checks if the frame can be disassembled, and if so, begins the process