DUNE: Uniform Navigational Environment
2016.05.0
|
Simple time counter.
This class checks if the amount of time elapsed since the last call to reset() is greater than the top value.
Public Member Functions | |
Counter (T top=0.0) | |
void | setTop (T top) |
T | getTop (void) const |
T | reset (void) |
bool | overflow (void) |
T | getRemaining (void) const |
T | getElapsed (void) const |
|
inline |
Constructor.
top | counter's top value. |
|
inline |
Get elapsed time.
Referenced by Sensors::Klein3500::Task::onActivation(), Sensors::Edgetech2205::Task::onActivation(), Sensors::ExplorerDVL::Task::onMain(), Sensors::MicrostrainMIP::Task::reportEntityState(), Sensors::Keller::Task::reportEntityState(), Sensors::LIMU::Task::reportEntityState(), Sensors::Microstrain3DMGX3::Task::reportEntityState(), and Actuators::Broom::Task::reportEntityState().
|
inline |
Get remaining time.
Referenced by Supervisors::SlaveCPU::Task::checkActivation(), Power::DOAMv2::Task::checkActivation(), Power::DOAMv1::Task::checkActivation(), Vision::Lumenera::Task::checkActivationProgress(), Sensors::Imagenex881A::Task::checkActivationProgress(), Sensors::Imagenex837B::Task::checkActivationProgress(), Sensors::SmartX::Task::getTimeout(), Simulators::LBL::Task::onMain(), DUNE::Hardware::BasicModem::readLine(), DUNE::Hardware::BasicModem::readRaw(), and Supervisors::AUV::LostComms::Task::task().
|
inline |
Get top value.
Referenced by Vision::Lumenera::Task::checkActivationProgress(), and Vision::Lumenera::Task::checkDeactivationProgress().
|
inline |
Check if the counter has reached the top value.
Referenced by Control::AUV::RemoteOperation::Task::actuate(), Supervisors::AUV::LostComms::Task::canTakeAction(), Vision::Lumenera::Task::captureAndSave(), Supervisors::SlaveCPU::Task::checkActivation(), Power::DOAMv2::Task::checkActivation(), Power::DOAMv1::Task::checkActivation(), Vision::Lumenera::Task::checkActivationProgress(), Sensors::Imagenex881A::Task::checkActivationProgress(), Sensors::Imagenex837B::Task::checkActivationProgress(), Supervisors::SlaveCPU::Task::checkDeactivation(), Power::DOAMv2::Task::checkDeactivation(), Vision::Lumenera::Task::checkDeactivationProgress(), Sensors::Imagenex837B::Task::checkRange(), DUNE::Navigation::BasicNavigation::checkUncertainty(), DUNE::Control::PathController::consume(), DUNE::Navigation::StreamEstimator::consume(), DUNE::Control::BasicAutopilot::consume(), DUNE::Navigation::BasicNavigation::consume(), Maneuver::FollowSystem::Task::consume(), Transports::LoggingDigest::Task::flush(), DUNE::Navigation::BasicNavigation::getAltitude(), DUNE::Hardware::BasicModem::isCooling(), DUNE::Monitors::VerticalMonitor::isProgressSlow(), Transports::Evologics::Task::keepAlive(), Actuators::Broom::Task::onCommand(), DUNE::Daemon::onMain(), Sensors::MiniSVS::Task::onMain(), Sensors::XchangeSV::Task::onMain(), Monitors::Clock::Task::onMain(), Navigation::General::GPSNavigation::Task::onMain(), Supervisors::Delegator::Task::onMain(), Sensors::IFOG::Task::onMain(), Sensors::SonTekArgonaut::Task::onMain(), Actuators::SIMCT01::Task::onMain(), Simulators::LBL::Task::onMain(), Sensors::XR620CTD::Task::onMain(), Sensors::OS4000::Task::onMain(), Actuators::SCRTv4::Task::onMain(), Sensors::Imagenex852::Task::onMain(), Actuators::LED4R::Task::onMain(), Vision::DFK51BG02H::Task::onMain(), Actuators::MCD4R::Task::onMain(), Sensors::Imagenex881A::Task::onMain(), Transports::UAN::Task::onMain(), Sensors::MetrecX::Task::onMain(), Sensors::ExplorerDVL::Task::onMain(), Sensors::MLBLTracker::Task::onMain(), Maneuver::FollowSystem::Task::onStateReport(), Transports::GSM::Task::pollStatus(), Transports::IridiumSBD::Task::processQueue(), DUNE::Hardware::BasicModem::readRaw(), Sensors::MicrostrainMIP::Task::reportEntityState(), Sensors::Keller::Task::reportEntityState(), Sensors::LIMU::Task::reportEntityState(), Sensors::Microstrain3DMGX3::Task::reportEntityState(), Actuators::Broom::Task::reportEntityState(), Sensors::EmulatedGPS::Task::sendSentences(), Transports::UDP::LimitedComms::setMyPosition(), Navigation::AUV::Navigation::Task::setTransition(), Actuators::Broom::Task::setup(), Sensors::SW100::Task::task(), Sensors::Genesys::Task::task(), Actuators::SingleSIMCT01::Task::task(), Navigation::General::ROV::Task::task(), Monitors::Emergency::Task::task(), Navigation::AUV::Navigation::Task::task(), Actuators::Broom::Task::task(), Control::ROV::RemoteOperation::Task::toggleWallTracker(), Sensors::SmartX::Task::updateStateMachine(), Sensors::Klein3500::Task::updateStateMachine(), Sensors::Edgetech2205::Task::updateStateMachine(), and Transports::LoggingDigest::Task::writeSample().
|
inline |
Reset counter.
Referenced by Sensors::OS4000::Task::calibrating(), Sensors::Imagenex881A::Task::checkActivationProgress(), Sensors::Imagenex837B::Task::checkRange(), Sensors::ExplorerDVL::Task::configureInputTrigger(), DUNE::Navigation::StreamEstimator::consume(), DUNE::Control::BasicAutopilot::consume(), Supervisors::AUV::LostComms::Task::consume(), DUNE::Navigation::BasicNavigation::consume(), Maneuver::FollowSystem::Task::consume(), Navigation::General::GPSNavigation::Task::consume(), Control::AUV::RemoteOperation::Task::consume(), Monitors::Emergency::Task::consume(), Transports::UAN::Task::consume(), Transports::Evologics::Task::consume(), DUNE::Time::Counter< float >::Counter(), Sensors::LIMU::Task::decodeOutputData(), Transports::LoggingDigest::Task::flush(), Sensors::Genesys::Task::getData(), Actuators::LED4R::Task::getMonitors(), Transports::IridiumSBD::Task::handleSessionResult(), Actuators::SCRTv4::Task::handleState(), DUNE::Monitors::VerticalMonitor::isProgressSlow(), Transports::Evologics::Task::keepAlive(), Transports::IridiumSBD::Task::onActivation(), Simulators::LBL::Task::onActivation(), Sensors::Imagenex852::Task::onActivation(), DUNE::Daemon::onMain(), Sensors::MiniSVS::Task::onMain(), Sensors::XchangeSV::Task::onMain(), Supervisors::Delegator::Task::onMain(), Sensors::IFOG::Task::onMain(), Actuators::SIMCT01::Task::onMain(), Simulators::LBL::Task::onMain(), Sensors::XR620CTD::Task::onMain(), Sensors::OS4000::Task::onMain(), Sensors::Imagenex852::Task::onMain(), Vision::DFK51BG02H::Task::onMain(), Actuators::MCD4R::Task::onMain(), Sensors::Imagenex881A::Task::onMain(), Sensors::MetrecX::Task::onMain(), Sensors::ExplorerDVL::Task::onMain(), Sensors::MLBLTracker::Task::onMain(), Sensors::Imagenex881A::Task::onRequestActivation(), Sensors::Imagenex837B::Task::onRequestActivation(), Actuators::SIMCT01::Task::onResourceInitialization(), Sensors::MicrostrainMIP::Task::onResourceInitialization(), Sensors::OS4000::Task::onResourceInitialization(), Actuators::LED4R::Task::onResourceInitialization(), Actuators::MCD4R::Task::onResourceInitialization(), Transports::GSM::Task::pollStatus(), Sensors::ExplorerDVL::Task::processAltitude(), Transports::IridiumSBD::Task::processQueue(), Sensors::SonTekArgonaut::Task::readSample(), Sensors::MicrostrainMIP::Task::readSample(), Sensors::MicrostrainMIP::Task::reportEntityState(), Sensors::Keller::Task::reportEntityState(), Sensors::LIMU::Task::reportEntityState(), Sensors::Microstrain3DMGX3::Task::reportEntityState(), Actuators::Broom::Task::reportEntityState(), Simulators::LBL::Task::reset(), Actuators::LED4R::Task::setBrightness(), DUNE::Hardware::BasicModem::setBusy(), DUNE::Time::Counter< float >::setTop(), Sensors::SW100::Task::task(), Sensors::Genesys::Task::task(), Actuators::SingleSIMCT01::Task::task(), Navigation::General::ROV::Task::task(), Monitors::Emergency::Task::task(), Navigation::AUV::Navigation::Task::task(), Sensors::Microstrain3DMGX3::Task::task(), Actuators::Broom::Task::task(), Control::ROV::RemoteOperation::Task::toggleWallTracker(), Sensors::SmartX::Task::updateStateMachine(), Sensors::Edgetech2205::Task::updateStateMachine(), Actuators::Broom::Task::waitForCommand(), and Transports::LoggingDigest::Task::writeSample().
|
inline |
Set top value.
top | counter's top value. |
Referenced by DUNE::Control::PathController::consume(), DUNE::Control::BasicAutopilot::consume(), Sensors::EmulatedGPS::Task::consume(), Transports::UAN::Task::consume(), DUNE::Time::Counter< float >::Counter(), Transports::UDP::LimitedComms::LimitedComms(), Sensors::ExplorerDVL::Task::onActivation(), Vision::Lumenera::Task::onActivation(), Supervisors::SlaveCPU::Task::onRequestActivation(), Power::DOAMv2::Task::onRequestActivation(), Power::DOAMv1::Task::onRequestActivation(), Vision::Lumenera::Task::onRequestActivation(), Supervisors::SlaveCPU::Task::onRequestDeactivation(), Power::DOAMv2::Task::onRequestDeactivation(), Vision::Lumenera::Task::onRequestDeactivation(), Sensors::XR620CTD::Task::onResourceAcquisition(), Sensors::Imagenex852::Task::onResourceAcquisition(), Actuators::Broom::Task::onResourceAcquisition(), Sensors::Imagenex881A::Task::onResourceAcquisition(), DUNE::Daemon::onResourceInitialization(), Sensors::MiniSVS::Task::onResourceInitialization(), Sensors::XchangeSV::Task::onResourceInitialization(), Monitors::Clock::Task::onResourceInitialization(), Monitors::Emergency::Task::onResourceInitialization(), Sensors::SW100::Task::onResourceInitialization(), Actuators::SCRTv4::Task::onResourceInitialization(), Sensors::MicrostrainMIP::Task::onResourceInitialization(), Sensors::IFOG::Task::onResourceInitialization(), Control::ROV::RemoteOperation::Task::onResourceInitialization(), Transports::Evologics::Task::onResourceInitialization(), Sensors::MetrecX::Task::onResourceInitialization(), Sensors::Genesys::Task::onUpdateParameters(), Transports::LoggingDigest::Task::onUpdateParameters(), Sensors::SonTekArgonaut::Task::onUpdateParameters(), Maneuver::FollowSystem::Task::onUpdateParameters(), DUNE::Navigation::BasicNavigation::onUpdateParameters(), Transports::IridiumSBD::Task::onUpdateParameters(), Control::AUV::RemoteOperation::Task::onUpdateParameters(), Transports::GSM::Task::onUpdateParameters(), Actuators::SIMCT01::Task::onUpdateParameters(), Sensors::MicrostrainMIP::Task::onUpdateParameters(), Simulators::LBL::Task::onUpdateParameters(), Sensors::LIMU::Task::onUpdateParameters(), Actuators::LED4R::Task::onUpdateParameters(), Sensors::Microstrain3DMGX3::Task::onUpdateParameters(), Sensors::OS4000::Task::onUpdateParameters(), Sensors::MLBLTracker::Task::onUpdateParameters(), Actuators::MCD4R::Task::onUpdateParameters(), Sensors::Imagenex881A::Task::onUpdateParameters(), Actuators::Broom::Task::onUpdateParameters(), Sensors::Imagenex837B::Task::onUpdateParameters(), DUNE::Control::BasicAutopilot::reset(), DUNE::Hardware::BasicModem::setTxRateMax(), Actuators::Broom::Task::setup(), DUNE::Navigation::StreamEstimator::StreamEstimator(), Navigation::General::GPSNavigation::Task::Task(), Supervisors::AUV::LostComms::Task::task(), Sensors::SmartX::Task::updateStateMachine(), Sensors::Klein3500::Task::updateStateMachine(), Sensors::Edgetech2205::Task::updateStateMachine(), and DUNE::Monitors::VerticalMonitor::VerticalMonitor().