ex2::CPrintInterval Class Reference
[Example 2Cells]

A custom cell that writes to cout the difference between two consecutive incoming active pulses, in s and Hz. More...

Inherits fsf::CCell.

Collaboration diagram for ex2::CPrintInterval:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CPrintInterval ()
 Default constructor.
virtual void getTypeID (std::string &str) const
 Gets this cell's actory mapping key.
virtual void process (fsf::CPassiveHandle *pPassiveHandle, fsf::CActiveHandle *pActiveHandle, fsf::CActivePulse *pActivePulse)
 Custom processing function: writes to cout the difference between the time stamp of the incoming active puse, and the last time stamp recorded.


Detailed Description

A custom cell that writes to cout the difference between two consecutive incoming active pulses, in s and Hz.

Constructor & Destructor Documentation

ex2::CPrintInterval::CPrintInterval (  ) 

Default constructor.


Member Function Documentation

virtual void ex2::CPrintInterval::getTypeID ( std::string &  str  )  const [inline, virtual]

Gets this cell's actory mapping key.

Reimplemented from fsf::CCell.

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

Custom processing function: 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