LRAUV  revA
TriggerModule Class Reference

The TriggerModule provides Behavior instances that can be used in a mission script to direct the vehicle. More...

#include <TriggerModule.h>

Inheritance diagram for TriggerModule:
Collaboration diagram for TriggerModule:

Public Member Functions

 TriggerModule ()
 Constructor. More...
 
virtual ~TriggerModule ()
 Destructor. More...
 
void loadComponents (Logger &logger)
 loads the collection of components belonging to this module More...
 
- Public Member Functions inherited from Module
virtual ~Module ()
 destructor More...
 
virtual FlexArray< Component * > * getComponents ()
 returns a vector of components in the module More...
 
virtual const StrgetName () const
 returns the name of the module More...
 
virtual const StrgetDescription ()
 returns a description of the module More...
 
void registerComponent (Component *comp)
 
void registerBehaviorCreator (const Str &creatorName, BehaviorCreator behaviorCreator)
 
void unregisterComponent (Component *comp)
 

Additional Inherited Members

- Protected Member Functions inherited from Module
 Module (Str name, Str description)
 Protected constructor for abstract base class. More...
 
bool loadAtStartup (const ConfigURI &loadCfg, Logger &logger, bool forceIfMissing=false)
 
- Protected Attributes inherited from Module
Str name_
 
Str description_
 
FlexArray< Component * > components_
 

Detailed Description

The TriggerModule provides Behavior instances that can be used in a mission script to direct the vehicle.

These could be considered Behaviors or Commands.

Constructor & Destructor Documentation

TriggerModule::TriggerModule ( )

Constructor.

TriggerModule::~TriggerModule ( )
virtual

Destructor.

Member Function Documentation

void TriggerModule::loadComponents ( Logger logger)
virtual

loads the collection of components belonging to this module

Implements Module.

References PeakDetectHorizontal::CreateBehavior(), PeakDetectVsDepth::CreateBehavior(), ValueDetect::CreateBehavior(), and Module::registerBehaviorCreator().


The documentation for this class was generated from the following files: