nidas
v1.2-1520
|
#include <GOESProject.h>
Public Member Functions | |
GOESProject (nidas::core::Project *p) throw (nidas::util::InvalidParameterException) | |
~GOESProject () | |
nidas::core::Project * | getProject () const |
int | getStationNumber (unsigned long goesId) const throw (nidas::util::InvalidParameterException) |
Get the station number, corresponding to a GOES id. More... | |
int | getXmitInterval (int stationNumber) const throw (nidas::util::InvalidParameterException) |
int | getXmitOffset (int stationNumber) const throw (nidas::util::InvalidParameterException) |
const nidas::core::SampleTag * | getGOESSampleTag (int stationNumber) const throw (nidas::util::InvalidParameterException) |
void | addSampleTag (nidas::core::SampleTag *tag) throw () |
const nidas::core::SampleTag * | getSampleTag (int stationNumber, int sampleId) const |
Get a SampleTag*, corresponding to station and sampleid. More... | |
std::list< const nidas::core::SampleTag * > | getSampleTags () const |
unsigned long | getGOESId (int stationNum) const throw (nidas::util::InvalidParameterException) |
Private Member Functions | |
GOESProject (const GOESProject &x) | |
GOESProject & | operator= (const GOESProject &x) const |
void | readGOESIds () throw (nidas::util::InvalidParameterException) |
Private Attributes | |
nidas::core::Project * | _project |
std::vector< unsigned long > | _goesIds |
std::map< unsigned long, int > | _stationNumbersById |
std::map < nidas::core::dsm_sample_id_t, const nidas::core::SampleTag * > | _sampleTagsById |
std::vector< int > | _xmitOffsets |
std::vector< int > | _xmitIntervals |
std::list < nidas::core::SampleTag * > | _sampleTags |
std::list< const nidas::core::SampleTag * > | _constSampleTags |
std::vector < nidas::core::SampleTag * > | _goesTags |
GOESProject::GOESProject | ( | nidas::core::Project * | p | ) | |
throw | ( | nidas::util::InvalidParameterException | |||
) |
References nidas::core::SampleTag::addVariable(), nidas::core::SampleTag::getId(), nidas::core::ParameterT< T >::getLength(), nidas::core::Variable::getLongName(), nidas::core::Site::getNumber(), nidas::core::SampleIOProcessor::getOutputs(), nidas::core::Site::getProcessorIterator(), nidas::core::SampleOutputBase::getRequestedSampleTags(), nidas::core::SampleTag::getSpSId(), nidas::core::Parameter::getType(), nidas::core::Variable::getUnits(), nidas::core::ParameterT< T >::getValue(), nidas::core::SampleTag::getVariable(), nidas::core::SampleTag::getVariables(), nidas::dynld::isff::GOESOutput::getXmitInterval(), nidas::core::SiteIterator::hasNext(), nidas::core::ProcessorIterator::hasNext(), nidas::core::VariableIterator::hasNext(), nidas::core::Parameter::INT_PARAM, nidas::core::SiteIterator::next(), nidas::core::ProcessorIterator::next(), nidas::core::VariableIterator::next(), nidas::core::SampleTag::setDSMId(), nidas::core::Variable::setLongName(), nidas::core::Variable::setName(), nidas::core::SampleTag::setPeriod(), nidas::core::SampleTag::setSampleId(), and nidas::core::Variable::setUnits().
GOESProject::~GOESProject | ( | ) |
|
private |
|
inline |
References _constSampleTags, and _sampleTags.
unsigned long GOESProject::getGOESId | ( | int | stationNum | ) | const |
throw | ( | nidas::util::InvalidParameterException | |||
) |
const SampleTag * GOESProject::getGOESSampleTag | ( | int | stationNumber | ) | const |
throw | ( | nidas::util::InvalidParameterException | |||
) |
Referenced by nidas::dynld::isff::PacketInputStream::readSamples().
|
inline |
References _project.
const SampleTag * GOESProject::getSampleTag | ( | int | stationNumber, |
int | sampleId | ||
) | const |
Get a SampleTag*, corresponding to station and sampleid.
References SET_DSM_ID.
Referenced by nidas::dynld::isff::PacketInputStream::findSampleTag().
|
inline |
References _constSampleTags.
Referenced by nidas::dynld::isff::PacketInputStream::getSampleTags().
int GOESProject::getStationNumber | ( | unsigned long | goesId | ) | const |
throw | ( | nidas::util::InvalidParameterException | |||
) |
Get the station number, corresponding to a GOES id.
Referenced by nidas::dynld::isff::PacketInputStream::findSampleTag(), and nidas::dynld::isff::PacketInputStream::readSamples().
int GOESProject::getXmitInterval | ( | int | stationNumber | ) | const |
throw | ( | nidas::util::InvalidParameterException | |||
) |
Referenced by nidas::dynld::isff::PacketInputStream::readSamples().
int GOESProject::getXmitOffset | ( | int | stationNumber | ) | const |
throw | ( | nidas::util::InvalidParameterException | |||
) |
Referenced by nidas::dynld::isff::PacketInputStream::readSamples().
|
private |
|
private |
|
private |
Referenced by addSampleTag(), and getSampleTags().
|
private |
|
private |
|
private |
Referenced by getProject().
|
private |
Referenced by addSampleTag().
|
private |
|
private |
|
private |
|
private |