#include <signals.h>
Inheritance diagram for simth::LlvSeqStorage:
Public Types | |
typedef LlvSeq::value_type | value_type |
typedef LlvSeq::attributes_type | attributes_type |
typedef LlvSeq::container_type | container_type |
typedef LlvSeq | base_type |
typedef container_type::iterator | iterator |
typedef container_type::const_iterator | const_iterator |
typedef container_type::reference | reference |
typedef container_type::const_reference | const_reference |
Public Member Functions | |
LlvSeqStorage (size_t size, unsigned bitsPerState) | |
LlvSeqStorage (size_t size, const value_type &val=value_type()) | |
LlvSeqStorage (const LlvSeq &seq) | |
virtual | ~LlvSeqStorage () |
LlvSeqStorage & | operator= (const LlvSeqStorage &seq) |
size_t | capacity () const |
void | resize (size_t newLength, unsigned newBitsPerSymbol) |
void | resize (size_t newLength) |
attributes_type & | wAttributes () |
const attributes_type & | rAttributes () const |
void | lock () |
void | unlock () |
bool | isLocked () const |
|
Reimplemented from simth::LlvSeq. |
|
Reimplemented from simth::LlvSeq. |
|
Reimplemented from simth::LlvSeq. |
|
Reimplemented from simth::LlvSeq. |
|
Reimplemented from simth::LlvSeq. |
|
Reimplemented from simth::LlvSeq. |
|
Reimplemented from simth::LlvSeq. |
|
Reimplemented from simth::LlvSeq. |
|
Class Constructor.
|
|
|
|
|
|
|
|
|
|
Returns the number of currently allocated elements in the storage of this sequence. Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >. |
|
Reimplemented from simth::LlvSeq. |
|
Resize this sequence. Watch out:
Reimplemented from simth::LlvSeq. |
|
Returns a reference to the attributes class of the sequence. Use this pointer obtain write access. If this object holds a lock on the attributes, this function will throw an Error. (If you only need read access to the class use the function rAttributes().) Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >. |
|
Returns a constant reference to the attributes class of the sequence. Use this pointer obtain read only access. (If you need write acces to the class use the function wAttributes(). Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >. |
|
Locks write access to the attributes, i.e. if calling wAttributes() while the attributes are locked, a std::runtime_error is thrown. To unlock the attributes use the function unlockAttributes(). |
|
Unlocks write acces to the attributes again. After calling this, calling wAttributes() is allowed again. |
|
Returns true if the attributes are locked, otherwise false. |