WXP C++ Library Version 6.74.9
|
This struct holds data for a specific product to be saved by the data ingestor. More...
#include "../include/Product.h"
Public Types | |
enum | Action { DEFAULT , WRITE , APPEND , PIPE , FILE , RUN , NONE } |
Public Member Functions | |
Product () | |
int | init () |
int | print () |
Public Attributes | |
char | pattern [40] |
char | act_str [10] |
int | action |
char | file_tmpl [250] |
char | hfile_tmpl [100] |
char | command [250] |
int | raw |
int | binary |
int | selected |
int | unique |
int | pan |
int | offset |
int | pos |
File | file |
File | hfile |
This struct holds data for a specific product to be saved by the data ingestor.
enum WXP::Product::Action |
Product::Product | ( | ) |
Constructor
References init().
int Product::init | ( | ) |
int Product::print | ( | ) |
char WXP::Product::act_str[10] |
Action string from bulletin file
Referenced by init(), print(), and WXP::WmoIngest::readProdFile().
int WXP::Product::action |
Action to perform to data
Referenced by init(), print(), WXP::WmoIngest::readProdFile(), and WXP::WmoIngest::sendPAN().
int WXP::Product::binary |
Specifies whether product contains binary data
Referenced by init(), print(), and WXP::WmoIngest::readProdFile().
char WXP::Product::command[250] |
Command/file used with action
Referenced by init().
File WXP::Product::file |
Output data file
Referenced by WXP::WmoIngest::action(), WXP::WmoIngest::close(), WXP::WmoIngest::saveHeader(), WXP::WmoIngest::saveLine(), and WXP::WmoIngest::sendPAN().
char WXP::Product::file_tmpl[250] |
Template used for file action
Referenced by print(), and WXP::WmoIngest::readProdFile().
File WXP::Product::hfile |
Header file
Referenced by WXP::WmoIngest::action(), WXP::WmoIngest::close(), and WXP::WmoIngest::saveHeader().
char WXP::Product::hfile_tmpl[100] |
Template used for header file action
Referenced by WXP::WmoIngest::readProdFile().
int WXP::Product::offset |
Time offset in seconds
Referenced by init(), print(), and WXP::WmoIngest::readProdFile().
int WXP::Product::pan |
Specifies whether to send PAN message
Referenced by init(), print(), WXP::WmoIngest::readProdFile(), and WXP::WmoIngest::sendPAN().
int WXP::Product::pos |
Current position in file
Referenced by init(), print(), WXP::WmoIngest::saveHeader(), and WXP::WmoIngest::sendPAN().
int WXP::Product::raw |
Specifies whether to save raw data
Referenced by init(), print(), and WXP::WmoIngest::readProdFile().
int WXP::Product::selected |
Specifies whether selected
Referenced by init(), WXP::WmoIngest::isSelected(), and print().
int WXP::Product::unique |
Specifies single output
Referenced by init(), and WXP::WmoIngest::readProdFile().