mrfioc2
2.3.0
|
#include <delayModule.h>
Public Member Functions | |
DelayModule (const std::string &, EVRMRM *, unsigned int) | |
virtual | ~DelayModule () |
virtual void | setDelay0 (double val) OVERRIDE FINAL |
setDelay0 Sets the delay of the output 0 in the module More... | |
virtual double | getDelay0 () const OVERRIDE FINAL |
getDelay0 Returns the last set delay for the output 0 in the module More... | |
virtual void | setDelay1 (double val) OVERRIDE FINAL |
setDelay1 Sets the delay of the output 1 in the module More... | |
virtual double | getDelay1 () const OVERRIDE FINAL |
getDelay1R eturns the last set delay for the output 1 in the module More... | |
virtual void | setState (bool enabled) OVERRIDE FINAL |
setState Sets the enabled state of the delay module. If disabled, the module will output logic low on both ouputs. More... | |
virtual bool | enabled () const OVERRIDE FINAL |
enabled Checks if the module is enabled or not. More... | |
Public Member Functions inherited from DelayModuleEvr | |
DelayModuleEvr (const std::string &n) | |
virtual | ~DelayModuleEvr ()=0 |
Public Member Functions inherited from mrf::ObjectInst< DelayModuleEvr > | |
virtual propertyBase * | getPropertyBase (const char *pname, const std::type_info &ptype) |
virtual void | visitProperties (bool(*cb)(propertyBase *, void *), void *arg) |
Public Member Functions inherited from mrf::Object | |
const std::string & | name () const |
const Object * | parent () const |
child_iterator | beginChild () const |
child_iterator | endChild () const |
template<typename P > | |
mrf::auto_ptr< property< P > > | getProperty (const char *pname) |
Additional Inherited Members | |
Public Types inherited from mrf::Object | |
typedef m_obj_children_t::const_iterator | child_iterator |
typedef std::map< std::string, std::string > | create_args_t |
typedef Object *(* | create_factory_t) (const std::string &name, const std::string &klass, const create_args_t &args) |
Static Public Member Functions inherited from mrf::ObjectInst< DelayModuleEvr > | |
static int | initObject () |
Static Public Member Functions inherited from mrf::Object | |
static Object * | getObject (const std::string &name) |
static Object * | getCreateObject (const std::string &name, const std::string &klass, const create_args_t &args=create_args_t()) |
static void | addFactory (const std::string &klass, create_factory_t fn) |
static void | visitObjects (bool(*)(Object *, void *), void *) |
Protected Member Functions inherited from mrf::ObjectInst< DelayModuleEvr > | |
ObjectInst (const std::string &n) | |
ObjectInst (const std::string &n, A &a) | |
virtual | ~ObjectInst () |
Protected Member Functions inherited from mrf::Object | |
Object (const std::string &n, const Object *par=0) | |
virtual | ~Object ()=0 |
Definition at line 16 of file delayModule.h.
DelayModule::DelayModule | ( | const std::string & | n, |
EVRMRM * | o, | ||
unsigned int | idx | ||
) |
Definition at line 16 of file delayModule.cpp.
|
virtual |
Definition at line 23 of file delayModule.cpp.
|
virtual |
enabled Checks if the module is enabled or not.
Implements DelayModuleEvr.
Definition at line 59 of file delayModule.cpp.
|
virtual |
getDelay0 Returns the last set delay for the output 0 in the module
Implements DelayModuleEvr.
Definition at line 34 of file delayModule.cpp.
|
virtual |
getDelay1R eturns the last set delay for the output 1 in the module
Implements DelayModuleEvr.
Definition at line 46 of file delayModule.cpp.
|
virtual |
setDelay0 Sets the delay of the output 0 in the module
val | Delay in range of 0ns - 8.686ns. If the value is greater it will be set to maximum range value, if it is smaller it will be set to minimum range value. |
Implements DelayModuleEvr.
Definition at line 27 of file delayModule.cpp.
|
virtual |
setDelay1 Sets the delay of the output 1 in the module
val | Delay in range of 0ns - 8.686ns. If the value is greater it will be set to maximum range value, if it is smaller it will be set to minimum range value. |
Implements DelayModuleEvr.
Definition at line 39 of file delayModule.cpp.
|
virtual |
setState Sets the enabled state of the delay module. If disabled, the module will output logic low on both ouputs.
enabled | True for enabled and false for disabled |
Implements DelayModuleEvr.
Definition at line 51 of file delayModule.cpp.