MOOS 0.2375
|
#include <INSInstrument.h>
Public Member Functions | |
CINSInstrument () | |
virtual | ~CINSInstrument () |
bool | Iterate () |
bool | OnNewMail (MOOSMSG_LIST &NewMail) |
bool | OnConnectToServer () |
bool | OnStartUp () |
Protected Member Functions | |
bool | InitialiseSensor () |
bool | GetData () |
bool | PublishData () |
Protected Attributes | |
int | m_nTempCnt |
double | m_dfVehicleYToCrossBowX |
Definition at line 42 of file INSInstrument.h.
CINSInstrument::CINSInstrument | ( | ) |
Definition at line 55 of file INSInstrument.cpp.
CINSInstrument::~CINSInstrument | ( | ) | [virtual] |
Definition at line 61 of file INSInstrument.cpp.
bool CINSInstrument::GetData | ( | ) | [protected] |
Definition at line 192 of file INSInstrument.cpp.
bool CINSInstrument::InitialiseSensor | ( | ) | [protected, virtual] |
called from OnStartUp - overload to execute custom start up code for sensor
Reimplemented from CMOOSInstrument.
Definition at line 169 of file INSInstrument.cpp.
bool CINSInstrument::Iterate | ( | ) | [virtual] |
this is where it all happens..
Reimplemented from CMOOSApp.
Definition at line 69 of file INSInstrument.cpp.
bool CINSInstrument::OnConnectToServer | ( | ) | [virtual] |
Called when the class has succesully connected to the server. Overload this function and place use it to register for notification when variables of interest change
Reimplemented from CMOOSApp.
Definition at line 151 of file INSInstrument.cpp.
bool CINSInstrument::OnNewMail | ( | MOOSMSG_LIST & | NewMail | ) | [virtual] |
called when new mail has arrived. Overload this method in a derived class to process new mail. It will be called at approximately 1/CommsTick Hz. In this function you'll most likely interate over the collection of mail message received or call a m_Comms::PeekMail() to look for a specific named message.
NewMail | a list of new mail messages |
Reimplemented from CMOOSApp.
Definition at line 143 of file INSInstrument.cpp.
bool CINSInstrument::OnStartUp | ( | ) | [virtual] |
CMOOSApp overide
Reimplemented from CMOOSInstrument.
Definition at line 88 of file INSInstrument.cpp.
bool CINSInstrument::PublishData | ( | ) | [protected] |
Definition at line 81 of file INSInstrument.cpp.
double CINSInstrument::m_dfVehicleYToCrossBowX [protected] |
Definition at line 61 of file INSInstrument.h.
int CINSInstrument::m_nTempCnt [protected] |
Definition at line 56 of file INSInstrument.h.