AbstractMeterFactory Derived Type

type, public, abstract :: AbstractMeterFactory


Type-Bound Procedures

procedure(i_make_meter), public, deferred :: make_meter

  • function i_make_meter(this) result(meter) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(AbstractMeterFactory), intent(in) :: this

    Return Value class(AbstractMeter), allocatable

Source Code

   type, abstract :: AbstractMeterFactory
   contains
      procedure(i_make_meter), deferred :: make_meter
   end type AbstractMeterFactory