ug4
pcl::ProcessCommunicator::CommWrapper Struct Reference

holds an mpi-communicator. More...

Public Member Functions

 CommWrapper ()
 initializes the commWrapper with PCL_COMM_WORLD More...
 
 CommWrapper (const MPI_Comm &comm, bool bReleaseComm)
 
 ~CommWrapper ()
 

Public Attributes

bool m_bReleaseCommunicator
 
MPI_Comm m_mpiComm
 
std::vector< int > m_procs
 only contains data if m_mpiComm != PCL_COMM_WORLD More...
 

Detailed Description

holds an mpi-communicator.

A variable stores whether the communicator has to be freed when the the wrapper is deleted.

Constructor & Destructor Documentation

◆ CommWrapper() [1/2]

pcl::ProcessCommunicator::CommWrapper::CommWrapper ( )

initializes the commWrapper with PCL_COMM_WORLD

◆ CommWrapper() [2/2]

pcl::ProcessCommunicator::CommWrapper::CommWrapper ( const MPI_Comm &  comm,
bool  bReleaseComm 
)

◆ ~CommWrapper()

pcl::ProcessCommunicator::CommWrapper::~CommWrapper ( )

Member Data Documentation

◆ m_bReleaseCommunicator

bool pcl::ProcessCommunicator::CommWrapper::m_bReleaseCommunicator

◆ m_mpiComm

MPI_Comm pcl::ProcessCommunicator::CommWrapper::m_mpiComm

◆ m_procs

std::vector<int> pcl::ProcessCommunicator::CommWrapper::m_procs

only contains data if m_mpiComm != PCL_COMM_WORLD


The documentation for this struct was generated from the following files: