#include <ScheduledItem.h>
| ScheduledItem::ScheduledItem |
( |
const Str & |
cmd, |
|
|
const Str & |
id, |
|
|
int |
idIndex, |
|
|
int |
idCount |
|
) |
| |
|
inline |
References Str::EMPTY_STR, Syslog::FAULT, FlexArray< T >::get(), getCmd(), getId(), getIdCount(), getIdIndex(), getIndex(), Syslog::IMPORTANT, FlexArray< T >::push(), ready_, ScheduledNext_, FlexArray< T >::set(), ShowPaused(), FlexArrayBase::size(), and Logger::syslog().
Referenced by CommandLine::commandSchedule().
References Str::EMPTY_STR, Timestamp::EPOCH_START_TIME, Syslog::FAULT, getCmd(), getId(), getIdCount(), getIdIndex(), getIndex(), FastMap< S, T >::getIndexedEntry(), MapEntry< S, T >::getItem(), MapEntry< S, T >::getKey(), Syslog::IMPORTANT, FastMap< S, T >::put(), ready_, Scheduled_, MapEntry< S, T >::setItem(), ShowPaused(), FastMap< S, T >::size(), Logger::syslog(), and Timestamp::toString().
Referenced by CommandLine::commandSchedule().
| void ScheduledItem::Clear |
( |
const Str & |
id, |
|
|
Logger & |
logger |
|
) |
| |
|
static |
References Str::EMPTY_STR, FlexArray< T >::get(), getId(), getIndex(), FastMap< S, T >::getIndexed(), Syslog::IMPORTANT, Remove(), Scheduled_, ScheduledNext_, FlexArrayBase::size(), FastMap< S, T >::size(), and Logger::syslog().
Referenced by CommandLine::commandSchedule().
| void ScheduledItem::DoScheduled |
( |
Logger & |
logger | ) |
|
|
static |
References Str::cStr(), CommandLine::DoCommand(), Timestamp::EPOCH_START_TIME, Syslog::FAULT, FlexArray< T >::get(), getCmd(), FastMap< S, T >::getIndexedEntry(), MapEntry< S, T >::getItem(), MapEntry< S, T >::getKey(), CommandLine::IsCommandQueued(), Supervisor::IsMissionRunning(), Syslog::NONE, Timestamp::Now(), FlexArray< T >::pop(), FastMap< S, T >::popIndexed(), ready_, Scheduled_, ScheduledNext_, SchedulePauseSeverity_, FlexArrayBase::size(), FastMap< S, T >::size(), and Logger::syslog().
Referenced by CommandLine::DoScheduled().
| Str& ScheduledItem::getCmd |
( |
| ) |
|
|
inline |
| Str& ScheduledItem::getId |
( |
| ) |
|
|
inline |
| int ScheduledItem::getIdCount |
( |
| ) |
|
|
inline |
| int ScheduledItem::getIdIndex |
( |
| ) |
|
|
inline |
| int ScheduledItem::getIndex |
( |
| ) |
|
|
inline |
| void ScheduledItem::List |
( |
Logger & |
logger | ) |
|
|
static |
References Str::EMPTY_STR, Timestamp::EPOCH_START_TIME, getCmd(), getId(), getIdCount(), getIdIndex(), getIndex(), FastMap< S, T >::getIndexedEntry(), MapEntry< S, T >::getItem(), MapEntry< S, T >::getKey(), Syslog::IMPORTANT, Scheduled_, ScheduledNext_, ShowPaused(), FlexArrayBase::size(), FastMap< S, T >::size(), Logger::syslog(), and Timestamp::toString().
Referenced by CommandLine::commandSchedule(), and CommandLine::DoScheduleList().
| bool ScheduledItem::Remove |
( |
int |
index, |
|
|
Logger & |
logger, |
|
|
bool |
quiet |
|
) |
| |
|
static |
References Syslog::FAULT, getCmd(), getIndex(), FastMap< S, T >::getIndexedEntry(), MapEntry< S, T >::getItem(), MapEntry< S, T >::getKey(), Syslog::IMPORTANT, FlexArray< T >::pop(), FastMap< S, T >::popIndexed(), Scheduled_, ScheduledNext_, FlexArrayBase::size(), FastMap< S, T >::size(), Logger::syslog(), and Timestamp::toString().
Referenced by Clear(), and CommandLine::commandSchedule().
| void ScheduledItem::Resume |
( |
Logger & |
logger | ) |
|
|
static |
| void ScheduledItem::ShowPaused |
( |
Logger & |
logger | ) |
|
|
static |
| int ScheduledItem::idCount_ |
|
protected |
| int ScheduledItem::idIndex_ |
|
protected |
| int ScheduledItem::index_ |
|
protected |
| bool ScheduledItem::ready_ |
|
protected |
| int ScheduledItem::ScheduleIndex_ |
|
staticprotected |
The documentation for this class was generated from the following files: