|
bool | arl_ingest_one (SampleOutputStream &, string) throw () |
| arl_ingest_one ingests a single file by the passed filename and writes the re-encoded data into the passed SampleOutputStream More...
|
|
void | writeLine (SampleOutputStream &, string &, n_u::UTime) |
| writeLine writes a single sample line to the passed output stream applying the needed offset UTime More...
|
|
void | prepareHeaderIds (string xmlfilename, string dsmName, string height) throw (n_u::Exception) |
| prepareHeaderIds parses the xml files pointed to by xmlfilename and using the passed dsm name and height, modifies dsmid and spsid to the proper values. More...
|
|
int ARLIngest::main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
throw | ( | |
| ) | | |
|
static |
int ARLIngest::parseRunstring |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
throw | ( | |
| ) | | |
References nidas::core::NidasAppInputFilesArg::allowFiles, nidas::core::NidasAppInputFilesArg::allowSockets, nidas::core::NidasApp::allowUnrecognized(), nidas::core::NidasAppArgv::argc, nidas::core::NidasAppArgv::argv, nidas::core::NidasApp::enableArguments(), nidas::core::NidasApp::Help, nidas::core::NidasApp::helpRequested(), nidas::core::NidasApp::InputFiles, nidas::core::NidasApp::loggingArgs(), nidas::core::NidasApp::outputFileLength(), nidas::core::NidasApp::outputFileName(), nidas::core::NidasApp::OutputFiles, nidas::core::NidasApp::parseArgs(), usage(), nidas::core::NidasApp::Version, nidas::core::NidasApp::XmlHeaderFile, and nidas::core::NidasApp::xmlHeaderFile().
Referenced by main().
void ARLIngest::prepareHeaderIds |
( |
string |
xmlfilename, |
|
|
string |
dsmName, |
|
|
string |
height |
|
) |
| |
throw | ( | n_u::Exception |
| ) | | |
|
private |
prepareHeaderIds parses the xml files pointed to by xmlfilename and using the passed dsm name and height, modifies dsmid and spsid to the proper values.
It throws exceptions on file IO errors, or when no configuration match is found. Additionally, it loads proper values into the stored header which is attached to samples when sendHeader is called
References nidas::util::Process::expandEnvVars(), nidas::core::Version::getArchiveVersion(), nidas::core::DSMSensor::getHeightString(), nidas::core::DSMConfig::getId(), nidas::core::Project::getInstance(), nidas::core::DSMConfig::getName(), nidas::core::DSMSensor::getSensorId(), nidas::core::DSMConfig::getSensorIterator(), nidas::core::Version::getSoftwareVersion(), nidas::core::DSMConfigIterator::hasNext(), nidas::core::SensorIterator::hasNext(), nidas::core::DSMConfigIterator::next(), nidas::core::SensorIterator::next(), and nidas::core::parseXMLConfigFile().
void ARLIngest::printHeader |
( |
| ) |
|
printHeader dumps out header information (for debugging)
int ARLIngest::run |
( |
| ) |
|
throw | ( | |
| ) | | |
int ARLIngest::usage |
( |
const char * |
argv0 | ) |
|
usage emits a generic usage message to std::cout
list<string> ARLIngest::inputFileNames |
|
private |
double ARLIngest::leapSeconds |
|
private |
int ARLIngest::outputFileLength |
|
private |
string ARLIngest::outputFileName |
|
private |
The documentation for this class was generated from the following file: