MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ComparePostSynEvent Struct Reference

#include <SynEvent.h>

+ Collaboration diagram for ComparePostSynEvent:

Public Member Functions

bool operator() (const PostSynEvent &lhs, const PostSynEvent &rhs) const
 

Detailed Description

Definition at line 69 of file SynEvent.h.

Member Function Documentation

bool ComparePostSynEvent::operator() ( const PostSynEvent lhs,
const PostSynEvent rhs 
) const
inline

Definition at line 71 of file SynEvent.h.

References PostSynEvent::time.

72  {
73  // Note that this is backwards. We want the smallest timestamp
74  // on the top of the events priority_queue.
75  return lhs.time > rhs.time;
76  }
double time
Definition: SynEvent.h:66

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