Fawkes API  Fawkes Development Version
fawkes::SyncPointSetLessThan Class Reference

Compare sets of syncpoints. More...

#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 43 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 105 of file syncpoint_manager.cpp.


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