Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
MODEL::SwitchProbe Class Template Reference
#include <switchprobe.h>
Inheritance diagram for MODEL::SwitchProbe:
[legend]Collaboration diagram for MODEL::SwitchProbe:
[legend]List of all members.
Public Types |
typedef ODESystem<dims,nelem,
NT> | system |
Public Methods |
| SwitchProbe (system &sys, integer var, number threshold) |
void | tick () |
const bool | check (void) |
const number | switch_time (void) |
void | reset () |
| NO_COPY (SwitchProbe) |
Private Attributes |
system* | s |
integer | v |
number | th |
bool | switched |
number | switcht |
Detailed Description
template<integer dims, typename nelem = number, class NT = NumericTraits<nelem,dims>> class MODEL::SwitchProbe
A class of probes, very fast, which just look if a variable is greater than a given threshold. If so, they return true and keep the time at which is happenenen
Definition at line 35 of file switchprobe.h.
Member Function Documentation
void tick (
|
) [inline, virtual]
|
|
The documentation for this class was generated from the following file:
To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.
More Info? Michael Peeters.
Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.
Looking for Open Source? Check out
!