MOOS 0.2375
|
#include <RelayBoard.h>
Definition at line 86 of file RelayBoard.h.
CRelayBoard::CRelayBoard | ( | ) |
Definition at line 44 of file RelayBoard.cpp.
CRelayBoard::~CRelayBoard | ( | ) | [virtual] |
Definition at line 79 of file RelayBoard.cpp.
int CRelayBoard::CheckAllRelayStates | ( | ) | [protected] |
Definition at line 546 of file RelayBoard.cpp.
int CRelayBoard::CheckInputState | ( | short | val | ) | [protected] |
Allows querying of an individual input
Definition at line 306 of file RelayBoard.cpp.
int CRelayBoard::CheckRelayState | ( | short | val | ) | [protected] |
Definition at line 264 of file RelayBoard.cpp.
bool CRelayBoard::GetData | ( | ) | [protected] |
Definition at line 200 of file RelayBoard.cpp.
bool CRelayBoard::InitialiseSensor | ( | ) | [protected, virtual] |
called from OnStartUp - overload to execute custom start up code for sensor
Reimplemented from CMOOSInstrument.
Definition at line 193 of file RelayBoard.cpp.
bool CRelayBoard::IsPowered | ( | std::string | sRelay | ) |
Definition at line 489 of file RelayBoard.cpp.
bool CRelayBoard::Iterate | ( | ) | [protected, virtual] |
this is where it all happens..
Reimplemented from CMOOSApp.
Definition at line 89 of file RelayBoard.cpp.
bool CRelayBoard::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 181 of file RelayBoard.cpp.
bool CRelayBoard::OnNewMail | ( | MOOSMSG_LIST & | NewMail | ) | [protected, 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 142 of file RelayBoard.cpp.
bool CRelayBoard::OnStartUp | ( | ) | [protected, virtual] |
bool CRelayBoard::PublishData | ( | ) | [protected] |
Definition at line 174 of file RelayBoard.cpp.
bool CRelayBoard::Record | ( | ) |
Starts the video system recording
Definition at line 347 of file RelayBoard.cpp.
bool CRelayBoard::SetRelayHi | ( | short | val | ) | [protected] |
Definition at line 226 of file RelayBoard.cpp.
bool CRelayBoard::SetRelayLo | ( | short | val | ) | [protected] |
Definition at line 510 of file RelayBoard.cpp.
bool CRelayBoard::ShowRelayBoardStatus | ( | ) | [protected] |
Definition at line 572 of file RelayBoard.cpp.
bool CRelayBoard::Stop | ( | ) |
Definition at line 383 of file RelayBoard.cpp.
bool CRelayBoard::ToggleRelaySwitch | ( | std::string | sRelay, |
std::string | sDesiredState | ||
) | [protected] |
Main access point for toggling a switch on the relay board
Definition at line 451 of file RelayBoard.cpp.
Definition at line 418 of file RelayBoard.cpp.
Definition at line 94 of file RelayBoard.h.
Definition at line 93 of file RelayBoard.h.
Definition at line 92 of file RelayBoard.h.
std::string CRelayBoard::m_sBOARD_POWER |
Definition at line 103 of file RelayBoard.h.
std::string CRelayBoard::m_sCAMERA_POWER |
Definition at line 102 of file RelayBoard.h.
std::string CRelayBoard::m_sDARK |
Definition at line 107 of file RelayBoard.h.
std::string CRelayBoard::m_sLIGHT |
Definition at line 106 of file RelayBoard.h.
std::string CRelayBoard::m_sLIGHT_POWER |
Definition at line 105 of file RelayBoard.h.
std::string CRelayBoard::m_sOFF |
Definition at line 101 of file RelayBoard.h.
std::string CRelayBoard::m_sON |
Definition at line 100 of file RelayBoard.h.
std::string CRelayBoard::m_sRECORD |
Definition at line 97 of file RelayBoard.h.
std::string CRelayBoard::m_sRECORDING |
Definition at line 96 of file RelayBoard.h.
std::string CRelayBoard::m_sSTOP |
Definition at line 99 of file RelayBoard.h.
std::string CRelayBoard::m_sSTOPPED |
Definition at line 98 of file RelayBoard.h.
std::string CRelayBoard::m_sVCR_POWER |
Definition at line 104 of file RelayBoard.h.