|
enum | format {
DEFAULT
, ASCII
, HEX_FMT
, SIGNED_SHORT
,
UNSIGNED_SHORT
, FLOAT
, IRIG
, INT32
,
ASCII_7
, NAKED
, ASCII
, BINARY1
,
BINARY2
} |
|
enum | format {
DEFAULT
, ASCII
, HEX_FMT
, SIGNED_SHORT
,
UNSIGNED_SHORT
, FLOAT
, IRIG
, INT32
,
ASCII_7
, NAKED
, ASCII
, BINARY1
,
BINARY2
} |
|
typedef enum DumpClient::format | format_t |
|
typedef enum DumpClient::format | format_t |
|
◆ format_t [1/2]
◆ format_t [2/2]
◆ format [1/2]
Enumerator |
---|
DEFAULT | |
ASCII | |
HEX_FMT | |
SIGNED_SHORT | |
UNSIGNED_SHORT | |
FLOAT | |
IRIG | |
INT32 | |
ASCII_7 | |
NAKED | |
ASCII | |
BINARY1 | |
BINARY2 | |
◆ format [2/2]
Enumerator |
---|
DEFAULT | |
ASCII | |
HEX_FMT | |
SIGNED_SHORT | |
UNSIGNED_SHORT | |
FLOAT | |
IRIG | |
INT32 | |
ASCII_7 | |
NAKED | |
ASCII | |
BINARY1 | |
BINARY2 | |
◆ DumpClient() [1/3]
◆ ~DumpClient() [1/2]
virtual DumpClient::~DumpClient |
( |
| ) |
|
|
inlinevirtual |
◆ DumpClient() [2/3]
◆ DumpClient() [3/3]
◆ ~DumpClient() [2/2]
virtual DumpClient::~DumpClient |
( |
| ) |
|
|
inlinevirtual |
◆ dumpNaked()
◆ finished()
bool DumpClient::finished |
( |
| ) |
const |
|
inline |
◆ flush() [1/2]
void DumpClient::flush |
( |
| ) |
|
throw | ( | ) | | | |
|
inlinevirtual |
Ask that this SampleClient send out any buffered Samples that it may be holding.
- Exceptions
-
)
Implements nidas::core::SampleClient.
◆ flush() [2/2]
void DumpClient::flush |
( |
| ) |
|
throw | ( | ) | | | |
|
inlinevirtual |
◆ getDOS()
bool DumpClient::getDOS |
( |
| ) |
const |
|
inline |
◆ getWidth()
int DumpClient::getWidth |
( |
const std::string & | name | ) |
|
|
inlineprivate |
◆ operator=()
◆ printHeader() [1/2]
void DumpClient::printHeader |
( |
| ) |
|
References _samples, csv, nidas::core::NidasApp::IdFormat::decimalWidth(), nidas::core::SampleMatcher::exclusiveMatch(), nidas::core::NidasApp::getApplicationInstance(), nidas::core::NidasApp::getIdFormat(), nidas::core::getSample(), getWidth(), ostr, setfield(), showdeltat, showlen, vnames, and widths.
◆ printHeader() [2/2]
◆ receive() [1/2]
Method called to pass a sample to this client.
This method is typically called by a SampleSource for each of its SampleClients when it has a sample ready. Returns true: success false: sample rejected. This is meant to signal a warning-type situation - like a socket not being available temporarily. True errors will be thrown as an IOException.
- Exceptions
-
)
Implements nidas::core::SampleClient.
References nidas::util::addBackslashSequences(), nidas::core::DOUBLE_ST, nidas::core::FLOAT_ST, nidas::util::UTime::format(), nidas::core::NidasApp::formatSampleId(), GET_DSM_ID, nidas::core::NidasApp::getApplicationInstance(), nidas::dynld::raf::IRIGSensor::getIRIGTime(), nidas::core::getSample(), nidas::dynld::raf::IRIGSensor::getStatusPtr(), nidas::dynld::raf::IRIGSensor::getUnixTime(), nidas::dynld::raf::IRIGSensor::shortStatusString(), and USECS_PER_SEC.
◆ receive() [2/2]
Method called to pass a sample to this client.
This method is typically called by a SampleSource for each of its SampleClients when it has a sample ready. Returns true: success false: sample rejected. This is meant to signal a warning-type situation - like a socket not being available temporarily. True errors will be thrown as an IOException.
- Exceptions
-
)
Implements nidas::core::SampleClient.
◆ setCSV()
◆ setDOS()
◆ setEndTime()
◆ setfield()
std::ostream & DumpClient::setfield |
( |
std::ostream & | out, |
|
|
const std::string & | name, |
|
|
int | width = 0 ) |
|
private |
◆ setSensors()
◆ setShowDeltaT()
void DumpClient::setShowDeltaT |
( |
bool | show | ) |
|
|
inline |
◆ setShowLen()
void DumpClient::setShowLen |
( |
bool | show | ) |
|
|
inline |
◆ setStartTime()
◆ setTimeFormat()
void DumpClient::setTimeFormat |
( |
const std::string & | fmt | ) |
|
|
inline |
◆ setWarningTime()
◆ typeToFormat()
References ASCII, nidas::core::CHAR_ST, nidas::core::DOUBLE_ST, FLOAT, nidas::core::FLOAT_ST, nidas::core::getSample(), HEX_FMT, INT32, nidas::core::INT32_ST, nidas::core::INT64_ST, nidas::core::SHORT_ST, SIGNED_SHORT, nidas::core::UCHAR_ST, nidas::core::UINT32_ST, nidas::core::UNKNOWN_ST, UNSIGNED_SHORT, and nidas::core::USHORT_ST.
◆ _asciiPrecision
int DumpClient::_asciiPrecision |
|
private |
◆ _dosOut
◆ _endTime
◆ _finished
bool DumpClient::_finished |
|
private |
◆ _format
◆ _ostr
◆ _samples
◆ _startTime
◆ csv
◆ format
◆ fromLittle
◆ ostr
◆ prev_tt
◆ showdeltat
bool DumpClient::showdeltat |
|
private |
◆ showlen
◆ timeformat
string DumpClient::timeformat |
|
private |
◆ vnames
vector<string> DumpClient::vnames |
|
private |
◆ warntime
float DumpClient::warntime |
|
private |
◆ widths
map<string, int> DumpClient::widths |
|
private |
The documentation for this class was generated from the following files: