9 #ifndef SYNCCOMPONENT_H_
10 #define SYNCCOMPONENT_H_
111 int divisor = 1,
int modulo = 0 )
130 repeater_ = repeater;
164 int divisor = 1,
int modulo = 0 )
176 int divisor = 1,
int modulo = 0 )
188 int divisor = 1,
int modulo = 0 )
199 int divisor = 1,
int modulo = 0 )
210 int divisor = 1,
int modulo = 0 )
232 int divisor = 1,
int modulo = 0 )
244 CycleOrder cycleOrder,
int divisor = 1,
int modulo = 0 )
256 int divisor = 1,
int modulo = 0 )
268 int divisor = 1,
int modulo = 0 )
280 int divisor = 1,
int modulo = 0 )
CycleOrder(int orderPreference)
Definition: SyncComponent.h:45
static const CycleOrder CYCLE_MISSION_MANAGER
Definition: SyncComponent.h:78
static const CycleOrder CYCLE_REPORTER
Definition: SyncComponent.h:83
SyncTestComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:267
Abstract Base class for components that run in the end of the computation cycle, doing logging...
Definition: SyncComponent.h:288
void setRepeating(bool repeating)
Definition: SyncComponent.h:92
bool operator==(const CycleOrder &otherPreference) const
Definition: SyncComponent.h:53
Abstract Base class for components that collect data for use later in the computation cycle...
Definition: SyncComponent.h:172
static const CycleOrder CYCLE_SENSOR
Definition: SyncComponent.h:74
static const CycleOrder CYCLE_MISSION
Definition: SyncComponent.h:79
SyncLoggerComponent(const Str &name, const Module *module)
Definition: SyncComponent.h:291
Abstract Base class for components that run in the start of the computation cycle.
Definition: SyncComponent.h:149
Abstract Base class for components that run towards the start of the computation cycle, simulating sensor inputs since the last cycle.
Definition: SyncComponent.h:160
static const int CYCLE_INCREMENT
Definition: SyncComponent.h:69
static const CycleOrder CYCLE_LOGGER
Definition: SyncComponent.h:84
Scripted software components that run in the computation cycle.
Definition: ScriptComponent.h:151
FlexArray< SyncComponent * > ListOfSyncComponents
Define a type for a "list of component pointers".
Definition: SyncComponent.h:298
void setRepeater(bool repeater)
Definition: SyncComponent.h:128
SyncComponent(const Str &name, const Module *module, CycleOrder cycleOrder, int divisor=1, int modulo=0)
Private constructor available only to Friend classes.
Definition: SyncComponent.h:110
SyncSimulatorComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:163
Contains the Component class definition.
static const CycleOrder CYCLE_SIMULATOR
Definition: SyncComponent.h:73
bool repeating_
Definition: SyncComponent.h:122
static const CycleOrder CYCLE_TEST
Definition: SyncComponent.h:82
int orderPreference_
Definition: SyncComponent.h:66
int modulo_
Definition: SyncComponent.h:125
bool repeater_
Definition: SyncComponent.h:121
SyncEstimationComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:209
bool isRepeating()
Definition: SyncComponent.h:139
SyncMissionComponent(const Str &name, const Module *module)
Definition: SyncComponent.h:220
int getDivisor() const
Definition: SyncComponent.h:97
SyncReporterComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:279
bool isRepeater()
Definition: SyncComponent.h:134
SyncControlComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:231
Abstract Base class for software components that run in the computation cycle.
Definition: SyncComponent.h:22
These are enumerated to simplify sorting and ordering.
Definition: SyncComponent.h:42
Abstract Base class for components that run towards the end of the computation cycle, evaluating how well everything performed.
Definition: SyncComponent.h:264
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
SyncSensorComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:175
Replacement for standard template class string.
Definition: Str.h:12
SyncStarterComponent(const Str &name, const Module *module)
Definition: SyncComponent.h:152
static const CycleOrder CYCLE_CONTROL
Definition: SyncComponent.h:80
Abstract Base class for components that generate navigation estimates.
Definition: SyncComponent.h:195
Abstract Base class for software components.
Definition: Component.h:53
static const CycleOrder CYCLE_SERVO
Definition: SyncComponent.h:81
static const CycleOrder CYCLE_DERIVATION
Definition: SyncComponent.h:75
static const CycleOrder CYCLE_ESTIMATION
Definition: SyncComponent.h:76
Abstract Base class for components that run after sensors, deriving other measurements.
Definition: SyncComponent.h:184
Definition: Component.h:112
SyncDerivationComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:187
Abstract Base class for components that run before the servos allowing command-line overrides of guid...
Definition: SyncComponent.h:240
Abstract Base class for components that manage mission components.
Definition: SyncComponent.h:217
Abstract Base class for components that compute settings to be communicated to SyncServoComponent ins...
Definition: SyncComponent.h:228
static const CycleOrder CYCLE_STARTER
Definition: SyncComponent.h:72
bool operator<(const CycleOrder &otherPreference) const
Definition: SyncComponent.h:61
Abstract Base class for components that run towards the end of the computation cycle, communicating with controllers.
Definition: SyncComponent.h:252
SyncServoComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:255
CycleOrder cycleOrder_
Definition: SyncComponent.h:120
int getModulo() const
Definition: SyncComponent.h:102
static const int CYCLE_REPEAT_OFFSET
Definition: SyncComponent.h:70
int divisor_
Definition: SyncComponent.h:124
SyncMaintainerComponent(const Str &name, const Module *module, CycleOrder cycleOrder, int divisor=1, int modulo=0)
Definition: SyncComponent.h:243
static const CycleOrder CYCLE_NAVIGATION
Definition: SyncComponent.h:77
Abstract Base class for components that generate other estimates.
Definition: SyncComponent.h:206
SyncNavigationComponent(const Str &name, const Module *module, int divisor=1, int modulo=0)
Definition: SyncComponent.h:198
Abstract Base class for components that run in the end of the computation cycle, doing logging...
Definition: SyncComponent.h:276
CycleOrder getCycleOrder(void)
Getter function for controlThreadOrderPreference.
Definition: SyncComponent.h:87
bool operator!=(const CycleOrder &otherPreference) const
Definition: SyncComponent.h:57