ex2b::CAdjustDelay Class Reference
[Example 2bCells]

A custom cell that adjusts the pulsar delay based on the measured time interval between consecutive active pulses in order to brin the measured interval as close as possible to a target time interval. More...

Inherits fsf::CCell.

Collaboration diagram for ex2b::CAdjustDelay:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CAdjustDelay ()
 Default constructor.
virtual void getTypeID (std::string &str) const
 Gets thsi cell's factory mapping key.
virtual void process (fsf::CPassiveHandle *pPassiveHandle, fsf::CActiveHandle *pActiveHandle, fsf::CActivePulse *pActivePulse)
 Custom processing function: computes the time interval between two pulses and adjusts the pulsar delay so that the time difference converges towards a target interval.


Detailed Description

A custom cell that adjusts the pulsar delay based on the measured time interval between consecutive active pulses in order to brin the measured interval as close as possible to a target time interval.

The cell also writes to cout the difference between two consecutive incoming active pulses, in s and Hz


Constructor & Destructor Documentation

ex2b::CAdjustDelay::CAdjustDelay (  ) 

Default constructor.


Member Function Documentation

virtual void ex2b::CAdjustDelay::getTypeID ( std::string &  str  )  const [inline, virtual]

Gets thsi cell's factory mapping key.

Reimplemented from fsf::CCell.

void ex2b::CAdjustDelay::process ( fsf::CPassiveHandle pPassiveHandle,
fsf::CActiveHandle pActiveHandle,
fsf::CActivePulse pActivePulse 
) [virtual]

Custom processing function: computes the time interval between two pulses and adjusts the pulsar delay so that the time difference converges towards a target interval.

Also writes to cout the difference between the time stamp of the incoming active puse, and the last time stamp recorded.

Reimplemented from fsf::CCell.


The documentation for this class was generated from the following file:

Generated on Thu Oct 21 11:48:06 2010 for MFSM User Guide Examples by  doxygen 1.5.9