My Project
|
Public Member Functions | |
CenterManager () | |
virtual | ~CenterManager () |
Center * | changeCenter (AntNum::Id antennas, gcp::control::SourceId srcId) |
Center * | getCenter (gcp::control::SourceId *srcId, bool throwOnError=true) |
Center * | getCenter (unsigned catNumber) |
Center * | getCenter (AntNum::Id antennas, bool reportError=true) |
std::list< Center * > * | getCenterList () |
std::vector< std::pair < gcp::control::SourceId, AntNum::Id > > | getCenterAssociations (AntNum::Id antennas) |
void | updateCacheWindow (gcp::control::CacheWindow *window, double refMaxTime=0.0) |
CenterManager::CenterManager | ( | ) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
Center * CenterManager::changeCenter | ( | AntNum::Id | antennas, |
gcp::control::SourceId | srcId | ||
) |
Change the center for a set of antennas.
....................................................................... Change the center for a set of antennas.
Center * CenterManager::getCenter | ( | gcp::control::SourceId * | srcId, |
bool | throwOnError = true |
||
) |
Return the center described by a source id.
....................................................................... Return the center described by a source id.
Center * CenterManager::getCenter | ( | unsigned | catNumber | ) |
Return the center described by a catalog number
....................................................................... Return the center described by a catalog number
Center * CenterManager::getCenter | ( | AntNum::Id | antenna, |
bool | report = true |
||
) |
Return the center for a set of antennas
....................................................................... Return the center for a single antenna
std::vector< std::pair< gcp::control::SourceId, AntNum::Id > > CenterManager::getCenterAssociations | ( | AntNum::Id | antennas | ) |
Get a vector of center-antenna associations. Defaults to returning centers for all antennas.
....................................................................... Method to return a vector of associations of Centers with antennas
std::list< Center * > * CenterManager::getCenterList | ( | ) |
Get a pointer to all centers we know about.
....................................................................... Return the list of centers managed by this object
void CenterManager::updateCacheWindow | ( | gcp::control::CacheWindow * | window, |
double | refMaxTime = 0.0 |
||
) |
Update a cache window to reflect the most stringent requirements of any of the sources we are managing which need updating.
If refTime is non-zero, use the min of (tmax calculated from sources, or refMaxTime)
....................................................................... Update a cache window to reflect the most stringent requirements of any of the sources we are managing which need updating.