The TargetChecker hit a one or more targets. More...
#include <Neuro/NeuroSimEvents.H>
Public Member Functions | |
SimEventTargetsHit (SimModule *src, const int numhit) | |
Constuctor. | |
virtual | ~SimEventTargetsHit () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
int | numHits () const |
Get the number of targets hit this time. |
The TargetChecker hit a one or more targets.
Definition at line 88 of file NeuroSimEvents.H.
SimEventTargetsHit::SimEventTargetsHit | ( | SimModule * | src, | |
const int | numhit | |||
) |
Constuctor.
Definition at line 77 of file NeuroSimEvents.C.
SimEventTargetsHit::~SimEventTargetsHit | ( | ) | [virtual] |
Destructor.
Definition at line 81 of file NeuroSimEvents.C.
int SimEventTargetsHit::numHits | ( | ) | const |
Get the number of targets hit this time.
Definition at line 87 of file NeuroSimEvents.C.
std::string SimEventTargetsHit::toString | ( | ) | const [virtual] |
Get a description for printing out.
Shows regular SimEvent info, plus number of targets hit.
Reimplemented from SimEvent.
Definition at line 84 of file NeuroSimEvents.C.
References sformat().