![]() |
COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <CommWrapper.hpp>
Inherits noncopyable.
Public Member Functions | |
| CommWrapperView (const Handle< CommWrapper > &cw) | |
| ~CommWrapperView () | |
| Destructor. More... | |
| T * | get_ptr () |
| T * | operator() () |
| int | size () |
| accessor to the length of the array, measured in items of sizeof(T) More... | |
Private Attributes | |
| T * | m_data |
| raw pointer to data More... | |
| int | m_size |
| size of the array measured based on sizeof(T) More... | |
| Handle< CommWrapper > | m_cw |
| pointer to commwrapper More... | |
fancy little class which asks for a view from a commwrapper specified as constructor's argument and frees the data upon destruction
Definition at line 173 of file CommWrapper.hpp.
|
inline |
Constructor. View is only supported if sizeof(T)==cw.size_of() and sizeof(T)==1, otherwisw error is thrown.
| cw | reference to the comwrapper class |
Definition at line 180 of file CommWrapper.hpp.
|
inline |
Destructor.
Definition at line 190 of file CommWrapper.hpp.
|
inline |
accessor to the naked pointer via accessor function
Definition at line 201 of file CommWrapper.hpp.
|
inline |
accessor to the naked pointer via () operator
Definition at line 205 of file CommWrapper.hpp.
|
inline |
accessor to the length of the array, measured in items of sizeof(T)
Definition at line 208 of file CommWrapper.hpp.
|
private |
pointer to commwrapper
Definition at line 219 of file CommWrapper.hpp.
|
private |
raw pointer to data
Definition at line 213 of file CommWrapper.hpp.
|
private |
size of the array measured based on sizeof(T)
Definition at line 216 of file CommWrapper.hpp.
1.8.9.1
|
Send comments to: COOLFluiD Web Admin |