MOOS 0.2375
Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
CMOOSRemote Class Reference

#include <MOOSRemote.h>

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

List of all members.

Classes

class  CCustomKey
class  CJournal
class  CNavVar

Public Types

typedef std::map< char,CCustomKeyCUSTOMKEY_MAP
typedef std::map< std::string,CJournalCUSTOMJOURNAL_MAP
typedef std::map< std::string,CNavVarNAVVAR_MAP

Public Member Functions

bool MakeHeading ()
bool DoNavSummary (CMOOSMsg &Msg)
bool WDLoop ()
bool MailLoop ()
 CMOOSRemote ()
virtual ~CMOOSRemote ()
bool Run (const char *sName, const char *sMissionFile)

Public Attributes

double m_dfCurrentElevator
double m_dfCurrentRudder
double m_dfCurrentThrust
double m_dfTimeLastSent
bool m_bManualOveride
bool m_bRunMailLoop

Protected Member Functions

bool PrintCustomSummary ()
bool MakeCustomSummary ()
bool MakeCustomKeys ()
bool MakeCustomJournals ()
bool HandleSAS ()
bool ReStartAll ()
bool MakeWayPoint ()
bool HandleThirdPartyTask ()
bool HandleScheduler ()
bool PrintNavSummary ()
bool EnableMailLoop (bool bEnable)
bool HandleTopDownCal ()
bool DoCustomKey (char cCmd)
bool DoCustomJournal (char cCmd)
bool HitInputWD ()
bool DoWiggle ()
bool SetManualOveride (bool bOveride)
virtual bool OnConnectToServer ()
bool OnStartUp ()
bool StopThreads ()
bool StartThreads ()
bool FetchDB ()
bool SendDesired ()
void PrintHelp ()

Protected Attributes

bool m_bQuit
double m_dfTimeLastAck
STRING_LIST m_CustomSummaryList
unsigned long m_nWDThreadID
unsigned long m_nMailThreadID
CMOOSLock m_Lock
CUSTOMKEY_MAP m_CustomKeys
CUSTOMJOURNAL_MAP m_CustomJournals
NAVVAR_MAP m_NavVars

Detailed Description

Definition at line 41 of file MOOSRemote.h.


Member Typedef Documentation

typedef std::map< std::string ,CJournal> CMOOSRemote::CUSTOMJOURNAL_MAP

Definition at line 82 of file MOOSRemote.h.

typedef std::map< char ,CCustomKey> CMOOSRemote::CUSTOMKEY_MAP

Definition at line 56 of file MOOSRemote.h.

typedef std::map< std::string ,CNavVar> CMOOSRemote::NAVVAR_MAP

Definition at line 104 of file MOOSRemote.h.


Constructor & Destructor Documentation

CMOOSRemote::CMOOSRemote ( )

Definition at line 112 of file MOOSRemote.cpp.

CMOOSRemote::~CMOOSRemote ( ) [virtual]

Definition at line 126 of file MOOSRemote.cpp.


Member Function Documentation

bool CMOOSRemote::DoCustomJournal ( char  cCmd) [protected]

Definition at line 1051 of file MOOSRemote.cpp.

bool CMOOSRemote::DoCustomKey ( char  cCmd) [protected]

Definition at line 1067 of file MOOSRemote.cpp.

bool CMOOSRemote::DoNavSummary ( CMOOSMsg Msg)

Definition at line 1171 of file MOOSRemote.cpp.

bool CMOOSRemote::DoWiggle ( ) [protected]

Definition at line 990 of file MOOSRemote.cpp.

bool CMOOSRemote::EnableMailLoop ( bool  bEnable) [protected]

Definition at line 1165 of file MOOSRemote.cpp.

bool CMOOSRemote::FetchDB ( ) [protected]

Definition at line 765 of file MOOSRemote.cpp.

bool CMOOSRemote::HandleSAS ( ) [protected]

Definition at line 1463 of file MOOSRemote.cpp.

bool CMOOSRemote::HandleScheduler ( ) [protected]

Definition at line 1264 of file MOOSRemote.cpp.

bool CMOOSRemote::HandleThirdPartyTask ( ) [protected]

Definition at line 1292 of file MOOSRemote.cpp.

bool CMOOSRemote::HandleTopDownCal ( ) [protected]

Definition at line 1113 of file MOOSRemote.cpp.

bool CMOOSRemote::HitInputWD ( ) [protected]

Definition at line 1045 of file MOOSRemote.cpp.

bool CMOOSRemote::MailLoop ( )

Definition at line 646 of file MOOSRemote.cpp.

bool CMOOSRemote::MakeCustomJournals ( ) [protected]

Definition at line 1499 of file MOOSRemote.cpp.

bool CMOOSRemote::MakeCustomKeys ( ) [protected]

Definition at line 882 of file MOOSRemote.cpp.

bool CMOOSRemote::MakeCustomSummary ( ) [protected]

Definition at line 1570 of file MOOSRemote.cpp.

bool CMOOSRemote::MakeHeading ( )

Definition at line 1371 of file MOOSRemote.cpp.

bool CMOOSRemote::MakeWayPoint ( ) [protected]

Definition at line 1314 of file MOOSRemote.cpp.

bool CMOOSRemote::OnConnectToServer ( ) [protected, 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 936 of file MOOSRemote.cpp.

bool CMOOSRemote::OnStartUp ( ) [protected, virtual]

called just before the main app loop is entered. Specific initialisation code can be written in an overloaded version of this function

over load this if you want to do something fancy at statup...

Reimplemented from CMOOSApp.

Definition at line 850 of file MOOSRemote.cpp.

bool CMOOSRemote::PrintCustomSummary ( ) [protected]

Definition at line 1600 of file MOOSRemote.cpp.

void CMOOSRemote::PrintHelp ( ) [protected]

Definition at line 574 of file MOOSRemote.cpp.

bool CMOOSRemote::PrintNavSummary ( ) [protected]

Definition at line 1201 of file MOOSRemote.cpp.

bool CMOOSRemote::ReStartAll ( ) [protected]

Definition at line 1422 of file MOOSRemote.cpp.

bool CMOOSRemote::Run ( const char *  sName,
const char *  sMissionFile 
)

Reimplemented from CMOOSApp.

Definition at line 197 of file MOOSRemote.cpp.

bool CMOOSRemote::SendDesired ( ) [protected]

Definition at line 746 of file MOOSRemote.cpp.

bool CMOOSRemote::SetManualOveride ( bool  bOveride) [protected]

Definition at line 949 of file MOOSRemote.cpp.

bool CMOOSRemote::StartThreads ( ) [protected]

Definition at line 145 of file MOOSRemote.cpp.

bool CMOOSRemote::StopThreads ( ) [protected]

Definition at line 130 of file MOOSRemote.cpp.

bool CMOOSRemote::WDLoop ( )

Definition at line 709 of file MOOSRemote.cpp.


Member Data Documentation

Definition at line 118 of file MOOSRemote.h.

Definition at line 149 of file MOOSRemote.h.

Definition at line 120 of file MOOSRemote.h.

Definition at line 175 of file MOOSRemote.h.

Definition at line 172 of file MOOSRemote.h.

Definition at line 152 of file MOOSRemote.h.

Definition at line 114 of file MOOSRemote.h.

Definition at line 115 of file MOOSRemote.h.

Definition at line 116 of file MOOSRemote.h.

double CMOOSRemote::m_dfTimeLastAck [protected]

Definition at line 150 of file MOOSRemote.h.

Definition at line 117 of file MOOSRemote.h.

Definition at line 168 of file MOOSRemote.h.

Definition at line 178 of file MOOSRemote.h.

unsigned long CMOOSRemote::m_nMailThreadID [protected]

Win32 handle to text print thread ID of Mail reading thread

Definition at line 166 of file MOOSRemote.h.

unsigned long CMOOSRemote::m_nWDThreadID [protected]

Win32 handle to IO thread ID of IO thread

Definition at line 159 of file MOOSRemote.h.


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