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

#include <HopFunc.h>

+ Inheritance diagram for HopFunc0:
+ Collaboration diagram for HopFunc0:

Public Member Functions

 HopFunc0 (HopIndex hopIndex)
 
void op (const Eref &e) const
 
- Public Member Functions inherited from OpFunc0Base
bool checkFinfo (const Finfo *s) const
 
const OpFuncmakeHopFunc (HopIndex hopIndex) const
 
void opBuffer (const Eref &e, double *buf) const
 Executes the OpFunc by converting args. More...
 
string rttiType () const
 
- Public Member Functions inherited from OpFunc
 OpFunc ()
 
unsigned int opIndex () const
 
virtual void opVecBuffer (const Eref &e, double *buf) const
 Executes the OpFunc for all data by converting a vector of args. More...
 
bool setIndex (unsigned int i)
 Used when rebuilding the Fid->OpFunc mapping. More...
 
virtual ~OpFunc ()
 

Private Attributes

HopIndex hopIndex_
 

Additional Inherited Members

- Static Public Member Functions inherited from OpFunc
static const OpFunclookop (unsigned int opIndex)
 
static unsigned int rebuildOpIndex ()
 cleans out the entire Ops vector. Returns size of orig vector. More...
 

Detailed Description

Function to hop across nodes. This one has no arguments, just tells the remote object that an event has occurred.

Definition at line 29 of file HopFunc.h.

Constructor & Destructor Documentation

HopFunc0::HopFunc0 ( HopIndex  hopIndex)
inline

Definition at line 32 of file HopFunc.h.

33  : hopIndex_( hopIndex )
34  {;}
HopIndex hopIndex_
Definition: HopFunc.h:41

Member Function Documentation

void HopFunc0::op ( const Eref e) const
inlinevirtual

Implements OpFunc0Base.

Definition at line 35 of file HopFunc.h.

References addToBuf(), dispatchBuffers(), and hopIndex_.

36  {
37  addToBuf( e, hopIndex_, 0 );
39  }
double * addToBuf(const Eref &e, HopIndex hopIndex, unsigned int size)
Definition: HopFunc.cpp:29
void dispatchBuffers(const Eref &e, HopIndex hopIndex)
Definition: HopFunc.cpp:47
HopIndex hopIndex_
Definition: HopFunc.h:41

+ Here is the call graph for this function:

Member Data Documentation

HopIndex HopFunc0::hopIndex_
private

Definition at line 41 of file HopFunc.h.

Referenced by op().


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