Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project
   LeCouteauSuisse Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

PulseGenerator


This generator launch events based on a specific curve given by a calculator. This generator use the PulseEvent class. The generator use a calculator class to know events to launch. The calculator is called when the generator start and return a list of delays between each events. This list is used in a loop by the generator to wait between each event to launch. By default three calculators are available :

ExponentialCalculator
Give an exponential curve

NormalCalculator
Give a Gaussian curve

PulseCalculator
Give a train of event

See Service Configuration for detailled information to configure your service. You must declare this generator with the <generator> section inside the <generators> section. It will looks like :

<generator name="MyGeneratorName" type="LeCouteauSuisse.Components.PulseGenerator, 
		LeCouteauSuisseComponents, Version=1.0.0.2, Culture=neutral, PublicKeyToken=8d1037c5df6d5bd0">
This component have some parameters inside the section <settings>. Each parameter is written with a <setting> section.

Key nameMandatoryDefault valueDescription
typeYes The calculator class, assembly file name, version, culture, public key token.
dataNo Private data you want to add to each event generated.
Specific settings for PulseCalculator
pulsePeriodNo40The delay in second for the pulse part of the period.
quietPeriodNo20The delay in second for the quiet part of the period.
numberOfPulseNo100The number of pulse in the pulse part of the period.
Specific settings for NormalCalculator
globalPeriodNo60The delay in second for the global period.
numberOfIntervalNo60The number of interval inside the global period. Each interval has the same length of time but has a number of event depending of the curve.
numberOfPulseNo100The total number of pulse for the whole period.
meanNo30The mean of the normal distribution.
deviationNo6The deviation of the normal distribution.
Specific settings for ExponentialCalculator
globalPeriodNo60The delay in second for the global period.
numberOfIntervalNo60The number of interval inside the global period. Each interval has the same length of time but has a number of event depending of the curve.
numberOfPulseNo100The total number of pulse for the whole period.
lambdaNo0.1The value of the Exponential curve.


LeCouteauSuisse