UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
sim::DiracImpulse Class Reference

#include <sim_impulse.hpp>

Inheritance diagram for sim::DiracImpulse:
sim::Impulse

Public Member Functions

 DiracImpulse (const TimeT &i_eps, const AmplT &gain=1.)
 
virtual Impulseclone () const
 
virtual AmplT operator() (const TimeT &t) const
 
virtual ImpulseType type () const
 
- Public Member Functions inherited from sim::Impulse
 Impulse (const AmplT &gain=1.)
 
virtual void setGain (const AmplT &gain)
 
virtual const AmplT & gain () const
 

Protected Attributes

TimeT m_eps
 
- Protected Attributes inherited from sim::Impulse
AmplT m_gain
 

Detailed Description

Dirac impulse.

Constructor & Destructor Documentation

sim::DiracImpulse::DiracImpulse ( const TimeT &  i_eps,
const AmplT &  gain = 1. 
)
inline
Construct Dirac impulse.
Parameters
i_eps- time precision in (ms).

Member Function Documentation

virtual Impulse* sim::DiracImpulse::clone ( ) const
virtual
Clone the object. 
Returns
new pointer to Impulse, should be deleted.

Implements sim::Impulse.

virtual AmplT sim::DiracImpulse::operator() ( const TimeT &  t) const
virtual
Calculates impulse for provided time. 
Parameters
t- time in (ms).

Implements sim::Impulse.

virtual ImpulseType sim::DiracImpulse::type ( ) const
inlinevirtual
Type of the impulse. 
Returns
this impulse type

Implements sim::Impulse.

Member Data Documentation

TimeT sim::DiracImpulse::m_eps
protected

Time precision in (ms).


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