#include <MatrixFunctions.h>
Public Member Functions | |
| T * | obtainResource (const Args &args) const |
| void | releaseResource (const Args &args, T *pMatrix) const |
Classes | |
| class | Args |
| This is an implementation detail of the MatrixObject class. More... | |
The MatrixObject is a trait object for use with the Resource template. It provides capability for creating and destroying two-dimensional matrices.
Definition at line 40 of file MatrixFunctions.h.
| T* MatrixFunctions::MatrixObject< T >::obtainResource | ( | const Args & | args | ) | const |
Obtains an matrix using the createMatrix function.
| args | The arguments for obtaining the resource. Should be of type MatrixObject::Args. |
Definition at line 68 of file MatrixFunctions.h.
| void MatrixFunctions::MatrixObject< T >::releaseResource | ( | const Args & | args, | |
| T * | pMatrix | |||
| ) | const |
Releases a matrix using the deleteMatrix function.
| args | The arguments for releasing the resource. Should be of type MatrixObject::Args. | |
| pMatrix | A pointer to the matrix to be freed. |
Definition at line 81 of file MatrixFunctions.h.