ug4
ug::ComPol_CheckConsistency< TVector > Class Template Reference

Communication Policy to check consistency of a vector. More...

#include <communication_policies.h>

+ Inheritance diagram for ug::ComPol_CheckConsistency< TVector >:

Public Member Functions

virtual bool collect (ug::BinaryBuffer &buff, const Interface &interface)
 writes the interface values into a buffer that will be sent More...
 
 ComPol_CheckConsistency ()
 Default constructor. More...
 
 ComPol_CheckConsistency (const TVector *pVec)
 Constructor setting the values. More...
 
virtual bool extract (ug::BinaryBuffer &buff, const Interface &interface)
 checks if recieved values are equal to process local values More...
 
virtual int get_required_buffer_size (const Interface &interface)
 returns the buffer size More...
 
void set_vector (const TVector *pVec)
 sets the vector used in communication More...
 
- Public Member Functions inherited from pcl::ICommunicationPolicy< IndexLayout >
virtual bool begin_layout_collection (const Layout *pLayout)
 signals the beginning of a layout collection. More...
 
virtual bool begin_layout_extraction (const Layout *pLayout)
 signals the beginning of a layout extraction. More...
 
virtual void begin_level_extraction (int level)
 signals that a new layout-level will now be processed. More...
 
virtual bool end_layout_collection (const Layout *pLayout)
 signals the end of a layout collection More...
 
virtual bool end_layout_extraction (const Layout *pLayout)
 signals the end of a layout extraction More...
 
virtual ~ICommunicationPolicy ()
 

Private Attributes

const TVector * m_pVec
 

Additional Inherited Members

- Public Types inherited from pcl::ICommunicationPolicy< IndexLayout >
typedef Layout::Interface Interface
 
typedef IndexLayout Layout
 

Detailed Description

template<class TVector>
class ug::ComPol_CheckConsistency< TVector >

Communication Policy to check consistency of a vector.

Constructor & Destructor Documentation

◆ ComPol_CheckConsistency() [1/2]

template<class TVector >
ug::ComPol_CheckConsistency< TVector >::ComPol_CheckConsistency ( )
inline

Default constructor.

◆ ComPol_CheckConsistency() [2/2]

template<class TVector >
ug::ComPol_CheckConsistency< TVector >::ComPol_CheckConsistency ( const TVector *  pVec)
inline

Constructor setting the values.

Member Function Documentation

◆ collect()

◆ extract()

◆ get_required_buffer_size()

template<class TVector >
virtual int ug::ComPol_CheckConsistency< TVector >::get_required_buffer_size ( const Interface interface)
inlinevirtual

◆ set_vector()

template<class TVector >
void ug::ComPol_CheckConsistency< TVector >::set_vector ( const TVector *  pVec)
inline

sets the vector used in communication

References ug::ComPol_CheckConsistency< TVector >::m_pVec.

Member Data Documentation

◆ m_pVec


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