|
rogue
|
Memory interface block device. More...
#include <Block.h>
Public Member Functions | |
| Block (uint64_t offset, uint32_t size) | |
| Constructs a block device with a given offset and size. | |
| virtual | ~Block () |
| std::string | path () |
| Returns the path of the block in the device tree. | |
| std::string | mode () |
| Returns the block access mode. | |
| bool | bulkOpEn () |
| Returns whether this block participates in bulk operations. | |
| void | setEnable (bool enable) |
| Sets the block enable state. | |
| void | setLogLevel (uint32_t level) |
| Sets logging verbosity level for this block. | |
| uint64_t | offset () |
| Returns the local offset of this block. | |
| uint64_t | address () |
| Returns the full address of this block. | |
| uint32_t | size () |
| Returns block size in bytes. | |
| bool | blockPyTrans () |
| Returns whether Python transaction callbacks are blocked. | |
| void | startTransaction (uint32_t type, bool forceWr, bool check, rogue::interfaces::memory::Variable *var, int32_t index=-1) |
| Starts a C++ transaction for this block. | |
| void | startTransactionPy (uint32_t type, bool forceWr, bool check, std::shared_ptr< rogue::interfaces::memory::Variable > var, int32_t index) |
| Starts a block transaction from Python. | |
| bool | checkTransaction () |
| Checks transaction result in C++ mode. | |
| void | checkTransactionPy () |
| Checks transaction result. | |
| void | write (rogue::interfaces::memory::Variable *var, int32_t index=-1) |
| Issues write/verify/check sequence from C++. | |
| void | read (rogue::interfaces::memory::Variable *var, int32_t index=-1) |
| Issues read/check sequence from C++. | |
| void | addVariables (std::vector< std::shared_ptr< rogue::interfaces::memory::Variable > > variables) |
| Adds variables to this block (C++ API). | |
| void | addVariablesPy (boost::python::object variables) |
| Adds variables to this block (Python API). | |
| std::vector< std::shared_ptr< rogue::interfaces::memory::Variable > > | variables () |
| Returns the variable list associated with this block (C++ API). | |
| boost::python::object | variablesPy () |
| Returns the variable list associated with this block (Python API). | |
| void | rateTest () |
| Runs block rate-test helper for performance testing. | |
| void | setPyFunc (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets variable data using a Python callback/value. | |
| boost::python::object | getPyFunc (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets variable data using a Python callback/value conversion. | |
| void | setByteArrayPy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets variable data from Python byte-array-like input. | |
| boost::python::object | getByteArrayPy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets variable data as a Python byte-array-like object. | |
| void | setByteArray (const uint8_t *value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets variable data from C++ byte array input. | |
| void | getByteArray (uint8_t *value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets variable data into a C++ byte array buffer. | |
| void | setUIntPy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets unsigned-integer variable data from Python input. | |
| boost::python::object | getUIntPy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets unsigned-integer variable data as Python output. | |
| void | setUInt (const uint64_t &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets unsigned-integer variable data from C++ input. | |
| uint64_t | getUInt (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets unsigned-integer variable data as C++ output. | |
| void | setIntPy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets signed-integer variable data from Python input. | |
| boost::python::object | getIntPy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets signed-integer variable data as Python output. | |
| void | setInt (const int64_t &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets signed-integer variable data from C++ input. | |
| int64_t | getInt (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets signed-integer variable data as C++ output. | |
| void | setBoolPy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets boolean variable data from Python input. | |
| boost::python::object | getBoolPy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets boolean variable data as Python output. | |
| void | setBool (const bool &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets boolean variable data from C++ input. | |
| bool | getBool (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets boolean variable data as C++ output. | |
| void | setStringPy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets string variable data from Python input. | |
| boost::python::object | getStringPy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets string variable data as Python output. | |
| void | setString (const std::string &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets string variable data from C++ input. | |
| std::string | getString (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets string variable data as C++ output. | |
| void | getString (rogue::interfaces::memory::Variable *var, std::string &valueRet, int32_t index) |
| Gets string variable data into an output string reference. | |
| void | getValue (rogue::interfaces::memory::Variable *var, std::string &valueRet, int32_t index) |
Alias to getString(var, valueRet, index). | |
| void | setFloatPy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets float variable data from Python input. | |
| boost::python::object | getFloatPy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets float variable data as Python output. | |
| void | setFloat (const float &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets float variable data from C++ input. | |
| float | getFloat (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets float variable data as C++ output. | |
| void | setDoublePy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets double variable data from Python input. | |
| boost::python::object | getDoublePy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets double variable data as Python output. | |
| void | setDouble (const double &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets double variable data from C++ input. | |
| double | getDouble (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets double variable data as C++ output. | |
| void | setFixedPy (boost::python::object &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets fixed-point variable data from Python input. | |
| boost::python::object | getFixedPy (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets fixed-point variable data as Python output. | |
| void | setFixed (const double &value, rogue::interfaces::memory::Variable *var, int32_t index) |
| Sets fixed-point variable data from C++ input. | |
| double | getFixed (rogue::interfaces::memory::Variable *var, int32_t index) |
| Gets fixed-point variable data as C++ output. | |
Public Member Functions inherited from rogue::interfaces::memory::Master | |
| Master () | |
| Constructs a memory master instance. | |
| virtual | ~Master () |
| Destroys the memory master instance. | |
| virtual void | stop () |
| Stops the interface and releases runtime resources. | |
| void | setSlave (std::shared_ptr< rogue::interfaces::memory::Slave > slave) |
| Sets the downstream slave or hub. | |
| std::shared_ptr< rogue::interfaces::memory::Slave > | getSlave () |
| Returns the configured downstream slave or hub. | |
| uint32_t | reqSlaveId () |
| Queries the downstream slave ID. | |
| std::string | reqSlaveName () |
| Queries the downstream slave name. | |
| uint32_t | reqMinAccess () |
| Queries minimum access size in bytes for this interface path. | |
| uint32_t | reqMaxAccess () |
| Queries maximum access size in bytes for this interface path. | |
| uint64_t | reqAddress () |
| Queries the address offset of the next downstream layer. | |
| std::string | getError () |
| Returns the last transaction error string. | |
| void | clearError () |
| Clears the stored transaction error string. | |
| void | setTimeout (uint64_t timeout) |
| Sets the timeout value for future transactions. | |
| uint32_t | reqTransaction (uint64_t address, uint32_t size, void *data, uint32_t type) |
| Starts a new transaction. | |
| uint32_t | reqTransactionPy (uint64_t address, boost::python::object p, uint32_t size, uint32_t offset, uint32_t type) |
Python variant of reqTransaction. | |
| void | rshiftPy (boost::python::object p) |
Supports >> operator usage from Python. | |
| std::shared_ptr< rogue::interfaces::memory::Slave > & | operator>> (std::shared_ptr< rogue::interfaces::memory::Slave > &other) |
| Connects this master to a slave via stream chaining operator. | |
| void | waitTransaction (uint32_t id) |
| Waits for transaction completion or timeout. | |
Static Public Member Functions | |
| static std::shared_ptr< rogue::interfaces::memory::Block > | create (uint64_t offset, uint32_t size) |
| Creates a memory block. | |
| static void | setup_python () |
Static Public Member Functions inherited from rogue::interfaces::memory::Master | |
| static std::shared_ptr< rogue::interfaces::memory::Master > | create () |
| Creates a memory master instance. | |
| static void | setup_python () |
| Registers this type with Python bindings. | |
| static void | copyBits (uint8_t *dstData, uint32_t dstLsb, uint8_t *srcData, uint32_t srcLsb, uint32_t size) |
| Copies bits between two byte arrays. | |
| static void | copyBitsPy (boost::python::object dst, uint32_t dstLsb, boost::python::object src, uint32_t srcLsb, uint32_t size) |
Python wrapper for copyBits. | |
| static void | setBits (uint8_t *dstData, uint32_t lsb, uint32_t size) |
| Sets a contiguous bit range in a byte array. | |
| static void | setBitsPy (boost::python::object dst, uint32_t lsb, uint32_t size) |
Python wrapper for setBits. | |
| static bool | anyBits (uint8_t *srcData, uint32_t lsb, uint32_t size) |
| Tests whether any bit in a range is set. | |
| static bool | anyBitsPy (boost::python::object src, uint32_t lsb, uint32_t size) |
Python wrapper for anyBits. | |
Protected Member Functions | |
| void | varUpdate () |
| void | setBytes (const uint8_t *data, rogue::interfaces::memory::Variable *var, uint32_t index) |
| void | getBytes (uint8_t *data, rogue::interfaces::memory::Variable *var, uint32_t index) |
| virtual void | customInit () |
| virtual void | customClean () |
Protected Member Functions inherited from rogue::interfaces::memory::Master | |
| uint32_t | intTransaction (std::shared_ptr< rogue::interfaces::memory::Transaction > tran) |
| Starts an internal transaction from an existing transaction object. | |
Static Protected Member Functions | |
| static void | reverseBytes (uint8_t *data, uint32_t byteSize) |
Protected Attributes | |
| std::mutex | mtx_ |
| std::string | path_ |
| std::string | mode_ |
| bool | bulkOpEn_ |
| bool | updateEn_ |
| bool | verifyEn_ |
| bool | verifyReq_ |
| bool | verifyInp_ |
| uint32_t | verifyBase_ |
| uint32_t | verifySize_ |
| uint8_t * | blockData_ |
| uint8_t * | verifyData_ |
| uint8_t * | verifyMask_ |
| uint8_t * | verifyBlock_ |
| uint32_t | size_ |
| uint64_t | offset_ |
| bool | doUpdate_ |
| bool | blockPyTrans_ |
| std::shared_ptr< rogue::Logging > | bLog_ |
| std::vector< std::shared_ptr< rogue::interfaces::memory::Variable > > | variables_ |
| bool | enable_ |
| bool | stale_ |
| uint32_t | retryCount_ |
Memory interface block device.
Bridges higher-level variable access to lower-level memory transactions.
A Block owns staged byte storage for a register region and one or more Variable objects that map bit fields into that storage. Typed access methods (setUInt, getString, setFloat, etc.) are not selected directly by users of Block; instead, each Variable binds to the appropriate Block method pair according to its model (UInt, Int, Bool, String, Float, Double, Fixed, Bytes, PyFunc) and width constraints.
Conversion and transport are separated:
set*/get*) pack/unpack values between native types and staged bytes using variable metadata (bit offsets, bit widths, byte order, list indexing/stride).write, read, startTransaction, checkTransaction) move staged bytes to/from hardware and handle verify/retry/update behavior.Typical usage is through Variable APIs, which call the matching Block conversion method and then issue read/write transactions.
| rogue::interfaces::memory::Block::Block | ( | uint64_t | offset, |
| uint32_t | size | ||
| ) |
Constructs a block device with a given offset and size.
This constructor is a low-level C++ allocation path. Prefer create() when shared ownership or Python exposure is required.
| offset | Memory offset of the block. |
| size | Memory size (footprint) of the block. |
| uint64_t rogue::interfaces::memory::Block::address | ( | ) |
| void rogue::interfaces::memory::Block::addVariables | ( | std::vector< std::shared_ptr< rogue::interfaces::memory::Variable > > | variables | ) |
Adds variables to this block (C++ API).
Exposed as addVariables() in Python.
| variables | Variable list. |
| void rogue::interfaces::memory::Block::addVariablesPy | ( | boost::python::object | variables | ) |
| bool rogue::interfaces::memory::Block::blockPyTrans | ( | ) |
| bool rogue::interfaces::memory::Block::bulkOpEn | ( | ) |
| bool rogue::interfaces::memory::Block::checkTransaction | ( | ) |
| void rogue::interfaces::memory::Block::checkTransactionPy | ( | ) |
Checks transaction result.
Python version of checkTransaction(), with variable update calls. Throws an exception if an error occurred. Exposed as checkTransaction() in Python.
|
static |
Creates a memory block.
Exposed to Python as rogue.interfaces.memory.Block(). This static factory is the preferred construction path when the object is shared across Rogue graph connections or exposed to Python. It returns std::shared_ptr ownership compatible with Rogue pointer typedefs.
| offset | Memory offset of the block. |
| size | Memory size (footprint) of the block. |
|
protectedvirtual |
|
protectedvirtual |
| bool rogue::interfaces::memory::Block::getBool | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| boost::python::object rogue::interfaces::memory::Block::getBoolPy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::getByteArray | ( | uint8_t * | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Gets variable data into a C++ byte array buffer.
Primary C++ path for Bytes variables and width-overflow fallback path for numeric models that cannot be represented in native scalar types.
| boost::python::object rogue::interfaces::memory::Block::getByteArrayPy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
Gets variable data as a Python byte-array-like object.
Primary Python path for Bytes variables. Also used by some large-width numeric model paths when values are represented as raw bytes.
| var | Variable associated with the transaction. |
| index | Variable index for list variables, or -1 for full variable. |
|
protected |
| double rogue::interfaces::memory::Block::getDouble | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| boost::python::object rogue::interfaces::memory::Block::getDoublePy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| double rogue::interfaces::memory::Block::getFixed | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| boost::python::object rogue::interfaces::memory::Block::getFixedPy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| float rogue::interfaces::memory::Block::getFloat | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| boost::python::object rogue::interfaces::memory::Block::getFloatPy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| int64_t rogue::interfaces::memory::Block::getInt | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
Gets signed-integer variable data as C++ output.
C++ path for Int variables when width is 64 bits or less. Wider Int values are handled through byte-array conversion paths.
| var | Variable associated with the transaction. |
| index | Variable index for list variables, or -1 for full variable. |
| boost::python::object rogue::interfaces::memory::Block::getIntPy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
Gets signed-integer variable data as Python output.
Python path for Int variables when width is 64 bits or less. Returns either a scalar or an array/list-like object for list variables.
| var | Variable associated with the transaction. |
| index | Variable index for list variables, or -1 for full variable. |
| boost::python::object rogue::interfaces::memory::Block::getPyFunc | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
Gets variable data using a Python callback/value conversion.
Used for PyFunc variables and Python fallback paths for large-width integer variables where direct scalar conversion is not used. Reads staged bytes and calls model-specific fromBytes() conversion.
| var | Variable associated with the transaction. |
| index | Variable index for list variables, or -1 for full variable. |
| std::string rogue::interfaces::memory::Block::getString | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::getString | ( | rogue::interfaces::memory::Variable * | var, |
| std::string & | valueRet, | ||
| int32_t | index | ||
| ) |
| boost::python::object rogue::interfaces::memory::Block::getStringPy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
| uint64_t rogue::interfaces::memory::Block::getUInt | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
Gets unsigned-integer variable data as C++ output.
C++ path for UInt variables when width is 64 bits or less. Wider UInt values are handled through byte-array conversion paths.
| var | Variable associated with the transaction. |
| index | Variable index for list variables, or -1 for full variable. |
| boost::python::object rogue::interfaces::memory::Block::getUIntPy | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index | ||
| ) |
Gets unsigned-integer variable data as Python output.
Python path for UInt variables when width is 64 bits or less. Returns either a scalar or an array/list-like object for list variables.
| var | Variable associated with the transaction. |
| index | Variable index for list variables, or -1 for full variable. |
|
inline |
| std::string rogue::interfaces::memory::Block::mode | ( | ) |
| uint64_t rogue::interfaces::memory::Block::offset | ( | ) |
| std::string rogue::interfaces::memory::Block::path | ( | ) |
| void rogue::interfaces::memory::Block::rateTest | ( | ) |
| void rogue::interfaces::memory::Block::read | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index = -1 |
||
| ) |
|
inlinestaticprotected |
| void rogue::interfaces::memory::Block::setBool | ( | const bool & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setBoolPy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setByteArray | ( | const uint8_t * | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Sets variable data from C++ byte array input.
Primary C++ path for Bytes variables and width-overflow fallback path for numeric models that cannot be represented in native scalar types.
| void rogue::interfaces::memory::Block::setByteArrayPy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Sets variable data from Python byte-array-like input.
Primary Python path for Bytes variables. Also used by some large-width numeric model paths when values are represented as raw bytes.
|
protected |
| void rogue::interfaces::memory::Block::setDouble | ( | const double & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setDoublePy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setEnable | ( | bool | enable | ) |
Sets the block enable state.
Exposed as setEnable() in Python.
| enable | Set to true to enable block operations. |
| void rogue::interfaces::memory::Block::setFixed | ( | const double & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setFixedPy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setFloat | ( | const float & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setFloatPy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setInt | ( | const int64_t & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Sets signed-integer variable data from C++ input.
C++ path for Int variables when width is 64 bits or less. Wider Int values are handled through byte-array conversion paths.
| void rogue::interfaces::memory::Block::setIntPy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Sets signed-integer variable data from Python input.
Python path for Int variables when width is 64 bits or less. Supports scalar values and array/list updates for list variables.
|
inline |
| void rogue::interfaces::memory::Block::setPyFunc | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Sets variable data using a Python callback/value.
Used for PyFunc variables and Python fallback paths for large-width integer variables where direct scalar conversion is not used. Calls model-specific toBytes() conversion before writing staged bytes.
| void rogue::interfaces::memory::Block::setString | ( | const std::string & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setStringPy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
| void rogue::interfaces::memory::Block::setUInt | ( | const uint64_t & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Sets unsigned-integer variable data from C++ input.
C++ path for UInt variables when width is 64 bits or less. Wider UInt values are handled through byte-array conversion paths.
| void rogue::interfaces::memory::Block::setUIntPy | ( | boost::python::object & | value, |
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index | ||
| ) |
Sets unsigned-integer variable data from Python input.
Python path for UInt variables when width is 64 bits or less. Supports scalar values and array/list updates for list variables.
|
static |
| uint32_t rogue::interfaces::memory::Block::size | ( | ) |
| void rogue::interfaces::memory::Block::startTransaction | ( | uint32_t | type, |
| bool | forceWr, | ||
| bool | check, | ||
| rogue::interfaces::memory::Variable * | var, | ||
| int32_t | index = -1 |
||
| ) |
Starts a C++ transaction for this block.
| type | Transaction type. |
| forceWr | Forces write even when block is not stale. |
| check | Requests immediate result checking, meaning wait for the transaction to complete before returning. |
| var | Variable associated with the transaction. |
| index | Variable index for list variables, or -1 for full variable. |
| void rogue::interfaces::memory::Block::startTransactionPy | ( | uint32_t | type, |
| bool | forceWr, | ||
| bool | check, | ||
| std::shared_ptr< rogue::interfaces::memory::Variable > | var, | ||
| int32_t | index | ||
| ) |
Starts a block transaction from Python.
Exposed as startTransaction() in Python.
| type | Transaction type. |
| forceWr | Forces write even when block is not stale. |
| check | Requests immediate result checking, meaning wait for the transaction to complete before returning. |
| var | Variable associated with transaction, or None for block scope. |
| index | Variable index for list variables, or -1 for full variable. |
| std::vector< rogue::interfaces::memory::VariablePtr > rogue::interfaces::memory::Block::variables | ( | ) |
| boost::python::object rogue::interfaces::memory::Block::variablesPy | ( | ) |
|
protected |
| void rogue::interfaces::memory::Block::write | ( | rogue::interfaces::memory::Variable * | var, |
| int32_t | index = -1 |
||
| ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |