#include <bitgenerator.h>
Inheritance diagram for simthlib::BitGenerator:
Public Types | |
enum | GenerationMode { RANDOM, ALL_ZERO, ALL_ONE } |
Public Member Functions | |
BitGenerator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl) | |
virtual | ~BitGenerator () |
virtual void | updateInputLengths () |
virtual void | updateOutputLengths () |
void | fillBitSequence (simth::BitSeq *bits) const |
void | setBitseqLength (int newLength) |
virtual void | process () |
virtual void | print (std::ostream &os) const |
Static Public Member Functions | |
static void | init (const std::string fileName, simth::Device **dev, simth::DeviceSystemIntf *sysPtr, int ID, const std::string ®ionQualifier="") |
Protected Member Functions | |
GenerationMode | mode () const |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_BitGenerator (not_a_function) |
|
|
|
Class constructor.
|
|
Class destructor. |
|
Returns a bit sequence (the length of the sequences is determined by the private element length which is set by the constructor argument). |
|
|
|
|
|
Reimplemented from simth::Device. |
|
Implements simth::Device. |
|
Changes the length of the generated bitsequences length. |
|
Implements simth::Device. |
|
Implements simth::Device. |
|
These are the properties of class BitGenerator . This list is auto-generated from the XML-Devicelist of this device by means of an XSLT transformation script. Description of this device in the XML file: This class simulates an information source which produces bit sequences. Note that this class also has the Properties of its base classes. The direct base class is simth::Device ; direct link to its propertylist should be propertylist_Device(). The list below usually includes the properties that have been inherited from the base classes; the properties which belong only to this class can be found at the end of this list.
|