MOOS 0.2375
Public Member Functions | Protected Attributes
CLBLInstrument Class Reference

#include <LBLInstrument.h>

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

List of all members.

Public Member Functions

bool Iterate ()
bool OnNewMail (MOOSMSG_LIST &NewMail)
bool OnConnectToServer ()
bool OnStartUp ()
bool GetData ()
bool PublishData ()
bool InitialiseSensor ()
 CLBLInstrument ()
virtual ~CLBLInstrument ()

Protected Attributes

CAVTRAKDriver m_AVTRAK
bool m_bInhibit
double m_dfLastPingTime
double m_dfPingPeriod

Detailed Description

Definition at line 43 of file LBLInstrument.h.


Constructor & Destructor Documentation

CLBLInstrument::CLBLInstrument ( )

Definition at line 46 of file LBLInstrument.cpp.

CLBLInstrument::~CLBLInstrument ( ) [virtual]

Definition at line 53 of file LBLInstrument.cpp.


Member Function Documentation

bool CLBLInstrument::GetData ( )

Definition at line 77 of file LBLInstrument.cpp.

bool CLBLInstrument::InitialiseSensor ( ) [virtual]

called from OnStartUp - overload to execute custom start up code for sensor

Reimplemented from CMOOSInstrument.

Definition at line 261 of file LBLInstrument.cpp.

bool CLBLInstrument::Iterate ( ) [virtual]

this is where it all happens..

Reimplemented from CMOOSApp.

Definition at line 64 of file LBLInstrument.cpp.

bool CLBLInstrument::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 238 of file LBLInstrument.cpp.

bool CLBLInstrument::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 199 of file LBLInstrument.cpp.

bool CLBLInstrument::OnStartUp ( ) [virtual]

CMOOSApp overide

Reimplemented from CMOOSInstrument.

Definition at line 127 of file LBLInstrument.cpp.

bool CLBLInstrument::PublishData ( )

Definition at line 121 of file LBLInstrument.cpp.


Member Data Documentation

Definition at line 60 of file LBLInstrument.h.

Definition at line 61 of file LBLInstrument.h.

Definition at line 62 of file LBLInstrument.h.

double CLBLInstrument::m_dfPingPeriod [protected]

Definition at line 63 of file LBLInstrument.h.


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