![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/Tensor.h>
Helper class for read-only access to the data content of a Tensor. More...
Inheritance diagram for Tensor< Order >::ConstAccess:Helper class for read-only access to the data content of a Tensor.
This access and is not exclusive and not meant to guarantee thread safety.
Public Member Functions | |
| ConstAccess (ConstAccess &&o) noexcept | |
| ConstAccess & | operator= (const ConstAccess &&o) noexcept |
| ConstAccess (const ConstAccess &)=delete | |
| ConstAccess & | operator= (const ConstAccess &)=delete |
| const double * | data () const |
| Direct const access to the underlying tensor data. Kindly do not delete this pointer, unless you plan on crashing the application. | |
| template<typename... idxT, typename = typename std::enable_if<TensorBase::are_all_convertible<size_t, idxT...>::value>::type> | |
| const double & | operator() (idxT... idx) const |
| Const access of an individual tensor element. The correct number of arguments is checked at compile time. | |
Public Member Functions inherited from SignalReceiver | |
| SignalReceiver ()=default | |
| Default constructor. | |
| SignalReceiver (const SignalReceiver &other) | |
| Copy constructor, does not copy any existing signal connections from other. | |
| SignalReceiver & | operator= (SignalReceiver rhs) |
| Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs. | |
| virtual | ~SignalReceiver () |
| Virtual destructor disconnects from all connected signals. | |
Protected Member Functions | |
| ConstAccess (const Tensor< Order > &tensor) | |
| void | onDataDeleted (const Data *data) |
Protected Member Functions inherited from SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |
Protected Attributes | |
| Tensor< Order > * | m_tensor |