|
CARMA C++
|
Manages control's reference to SignalPathMapper DO. More...
#include <carma/control/SignalPathMapperHandle.h>
Public Member Functions | |
| void | addAntenna (unsigned short antNo, unsigned short subarrayNo) |
| Methods to add/remove an antenna from a subarray. More... | |
| void | addCorrelator (ControlCorrelatorDesignation type, unsigned short subarrayNo) |
| void | assignWalshColumn (carma::signalpath::SignalPathMapperControl::WalshColumnAssignment wca) |
| Set a walsh column explicitly for an antenna. More... | |
| void | checkConfigurationSuccess (unsigned short bandNo) |
| void | checkConfigurationValidity (unsigned short bandNo, const ::std::string &confName, unsigned short subarrayNo, ControlCorrelatorDesignation type) |
| void | clearAstroBandConfiguration (unsigned short bandNo, unsigned short subarrayNo, ControlCorrelatorDesignation type) |
| Clear an astro band configuration. More... | |
| void | clearWalshColumnAssignment (unsigned short antNo) |
| Clear a walsh column assignment. More... | |
| void | configureAstroBand (unsigned short bandNo, const ::std::string &confName, unsigned short subarrayNo, ControlCorrelatorDesignation type) |
| Configure an astro band. More... | |
| carma::util::SeqShort * | getActiveAstroBandNoSeq (ControlCorrelatorDesignation type) |
| ::std::vector< short > | getActiveAstroBandNoVec (ControlCorrelatorDesignation type) |
| ::std::vector < carma::signalpath::SignalPathMapperControl::AstroBand > | getActiveAstroBands (ControlCorrelatorDesignation type) |
| Query active astro bands managed by this correlator. More... | |
| ::std::vector < carma::signalpath::SignalPathMapperControl::CorrelatorBand > | getActiveCorrelatorBands (ControlCorrelatorDesignation type) |
| Query active correlator bands managed by this correlator. More... | |
| std::vector < carma::signalpath::SignalPathMapperControl::Antenna > | getAntennas (unsigned short astroBandNo) |
| Query antennas. More... | |
| int | getAstroBandForCorrelatorBand (unsigned short corrBandNo, ControlCorrelatorDesignation type) |
| ::std::vector < carma::signalpath::SignalPathMapperControl::AstroBand > | getAstroBandsForConfiguration (const ::std::string &confName, unsigned short subarrayNo, ControlCorrelatorDesignation type) |
| Query astro bands for which a mapping is specified by the requested configuration. More... | |
| std::vector < carma::signalpath::SignalPathMapperControl::BlockDownconverterSetting > | getBdcSettings (unsigned short astroBandNo) |
| Query block downconverter settings. More... | |
| ::std::string | getConfname (unsigned short astroBandNo) |
| ::std::vector < carma::signalpath::SignalPathMapperControl::CorrelatorBandInput > | getCorrelatorBandInputMap (const carma::signalpath::SignalPathMapperControl::CorrelatorBand &band) |
| Query correlator band input mapping. More... | |
| carma::util::SeqShort * | getCorrelatorBandNoSeq (unsigned astroBandNo) |
| ::std::vector < carma::signalpath::SignalPathMapperControl::CorrelatorBand > | getCorrelatorBands (unsigned astroBandNo) |
| Query active correlator bands in this AstroBand. More... | |
| ControlCorrelatorDesignation | getCorrTypeForAstroBand (unsigned short astroBandNo) |
| Query the correlator type for a given astroband. More... | |
|
std::vector < carma::switchyard::SwitchPosition > | getDCLOSwitchSettings (unsigned short astroBandNo) |
| carma::util::CorrelatorFpgaModeType | getFpgaMode (unsigned astroBandNo) |
| std::vector < carma::switchyard::SwitchPosition > | getIFSwitchSettings (unsigned short astroBandNo) |
| Query switch settings. More... | |
|
std::vector < carma::switchyard::SwitchPosition > | getLLSwitchSettings (unsigned short astroBandNo) |
|
std::vector < carma::switchyard::SwitchPosition > | getLOSwitchSettings (unsigned short astroBandNo) |
| unsigned int | getNumActiveAstroBands (ControlCorrelatorDesignation type) |
| unsigned int | getNumActiveCorrelatorBands (ControlCorrelatorDesignation type) |
| ::std::vector < carma::signalpath::SignalPathMapperControl::WalshColumnAssignment > | getWalshColumnAssignment (unsigned short antNo) |
| Query walsh function assignments. More... | |
| void | initializeCableMap (const ::std::string &fileName) |
| Initialize a cable map, specifying switchyard hardware connections. More... | |
| bool | isValidAstroBand (unsigned astroBandNo, ControlCorrelatorDesignation type) |
| void | loadConfiguration (const ::std::string &fileName, const ::std::string &confName, const ::std::string &astroBandConfName) |
| Load a new configuration from a file. More... | |
| ::std::string | queryConfiguration () |
| void | removeAntenna (unsigned short antNo, unsigned short subarrayNo) |
| void | removeCorrelator (ControlCorrelatorDesignation type, unsigned short subarrayNo) |
| SignalPathMapperHandle (carma::monitor::MonitorSystem &monitorSystem, carma::monitor::ControlSubsystemBase::Reachable &reachable) | |
| Constructor. More... | |
Public Member Functions inherited from carma::control::RemoteObjHandleT< T > | |
| template<typename S > | |
| S::_var_type | narrowedRemoteObj () const |
| Returns remote object handle as var. More... | |
| T::_var_type | remoteObj () const |
| Returns remote object handle as var. More... | |
| RemoteObjHandleT (const ::std::string &doName, monitor::MonitorPointBool *mpReachable, const monitor::MonitorSubsystem *subsystem, monitor::MonitorSystem *system, bool defaultLogIfNotReachable, bool defaultLogSentCommands) | |
| Constructor. More... | |
| virtual | ~RemoteObjHandleT () |
| Destructor. More... | |
Public Member Functions inherited from carma::control::RemoteObjHandleBase | |
| bool | attemptToReconnectIfNeeded () |
| Try reconnect to the DO if needed. More... | |
| ::std::string | doName () const |
| get the DO name More... | |
| void | forceFullReconnect () |
| Force a full re-lookup of the DO by name. More... | |
| bool | isObjReachable () |
| If state is 'not reachable' and monitor system is current, tries to reconnect. More... | |
| bool | isObjReachable (bool logIfNotReachable) |
| RemoteObjHandleBase (const ::std::string &doName, monitor::MonitorPointBool *mpReachable, const monitor::MonitorSubsystem *subsystem, monitor::MonitorSystem *system, bool defaultLogIfNotReachable, bool defaultLogSentCommands) | |
| Constructor. More... | |
| virtual | ~RemoteObjHandleBase () |
| Destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from carma::control::RemoteObjHandleT< T > | |
| virtual bool | resolveObjRef () |
Protected Member Functions inherited from carma::control::RemoteObjHandleBase | |
| bool | getDefaultLogIfNotReachable () const |
| bool | getDefaultLogSentCommands () const |
| void | invalidateObjRef () |
| void | invalidateObjRefIfNeededForCaught () |
| void | logException (const ::std::string &callString, const ::std::string &exString) const |
| void | logSentCommand (const ::std::string &callString, const double mjd) const |
| void | logSentCommand (const ::std::string &callString, const double mjd, const ::std::string &subDoName) const |
| void | logSentCommandIfNeeded (const ::std::string &callString, const double mjd) const |
| void | logSentCommandIfNeeded (const ::std::string &callString, const double mjd, const ::std::string &subDoName) const |
| void | markObjRefValid () |
| void | processException (const ::std::string &callString, const ::CORBA::Exception &corbaException) |
| void | throwBadRemoteObjAccess () const |
| void | throwIfObjRefIsNotValid () const |
Manages control's reference to SignalPathMapper DO.
Definition at line 40 of file SignalPathMapperHandle.h.
| carma::control::SignalPathMapperHandle::SignalPathMapperHandle | ( | carma::monitor::MonitorSystem & | monitorSystem, |
| carma::monitor::ControlSubsystemBase::Reachable & | reachable | ||
| ) |
Constructor.
| carmaMonitor | carma::monitor::MonitorSystem& monitor system, which allows Alarm handle to get a reference to its own monitor stream. |
| const | carma::monitor::ControlSubsystemBase:Reachable& reachable monitor system, which allows Alarm handle to set monitor points for the subarray within control monitor subsystem . |
| void carma::control::SignalPathMapperHandle::addAntenna | ( | unsigned short | antNo, |
| unsigned short | subarrayNo | ||
| ) |
Methods to add/remove an antenna from a subarray.
| void carma::control::SignalPathMapperHandle::assignWalshColumn | ( | carma::signalpath::SignalPathMapperControl::WalshColumnAssignment | wca | ) |
Set a walsh column explicitly for an antenna.
| wca | The Walsh column assignemnt to make. This is a struct of an antenna number and Walsh table column number. |
| UserException | if walsh column assignment conflicts with current signalpath configuration |
| void carma::control::SignalPathMapperHandle::clearAstroBandConfiguration | ( | unsigned short | bandNo, |
| unsigned short | subarrayNo, | ||
| ControlCorrelatorDesignation | type | ||
| ) |
Clear an astro band configuration.
| bandNo | The Astroband number to configure |
| type | The correlator type owned by the caller |
| UserException | if the caller is not allowed to clear this astro band |
| void carma::control::SignalPathMapperHandle::clearWalshColumnAssignment | ( | unsigned short | antNo | ) |
Clear a walsh column assignment.
| antNo | The antenna number whose Walsh column we wish to clear |
| UserException | only if an invalid antenna was specified |
| void carma::control::SignalPathMapperHandle::configureAstroBand | ( | unsigned short | bandNo, |
| const ::std::string & | confName, | ||
| unsigned short | subarrayNo, | ||
| ControlCorrelatorDesignation | type | ||
| ) |
Configure an astro band.
| bandNo | The Astroband number to configure |
| confName | The name of the configuration to assign to this astro band |
| type | The correlator type owned by the caller |
| UserException | if the configuration conflicts with another configured astro band, if the configuration is not possible, or if the caller is not allowed to modify the specified astro band |
| carma::util::SeqShort* carma::control::SignalPathMapperHandle::getActiveAstroBandNoSeq | ( | ControlCorrelatorDesignation | type | ) |
| astroBandNo | The astroband number to query |
| ::std::vector<carma::signalpath::SignalPathMapperControl::AstroBand> carma::control::SignalPathMapperHandle::getActiveAstroBands | ( | ControlCorrelatorDesignation | type | ) |
Query active astro bands managed by this correlator.
| type | Correlator type to query (CORR_SPECTRAL, CORR_WIDEBAND) |
| ::std::vector<carma::signalpath::SignalPathMapperControl::CorrelatorBand> carma::control::SignalPathMapperHandle::getActiveCorrelatorBands | ( | ControlCorrelatorDesignation | type | ) |
Query active correlator bands managed by this correlator.
| type | Correlator type to query (CORR_SPECTRAL, CORR_WIDEBAND) |
| std::vector<carma::signalpath::SignalPathMapperControl::Antenna> carma::control::SignalPathMapperHandle::getAntennas | ( | unsigned short | astroBandNo | ) |
Query antennas.
| astroBandNo | Astro band number to query |
| int carma::control::SignalPathMapperHandle::getAstroBandForCorrelatorBand | ( | unsigned short | corrBandNo, |
| ControlCorrelatorDesignation | type | ||
| ) |
| corrBandNo | The correlator band number to query |
| type | The correlator type enum, e.g. CORR_SPECTRAL |
| ::std::vector<carma::signalpath::SignalPathMapperControl::AstroBand> carma::control::SignalPathMapperHandle::getAstroBandsForConfiguration | ( | const ::std::string & | confName, |
| unsigned short | subarrayNo, | ||
| ControlCorrelatorDesignation | type | ||
| ) |
Query astro bands for which a mapping is specified by the requested configuration.
| confName | The name of the configuration to assign to this astro band |
| subarrayNo | The calling subarray number |
| type | Correlator type to query (CORR_SPECTRAL, CORR_WIDEBAND) |
| std::vector<carma::signalpath::SignalPathMapperControl::BlockDownconverterSetting> carma::control::SignalPathMapperHandle::getBdcSettings | ( | unsigned short | astroBandNo | ) |
Query block downconverter settings.
| astroBandNo | Astro band number to query (0 == all) |
| ::std::string carma::control::SignalPathMapperHandle::getConfname | ( | unsigned short | astroBandNo | ) |
| astrobandNo | The Astroband number to query |
| ::std::vector<carma::signalpath::SignalPathMapperControl::CorrelatorBandInput> carma::control::SignalPathMapperHandle::getCorrelatorBandInputMap | ( | const carma::signalpath::SignalPathMapperControl::CorrelatorBand & | band | ) |
Query correlator band input mapping.
| band | Correlator band to query |
| carma::util::SeqShort* carma::control::SignalPathMapperHandle::getCorrelatorBandNoSeq | ( | unsigned | astroBandNo | ) |
| astroBandNo | The astroband number to query |
| ::std::vector<carma::signalpath::SignalPathMapperControl::CorrelatorBand> carma::control::SignalPathMapperHandle::getCorrelatorBands | ( | unsigned | astroBandNo | ) |
Query active correlator bands in this AstroBand.
| astroBandNo | The astroband number to query |
| ControlCorrelatorDesignation carma::control::SignalPathMapperHandle::getCorrTypeForAstroBand | ( | unsigned short | astroBandNo | ) |
Query the correlator type for a given astroband.
| astroBandNo | The Astroband number to configure |
| std::vector<carma::switchyard::SwitchPosition> carma::control::SignalPathMapperHandle::getIFSwitchSettings | ( | unsigned short | astroBandNo | ) |
Query switch settings.
| astroBandNo | Astro band number to query (0 == all) |
| unsigned int carma::control::SignalPathMapperHandle::getNumActiveAstroBands | ( | ControlCorrelatorDesignation | type | ) |
| type | Correlator type to query (CORR_SPECTRAL, CORR_WIDEBAND) |
| unsigned int carma::control::SignalPathMapperHandle::getNumActiveCorrelatorBands | ( | ControlCorrelatorDesignation | type | ) |
| type | Correlator type to query (CORR_SPECTRAL, CORR_WIDEBAND) |
Definition at line 308 of file SignalPathMapperHandle.h.
| ::std::vector<carma::signalpath::SignalPathMapperControl::WalshColumnAssignment> carma::control::SignalPathMapperHandle::getWalshColumnAssignment | ( | unsigned short | antNo | ) |
Query walsh function assignments.
| antNo | Antenna to query, or 0 to query all |
| void carma::control::SignalPathMapperHandle::initializeCableMap | ( | const ::std::string & | fileName | ) |
Initialize a cable map, specifying switchyard hardware connections.
| fileName | The name of the file containing the cable map |
| UserException | if the file does not contain a valid mapping |
| bool carma::control::SignalPathMapperHandle::isValidAstroBand | ( | unsigned | astroBandNo, |
| ControlCorrelatorDesignation | type | ||
| ) |
| void carma::control::SignalPathMapperHandle::loadConfiguration | ( | const ::std::string & | fileName, |
| const ::std::string & | confName, | ||
| const ::std::string & | astroBandConfName | ||
| ) |
Load a new configuration from a file.
| fileName | The name of the file containing the configuration |
| confName | The name to assign to the configuration |
| astroBandConfName | The name of the astroband configuration to associate with this switchyard configuration |
| UserException | if the file does not contain a valid configuration |
| ::std::string carma::control::SignalPathMapperHandle::queryConfiguration | ( | ) |