ex2b::CPrintInterval Class Reference
[Example 2bCells]

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

Inherits fsf::CCell.

Collaboration diagram for ex2b::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 factory 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

ex2b::CPrintInterval::CPrintInterval (  ) 

Default constructor.


Member Function Documentation

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

Gets this cell's factory mapping key.

Reimplemented from fsf::CCell.

void ex2b::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