9 #ifndef CARMA_ANTENNA_OVRO_OVROMASTER_H
10 #define CARMA_ANTENNA_OVRO_OVROMASTER_H
13 #include "carma/antenna/common/CMReceiver.h"
28 #include "carma/antenna/ovro/canbus/SharedOpticsSeqNo.h"
32 #include "carma/util/PthreadCond.h"
33 #include "carma/util/PthreadMutex.h"
70 carma::monitor::OvroSubsystem & ovroSubsystem );
100 carma::monitor::OvroSubsystem & ovroSubsystem );
128 unsigned short antNo,
129 bool simOfflineNodes,
132 carma::monitor::OvroSubsystem & ovroSubsystem );
239 enum SisRxPolType pol );
244 carma::antenna::common::CMReceiver &
320 static void *runThreadEntry(
void *arg);
327 void initialize(
unsigned short antNo);
329 log4cpp::Category& log_;
332 pthread_t runThreadId_;
341 SharedOpticsSeqNo sharedOpticsSeqNo_;
349 RxTemperatures rxtemp_;
359 carma::antenna::common::CMReceiver rx1cm_;
369 carma::monitor::OvroSubsystem & mon_;
371 const ::std::string hostname_;
OvroMaster(unsigned short antNo, bool simOfflineNodes, carma::monitor::OvroSubsystem &ovroSubsystem)
Constructor for emulation only.
10-m Secondary Mirror CAN device class.
AntennaIF & getAntennaIF(enum AntennaIFType ifType)
Retrieve a reference to underlying AntennaIF CAN device.
CAN Device class declaration for the Bias-Tuned Gunn PLL (API 16).
CAN Device implementation for 10-m Antenna Drive Module.
GunnPll & getGunn(enum GunnType gunn)
Retrieve a reference to the specified Bias Tuned Gunn CAN device.
CAN Device class declaration for the Varactor-Tuned Gunn PLL (API 48).
YIG PLL CAN module device class.
carma::antenna::common::LOReferenceMonitor & getLOReferenceMonitor()
Retrieve a reference to the underlying LO Reference CAN device.
Optics & getOptics()
Retrieve a pointer to the underlying Optics CAN device.
10m & 6m SIS Receiver Control CAN module device class.
carma::antenna::ovro::EnvironmentalMonitor class definition.
RxTemperatures & getRxTemperatureController()
Retrieve a reference to the underlying Rx Electronics Temperature Controller device.
SisRxType
Sis Receiver types.
CAN Device implementation for 10-m Antenna Encoder Module.
10-m Antenna Encoder Module CAN Implementation (API No.
Cryo Compressor device class.
Declaration of carma::canbus::Master class.
carma::canbus::MsgBriefMap getControls() const
Get a map of controls provided by the OvroMaster Master controls correspond to global CAN Message Ids...
A simple wrapper class that makes use of ::pthread_cond_t easier in a C++ world.
EnvironmentalMonitor & getEnvironmentalMonitor()
Retrieve a pointer to the underlying EnvironmentalMonitor CAN device.
CAN Device implementation for CARMA CANbus API No.
CAN Device implementation for CARMA CANbus API No.
10-m Antenna Optics CAN device class.
CAN Device class implementation for LO Reference Monitor Module.
void softReset()
Reset ALL modules on CAN via RESET CAN msg.
Cryo Temperature device class.
CAN Device implementation for CARMA CANbus API No.
void start()
Start the CAN Master This routine does not block! It is responsible for kicking off a new thread whic...
carma::antenna::common::LOReferenceMonitor class declaration.
carma::antenna::common::Varactor & getVaractor()
Retrieve a reference to the varactor module.
CAN Device implementation for 10-m Secondary Mirror.
SecondaryMirror & getSecondary()
Retrieve a pointer to the underlying SecondaryMirror CAN device.
carma::antenna::common::SisReceiver & getSisReceiver(enum SisRxType rx, enum SisRxPolType pol)
Retrieve a reference to underlying Sis Receiver module.
carma::antenna::ovro::DriveEngine class declaration.
CAN Device implementation for Antenna IF Module.
::std::map< ::carma::canbus::msgType,::std::string > MsgBriefMap
Alias for message descriptions keyed by message id.
CAN Device implementation for YIG PLL.
void reset()
Reset ALL modules on CAN via DIO.
DriveEngine & getDriveEngine()
Get a reference to the drive engine.
Antenna IF CAN module device class.
Carma Canbus Master class.
void stop()
Stop the CAN Master This routine terminates the main run thread in the CAN Master.
Tiltmeter & getTiltmeter()
Retrieve pointer to underlying Tiltmeter CAN device.
10-m Antenna Drive Module CAN Implementation (API No.
CAN Device declaration for 10m & 6m SIS Receiver Control.
GunnPll CAN device class.
A simple wrapper class that makes use of ::pthread_mutex_t easier in a C++ world. ...
CryoTemperatures & getCryoTemperatures()
Retrieve pointer to underlying CryoTemperatures CAN device (dewar).
Ovro Antenna canbus Master class.
CAN Device implementation for 10-m Antenna Optics.
YigPll & getYigPll()
Retrieve reference to the underlying YigPll CAN device.
void setInitialization(bool state)
Set state of antenna initialization.
Responsible for storing and maintaining drive parameters, calculating drive rate updates and regularl...
Declaration of 10-m Electronics Temperature Controller class.
CAN Device class implementation for 10-m sidecab environmental monitor.
CryoCompressor & getCryoCompressor()
Retrieve pointer to underlying CryoCompressor CAN device.
carma::antenna::common::CMReceiver & getCMReceiver()
Retrieve a reference to underlying CM Receiver module.
void updateStatus()
Update the status of the Antenna CAN Master.
virtual ~OvroMaster()
Destructor.
Varactor CAN device class.