SST  11.0.0
StructuralSimulationToolkit
SST::Clock::Handler< classT, void > Class Template Reference

Event Handler class without user-data. More...

#include <clock.h>

Inheritance diagram for SST::Clock::Handler< classT, void >:
SST::Clock::HandlerBase

Public Member Functions

 Handler (classT *const object, PtrMember member)
 Constructor. More...
 
bool operator() (Cycle_t cycle) override
 Calls underlying handler function, passing in the current cycle count. More...
 

Detailed Description

template<typename classT>
class SST::Clock::Handler< classT, void >

Event Handler class without user-data.

Template Parameters
classTType of the Object

Constructor & Destructor Documentation

template<typename classT >
SST::Clock::Handler< classT, void >::Handler ( classT *const  object,
PtrMember  member 
)
inline

Constructor.

Parameters
object- Pointer to Object upon which to call the handler
member- Member function to call as the handler

Member Function Documentation

template<typename classT >
bool SST::Clock::Handler< classT, void >::operator() ( Cycle_t  cycle)
inlineoverridevirtual

Calls underlying handler function, passing in the current cycle count.

If the hander function returns true, the handler will be removed from the clock list.

Implements SST::Clock::HandlerBase.


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