MorphoGraphX  2.0-1-227
Public Types | Public Member Functions | Public Attributes | List of all members
mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT > Class Template Reference

#include <DistObject.hpp>

+ Inheritance diagram for mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >:

Public Types

typedef std::pair< typename DistNhbdT::Vertex, typename DistNhbdT::Vertex > EdgePair
 

Public Member Functions

 DistEdgeAttr (DistNhbdT &nhbd, AttrMap< EdgePair, ContentT > *map, DataT ContentT::*off)
 
DataT * eData (const typename DistNhbdT::Vertex &v1, const typename DistNhbdT::Vertex &v2)
 
void setAttrMap (AttrMap< EdgePair, ContentT > *map)
 
- Public Member Functions inherited from mgx::DistEdge< DistNhbdT, DataT >
 DistEdge (DistNhbdT &nhbd)
 
virtual ~DistEdge ()
 
DistNhbdTnhbd ()
 
thrust::device_vector< DataT > * data ()
 
void alloc ()
 
void write ()
 
void read ()
 

Public Attributes

AttrMap< EdgePair, ContentT > * _map
 
DataT ContentT::* _off
 
- Public Attributes inherited from mgx::DistEdge< DistNhbdT, DataT >
DistNhbdT_nhbd
 
bool _hasHostData
 
thrust::device_vector< DataT > * _data
 

Additional Inherited Members

- Protected Member Functions inherited from mgx::DistEdge< DistNhbdT, DataT >
 DistEdge (DistNhbdT &nhbd, bool hasData)
 

Detailed Description

template<typename DistNhbdT, typename ContentT, typename DataT>
class mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >

Derived class from distributed edge with storage in an attribute map keyed by a pair of edges

Definition at line 398 of file DistObject.hpp.

Member Typedef Documentation

◆ EdgePair

template<typename DistNhbdT , typename ContentT , typename DataT >
typedef std::pair<typename DistNhbdT::Vertex, typename DistNhbdT::Vertex> mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >::EdgePair

Definition at line 401 of file DistObject.hpp.

Constructor & Destructor Documentation

◆ DistEdgeAttr()

template<typename DistNhbdT , typename ContentT , typename DataT >
mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >::DistEdgeAttr ( DistNhbdT nhbd,
AttrMap< EdgePair, ContentT > *  map,
DataT ContentT::*  off 
)
inline

Definition at line 407 of file DistObject.hpp.

Member Function Documentation

◆ eData()

template<typename DistNhbdT , typename ContentT , typename DataT >
DataT* mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >::eData ( const typename DistNhbdT::Vertex &  v1,
const typename DistNhbdT::Vertex &  v2 
)
inlinevirtual

Reimplemented from mgx::DistEdge< DistNhbdT, DataT >.

Definition at line 411 of file DistObject.hpp.

◆ setAttrMap()

template<typename DistNhbdT , typename ContentT , typename DataT >
void mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >::setAttrMap ( AttrMap< EdgePair, ContentT > *  map)
inline

Definition at line 417 of file DistObject.hpp.

Member Data Documentation

◆ _map

template<typename DistNhbdT , typename ContentT , typename DataT >
AttrMap<EdgePair, ContentT>* mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >::_map

Definition at line 402 of file DistObject.hpp.

◆ _off

template<typename DistNhbdT , typename ContentT , typename DataT >
DataT ContentT::* mgx::DistEdgeAttr< DistNhbdT, ContentT, DataT >::_off

Definition at line 403 of file DistObject.hpp.


The documentation for this class was generated from the following file: