A SaccadeController may post this at every evolve. More...
#include <Neuro/NeuroSimEvents.H>
Public Member Functions | |
SimEventSaccadeStatus (SimModule *src, const Point2D< int > &pos, const SaccadeState state, const SaccadeState prevState, const bool blinkState, const bool prevBlinkState) | |
Constuctor. | |
virtual | ~SimEventSaccadeStatus () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
const Point2D< int > & | position () const |
Get the position. | |
TransientStatus | unknownStatus () const |
Are we in/out/beginning/ending unknown/junk mode? | |
TransientStatus | fixationStatus () const |
Are we in/out/beginning/ending fixation? | |
TransientStatus | saccadeStatus () const |
Are we in/out/beginning/ending saccade? | |
TransientStatus | blinkStatus () const |
Are we in/out/beginning/ending blink? | |
TransientStatus | smoothPursuitStatus () const |
Are we in/out/beginning/ending smooth pursuit? | |
virtual SaccadeBodyPart | bodyPart () const =0 |
Get the body part, used by toString(). |
A SaccadeController may post this at every evolve.
Note how you cannot implement an object of this type, since it contains a pure virtual function. Use SimEventSaccadeStatusEye or SimEventSaccadeStatusHead instead.
Definition at line 472 of file NeuroSimEvents.H.
SimEventSaccadeStatus::SimEventSaccadeStatus | ( | SimModule * | src, | |
const Point2D< int > & | pos, | |||
const SaccadeState | state, | |||
const SaccadeState | prevState, | |||
const bool | blinkState, | |||
const bool | prevBlinkState | |||
) |
Constuctor.
Definition at line 462 of file NeuroSimEvents.C.
SimEventSaccadeStatus::~SimEventSaccadeStatus | ( | ) | [virtual] |
Destructor.
Definition at line 472 of file NeuroSimEvents.C.
TransientStatus SimEventSaccadeStatus::blinkStatus | ( | ) | const |
Are we in/out/beginning/ending blink?
Definition at line 503 of file NeuroSimEvents.C.
References transientStatus().
Referenced by toString().
virtual SaccadeBodyPart SimEventSaccadeStatus::bodyPart | ( | ) | const [pure virtual] |
Get the body part, used by toString().
Implemented in SimEventSaccadeStatusEye, and SimEventSaccadeStatusHead.
Referenced by toString().
TransientStatus SimEventSaccadeStatus::fixationStatus | ( | ) | const |
Are we in/out/beginning/ending fixation?
Definition at line 495 of file NeuroSimEvents.C.
References SACSTATE_FIX, and transientStatus().
Referenced by toString().
const Point2D< int > & SimEventSaccadeStatus::position | ( | ) | const |
Get the position.
Definition at line 488 of file NeuroSimEvents.C.
TransientStatus SimEventSaccadeStatus::saccadeStatus | ( | ) | const |
Are we in/out/beginning/ending saccade?
Definition at line 499 of file NeuroSimEvents.C.
References SACSTATE_SAC, and transientStatus().
Referenced by toString().
TransientStatus SimEventSaccadeStatus::smoothPursuitStatus | ( | ) | const |
Are we in/out/beginning/ending smooth pursuit?
Definition at line 506 of file NeuroSimEvents.C.
References SACSTATE_SMO, and transientStatus().
Referenced by toString().
std::string SimEventSaccadeStatus::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimEvent.
Definition at line 475 of file NeuroSimEvents.C.
References blinkStatus(), bodyPart(), fixationStatus(), Point2D< T >::i, saccadeBodyPartName(), saccadeStatus(), sformat(), smoothPursuitStatus(), transientStatusToStr(), and unknownStatus().
TransientStatus SimEventSaccadeStatus::unknownStatus | ( | ) | const |
Are we in/out/beginning/ending unknown/junk mode?
Definition at line 491 of file NeuroSimEvents.C.
References SACSTATE_UNK, and transientStatus().
Referenced by toString().