BioDynaMo
v1.05.120-25dc9790
|
#include <mapped_data_array.h>
Public Types | |
enum | DataType { kDefault, kArray, kAgentUid, kSoPointer } |
using | TempValueType = typename std::remove_pointer< TReturn >::type |
Public Member Functions | |
GetDataMemberForVis () | |
void | Update () |
template<typename TTDataMember = TDataMember> | |
std::enable_if< GetDataType< TTDataMember >)==DataType::kDefault, TReturn >::type | operator() (Agent *agent) const |
template<typename TTDataMember = TDataMember> | |
std::enable_if< GetDataType< TTDataMember >)==DataType::kArray, TReturn >::type | operator() (Agent *agent) const |
template<typename TTDataMember = TDataMember> | |
std::enable_if< GetDataType< TTDataMember >)==DataType::kAgentUid, TReturn >::type | operator() (Agent *agent) const |
template<typename TTDataMember = TDataMember> | |
std::enable_if< GetDataType< TTDataMember >)==DataType::kSoPointer, TReturn >::type | operator() (Agent *agent) const |
Static Public Member Functions | |
template<typename T > | |
static constexpr DataType | GetDataType () |
Public Attributes | |
uint64_t | dm_offset_ |
std::vector< std::array< TempValueType, 64/sizeof(TempValueType)> > | temp_values_ |
Thread local storage for temporary values. More... | |
Extract the data member value of an Agent given its concrete type, type of the data member, and data member offset from its concrete pointer.
Definition at line 39 of file mapped_data_array.h.
using bdm::GetDataMemberForVis< TReturn, TClass, TDataMember >::TempValueType = typename std::remove_pointer<TReturn>::type |
Definition at line 41 of file mapped_data_array.h.
enum bdm::GetDataMemberForVis::DataType |
Enumerator | |
---|---|
kDefault | |
kArray | |
kAgentUid | |
kSoPointer |
Definition at line 55 of file mapped_data_array.h.
|
inline |
Definition at line 46 of file mapped_data_array.h.
|
inlinestaticconstexpr |
Definition at line 58 of file mapped_data_array.h.
|
inline |
Definition at line 72 of file mapped_data_array.h.
|
inline |
Definition at line 81 of file mapped_data_array.h.
|
inline |
Definition at line 92 of file mapped_data_array.h.
|
inline |
Definition at line 106 of file mapped_data_array.h.
|
inline |
Definition at line 48 of file mapped_data_array.h.
uint64_t bdm::GetDataMemberForVis< TReturn, TClass, TDataMember >::dm_offset_ |
Definition at line 40 of file mapped_data_array.h.
|
mutable |
Thread local storage for temporary values.
Definition at line 44 of file mapped_data_array.h.