#include <SIIterBot.h>
Public Member Functions | |
SIIterBot_state (SHARED_PTR< SIIterBot_callback >) | |
~SIIterBot_state () | |
void | acceptCallbacks (SIIterBot_adaptor *siba) |
void | denyCallbacks (SIIterBot_adaptor *siba) |
virtual bool | interactiveInputRequired () |
virtual void | waitForInteractiveInput () |
virtual int | cleanComplete () |
virtual bool majorCycleRequired(Float currentPeakResidual); | |
virtual Record | getMinorCycleControls () |
virtual void | mergeCycleInitializationRecord (Record &) |
virtual void | mergeCycleExecutionRecord (Record &) |
void | changeNiter (Int niter) |
void mergeSubIterBot(SISubIterBot& subIterBot); | |
void | changeCycleNiter (Int cycleniter) |
void | changeInteractiveNiter (Int interactiveniter) |
void | changeThreshold (Float threshold) |
void | changeCycleThreshold (Float cyclethreshold) |
void | changeInteractiveThreshold (Float cyclethreshold) |
void | changeLoopGain (Float loopgain) |
void | changeCycleFactor (Float cyclefactor) |
void | changeMinPsfFraction (Float minpsffraction) |
void | changeMaxPsfFraction (Float maxpsffraction) |
void | changeInteractiveMode (const bool &interactiveEnabled) |
void | changePauseFlag (const bool &pauseEnabled) |
void | changeStopFlag (const bool &stopEnabled) |
void | setControlsFromRecord (Record &recordIn) |
Float | readThreshold (Record recordIn, String id) |
virtual Record | getDetailsRecord () |
void | incrementMajorCycleCount () |
Record getSubIterBotRecord();. | |
Int | getMajorCycleCount () |
void | updateCycleThreshold () |
void | addSummaryMajor () |
Int getRemainingNiter(); Int getCompletedNiter();. | |
void | pushDetails () |
void | pushSummary () |
bool | incrementController () |
bool | decrementController () |
int | getNumberOfControllers () |
std::string | getDescription () |
void | setDescription (const std::string &value) |
DBus::Variant | getSummary () |
void | interactionComplete () |
START *virtual Record | getSummaryRecord () |
Functions for runtime parameter modification. | |
Protected Member Functions | |
virtual void | mergeMinorCycleSummary (const Array< Double > &summary) |
void | printOut (String prefix, Bool verbose) |
Protected Attributes | |
std::string | itsDescription |
Float | itsMinPsfFraction |
Float | itsMaxPsfFraction |
Float | itsMaxPsfSidelobe |
Float | itsPeakResidual |
Float | itsPrevPeakResidual |
int | itsControllerCount |
std::recursive_mutex | recordMutex |
std::recursive_mutex | descriptionMutex |
Int | itsNiter |
protects itsDescription | |
Int | itsCycleNiter |
Int | itsInteractiveNiter |
Float | itsThreshold |
Float | itsCycleThreshold |
Float | itsInteractiveThreshold |
Bool | itsIsCycleThresholdAuto |
Float | itsCycleFactor |
Float | itsLoopGain |
Bool | itsStopFlag |
Bool | itsPauseFlag |
Bool | itsInteractiveMode |
Bool | itsUpdatedModelFlag |
Int | itsIterDone |
Int | itsInteractiveIterDone |
Int | itsMaxCycleIterDone |
Int | itsMajorDone |
Int | itsStopCode |
bool | interactionPending |
bool | updateNeeded |
std::condition_variable | interactionCond |
std::mutex | interactionMutex |
Int | itsNSummaryFields |
Array< Double > | itsSummaryMinor |
Array< Int > | itsSummaryMajor |
SHARED_PTR< SIIterBot_callback > | callback |
Private Member Functions | |
SIIterBot_state (const SIIterBot_state &) | |
make SIIterBot_state uncopyable. | |
SIIterBot_state & | operator= (const SIIterBot_state &) |
Definition at line 72 of file SIIterBot.h.
casa::SIIterBot_state::SIIterBot_state | ( | const SIIterBot_state & | ) | [private] |
make SIIterBot_state uncopyable.
.\.
casa::SIIterBot_state::SIIterBot_state | ( | SHARED_PTR< SIIterBot_callback > | ) |
casa::SIIterBot_state::~SIIterBot_state | ( | ) |
void casa::SIIterBot_state::acceptCallbacks | ( | SIIterBot_adaptor * | siba | ) | [inline] |
Definition at line 86 of file SIIterBot.h.
References callback.
void casa::SIIterBot_state::addSummaryMajor | ( | ) |
Int getRemainingNiter(); Int getCompletedNiter();.
void casa::SIIterBot_state::changeCycleFactor | ( | Float | cyclefactor | ) |
void casa::SIIterBot_state::changeCycleNiter | ( | Int | cycleniter | ) |
void casa::SIIterBot_state::changeCycleThreshold | ( | Float | cyclethreshold | ) |
void casa::SIIterBot_state::changeInteractiveMode | ( | const bool & | interactiveEnabled | ) |
void casa::SIIterBot_state::changeInteractiveNiter | ( | Int | interactiveniter | ) |
void casa::SIIterBot_state::changeInteractiveThreshold | ( | Float | cyclethreshold | ) |
void casa::SIIterBot_state::changeLoopGain | ( | Float | loopgain | ) |
void casa::SIIterBot_state::changeMaxPsfFraction | ( | Float | maxpsffraction | ) |
void casa::SIIterBot_state::changeMinPsfFraction | ( | Float | minpsffraction | ) |
void casa::SIIterBot_state::changeNiter | ( | Int | niter | ) |
void mergeSubIterBot(SISubIterBot& subIterBot);
void casa::SIIterBot_state::changePauseFlag | ( | const bool & | pauseEnabled | ) |
void casa::SIIterBot_state::changeStopFlag | ( | const bool & | stopEnabled | ) |
void casa::SIIterBot_state::changeThreshold | ( | Float | threshold | ) |
virtual int casa::SIIterBot_state::cleanComplete | ( | ) | [virtual] |
virtual bool majorCycleRequired(Float currentPeakResidual);
Reimplemented in casa::DistSIIterBot_state.
bool casa::SIIterBot_state::decrementController | ( | ) |
void casa::SIIterBot_state::denyCallbacks | ( | SIIterBot_adaptor * | siba | ) | [inline] |
Definition at line 87 of file SIIterBot.h.
References callback.
std::string casa::SIIterBot_state::getDescription | ( | ) |
virtual Record casa::SIIterBot_state::getDetailsRecord | ( | ) | [virtual] |
Reimplemented in casa::DistSIIterBot_state.
Int casa::SIIterBot_state::getMajorCycleCount | ( | ) |
virtual Record casa::SIIterBot_state::getMinorCycleControls | ( | ) | [virtual] |
Reimplemented in casa::DistSIIterBot_state.
int casa::SIIterBot_state::getNumberOfControllers | ( | ) |
DBus::Variant casa::SIIterBot_state::getSummary | ( | ) |
START* virtual Record casa::SIIterBot_state::getSummaryRecord | ( | ) | [virtual] |
Functions for runtime parameter modification.
Reimplemented in casa::DistSIIterBot_state.
bool casa::SIIterBot_state::incrementController | ( | ) |
void casa::SIIterBot_state::incrementMajorCycleCount | ( | ) |
Record getSubIterBotRecord();.
void casa::SIIterBot_state::interactionComplete | ( | ) |
virtual bool casa::SIIterBot_state::interactiveInputRequired | ( | ) | [virtual] |
Reimplemented in casa::DistSIIterBot_state.
virtual void casa::SIIterBot_state::mergeCycleExecutionRecord | ( | Record & | ) | [virtual] |
Reimplemented in casa::DistSIIterBot_state.
virtual void casa::SIIterBot_state::mergeCycleInitializationRecord | ( | Record & | ) | [virtual] |
Reimplemented in casa::DistSIIterBot_state.
virtual void casa::SIIterBot_state::mergeMinorCycleSummary | ( | const Array< Double > & | summary | ) | [protected, virtual] |
Reimplemented in casa::DistSIIterBot_state.
SIIterBot_state& casa::SIIterBot_state::operator= | ( | const SIIterBot_state & | ) | [private] |
Reimplemented in casa::DistSIIterBot_state.
void casa::SIIterBot_state::printOut | ( | String | prefix, | |
Bool | verbose | |||
) | [protected] |
void casa::SIIterBot_state::pushDetails | ( | ) |
void casa::SIIterBot_state::pushSummary | ( | ) |
Float casa::SIIterBot_state::readThreshold | ( | Record | recordIn, | |
String | id | |||
) |
void casa::SIIterBot_state::setControlsFromRecord | ( | Record & | recordIn | ) |
void casa::SIIterBot_state::setDescription | ( | const std::string & | value | ) |
void casa::SIIterBot_state::updateCycleThreshold | ( | ) |
virtual void casa::SIIterBot_state::waitForInteractiveInput | ( | ) | [virtual] |
Reimplemented in casa::DistSIIterBot_state.
SHARED_PTR<SIIterBot_callback> casa::SIIterBot_state::callback [protected] |
Definition at line 274 of file SIIterBot.h.
Referenced by acceptCallbacks(), and denyCallbacks().
std::recursive_mutex casa::SIIterBot_state::descriptionMutex [protected] |
Definition at line 232 of file SIIterBot.h.
std::condition_variable casa::SIIterBot_state::interactionCond [protected] |
Definition at line 265 of file SIIterBot.h.
std::mutex casa::SIIterBot_state::interactionMutex [protected] |
Definition at line 266 of file SIIterBot.h.
bool casa::SIIterBot_state::interactionPending [protected] |
Definition at line 263 of file SIIterBot.h.
int casa::SIIterBot_state::itsControllerCount [protected] |
Definition at line 225 of file SIIterBot.h.
Float casa::SIIterBot_state::itsCycleFactor [protected] |
Definition at line 245 of file SIIterBot.h.
Int casa::SIIterBot_state::itsCycleNiter [protected] |
Definition at line 236 of file SIIterBot.h.
Float casa::SIIterBot_state::itsCycleThreshold [protected] |
Definition at line 240 of file SIIterBot.h.
std::string casa::SIIterBot_state::itsDescription [protected] |
Definition at line 216 of file SIIterBot.h.
Int casa::SIIterBot_state::itsInteractiveIterDone [protected] |
Definition at line 254 of file SIIterBot.h.
Bool casa::SIIterBot_state::itsInteractiveMode [protected] |
Definition at line 250 of file SIIterBot.h.
Int casa::SIIterBot_state::itsInteractiveNiter [protected] |
Definition at line 237 of file SIIterBot.h.
Float casa::SIIterBot_state::itsInteractiveThreshold [protected] |
Definition at line 241 of file SIIterBot.h.
Bool casa::SIIterBot_state::itsIsCycleThresholdAuto [protected] |
Definition at line 243 of file SIIterBot.h.
Int casa::SIIterBot_state::itsIterDone [protected] |
Definition at line 253 of file SIIterBot.h.
Float casa::SIIterBot_state::itsLoopGain [protected] |
Definition at line 246 of file SIIterBot.h.
Int casa::SIIterBot_state::itsMajorDone [protected] |
Definition at line 256 of file SIIterBot.h.
Int casa::SIIterBot_state::itsMaxCycleIterDone [protected] |
Definition at line 255 of file SIIterBot.h.
Float casa::SIIterBot_state::itsMaxPsfFraction [protected] |
Definition at line 219 of file SIIterBot.h.
Float casa::SIIterBot_state::itsMaxPsfSidelobe [protected] |
Definition at line 220 of file SIIterBot.h.
Float casa::SIIterBot_state::itsMinPsfFraction [protected] |
Definition at line 218 of file SIIterBot.h.
Int casa::SIIterBot_state::itsNiter [protected] |
protects itsDescription
Definition at line 235 of file SIIterBot.h.
Int casa::SIIterBot_state::itsNSummaryFields [protected] |
Definition at line 270 of file SIIterBot.h.
Bool casa::SIIterBot_state::itsPauseFlag [protected] |
Definition at line 249 of file SIIterBot.h.
Float casa::SIIterBot_state::itsPeakResidual [protected] |
Definition at line 221 of file SIIterBot.h.
Float casa::SIIterBot_state::itsPrevPeakResidual [protected] |
Definition at line 222 of file SIIterBot.h.
Int casa::SIIterBot_state::itsStopCode [protected] |
Definition at line 257 of file SIIterBot.h.
Bool casa::SIIterBot_state::itsStopFlag [protected] |
Definition at line 248 of file SIIterBot.h.
Array<Int> casa::SIIterBot_state::itsSummaryMajor [protected] |
Definition at line 272 of file SIIterBot.h.
Array<Double> casa::SIIterBot_state::itsSummaryMinor [protected] |
Definition at line 271 of file SIIterBot.h.
Float casa::SIIterBot_state::itsThreshold [protected] |
Definition at line 239 of file SIIterBot.h.
Bool casa::SIIterBot_state::itsUpdatedModelFlag [protected] |
Definition at line 251 of file SIIterBot.h.
std::recursive_mutex casa::SIIterBot_state::recordMutex [protected] |
Definition at line 231 of file SIIterBot.h.
bool casa::SIIterBot_state::updateNeeded [protected] |
Definition at line 264 of file SIIterBot.h.