LRAUV  revA
DropWeight.h
Go to the documentation of this file.
1 
12 #ifndef DROPWEIGHT_H
13 #define DROPWEIGHT_H
14 
16 #include "io/UartStream.h"
17 #include "logger/Logger.h"
18 
27 {
28 public:
29 
30  DropWeight( const Module* module );
31 
32  virtual ~DropWeight();
33 
34  void initialize();
35 
36  // The actual "payload" of the component
37  void run();
38 
39  void uninitialize();
40 
42  virtual ConfigURI getConfigURI( ConfigOption configOption ) const;
43 
44 private:
45  // Note that the copy constructor below is private and not given a body.
46  // Any attempt to call it will return a compiler error.
47  DropWeight( const DropWeight& old ); // disallow copy constructor
48 
51 
53 
55 };
56 #endif /*DROPWEIGHT_H*/
Contains the SyncComponent class definition.
DropWeight(const Module *module)
Definition: DropWeight.cpp:16
Abstract Base class for components that collect data for use later in the computation cycle...
Definition: SyncComponent.h:172
void initialize()
Provide a space for initialization before being run.
Definition: DropWeight.cpp:29
DataWriter * dropWeightStateWriter_
Sets the state of the drop weight - True == present, False == non present.
Definition: DropWeight.h:50
void run()
The actual "payload" of the component.
Definition: DropWeight.cpp:35
Contains the UartStream class declaration.
int dropWeightOK_
Definition: DropWeight.h:52
A DataAccessor that writes values to the Slate via its associated DataElement.
Definition: DataWriter.h:27
Definition: ElementURI.h:166
virtual ~DropWeight()
Definition: DropWeight.cpp:25
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
Provides software interface to the DVL Micro.
Definition: DropWeight.h:26
Contains the Logger class definition.
void uninitialize()
Provide a space for uninitialization.
Definition: DropWeight.cpp:74
virtual ConfigURI getConfigURI(ConfigOption configOption) const
Should return [myNamespace]::SIMULATE_HARDWARE, or [myNamespace]::POWER, etc.
Definition: DropWeight.cpp:78
Timestamp countdownTimer_
Definition: DropWeight.h:54
ConfigOption
Definition: Component.h:456
Represents absolute times.
Definition: Timestamp.h:31