Fawkes API  Fawkes Development Version
fawkes::SyncPointSetLessThan Class Reference

#include "syncpoint_manager.h"

Public Member Functions

bool operator() (const RefPtr< SyncPoint > sp1, const RefPtr< SyncPoint > sp2) const
 LessThan Operator to use for the manager's SyncPoint set Since we store RefPtrs to SyncPoints we have to override this operator otherwise, each SyncPoint would be unique. More...
 

Detailed Description

Compare sets of syncpoints

Definition at line 49 of file syncpoint.h.

Member Function Documentation

◆ operator()()

bool fawkes::SyncPointSetLessThan::operator() ( const RefPtr< SyncPoint sp1,
const RefPtr< SyncPoint sp2 
) const

LessThan Operator to use for the manager's SyncPoint set Since we store RefPtrs to SyncPoints we have to override this operator otherwise, each SyncPoint would be unique.

Parameters
sp1A RefPtr to a SyncPoint
sp2A RefPtr to a SyncPoint
Returns
true if strcmp returns a value < 0 for the SyncPoints' identifiers

Definition at line 111 of file syncpoint_manager.cpp.

References fawkes::SyncPointManager::mutex_, and fawkes::SyncPointManager::syncpoints_.


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