signal_collection_procedure Submodule

Contains module procedures associated with the signal collection class


Uses


Module Functions

pure module function isSignalRegistered(this, name) result(reg)

Check whether signal with given name is registered in the collection

Arguments

Type IntentOptional Attributes Name
class(SignalCollection), intent(in) :: this
character(len=*), intent(in) :: name

Return Value logical


Module Subroutines

pure module subroutine initSignalCollection(this)

SignalCollection object initialization

Arguments

Type IntentOptional Attributes Name
class(SignalCollection), intent(inout) :: this

module subroutine addSignal(this, sig, name)

Add named signal to collection

Arguments

Type IntentOptional Attributes Name
class(SignalCollection), intent(inout) :: this
class(TimeSignal), intent(in) :: sig
character(len=*), intent(in) :: name

pure module subroutine copySignal(this, name, sig)

Copy signal with given name into passed sig object, overwriting any existing allocation

Arguments

Type IntentOptional Attributes Name
class(SignalCollection), intent(in) :: this
character(len=*), intent(in) :: name
class(TimeSignal), intent(inout), allocatable :: sig