MOOS 0.2375
Public Member Functions | Protected Member Functions | Protected Attributes
CINSInstrument Class Reference

#include <INSInstrument.h>

Inheritance diagram for CINSInstrument:
Inheritance graph
[legend]
Collaboration diagram for CINSInstrument:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 42 of file INSInstrument.h.


Constructor & Destructor Documentation

CINSInstrument::CINSInstrument ( )

Definition at line 55 of file INSInstrument.cpp.

CINSInstrument::~CINSInstrument ( ) [virtual]

Definition at line 61 of file INSInstrument.cpp.


Member Function Documentation

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.

Parameters:
NewMaila 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.


Member Data Documentation

Definition at line 61 of file INSInstrument.h.

int CINSInstrument::m_nTempCnt [protected]

Definition at line 56 of file INSInstrument.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines