34 out << sensorLabel << timestamp << sample_rate << AIN_8bits
35 << AIN_16bits << AIN_32bits << AIN_float << AIN_double
36 << AIN_channel_count << AIN_interleaved << AOUT_8bits << AOUT_16bits
37 << AOUT_float << AOUT_double << DIN << DOUT << CNTRIN_32bits
51 in >> sensorLabel >> timestamp >> sample_rate >> AIN_8bits >>
52 AIN_16bits >> AIN_32bits >> AIN_float >> AIN_double >>
53 AIN_channel_count >> AIN_interleaved >> AOUT_8bits >>
54 AOUT_16bits >> AOUT_float >> AOUT_double >> DIN >> DOUT >>
55 CNTRIN_32bits >> CNTRIN_double;
68 cout <<
"Sample rate : " << sample_rate <<
" Hz" << endl;
69 cout <<
"Analog IN Channel count : " << AIN_channel_count << endl;
70 cout <<
"Analog IN interleaved? : " << (AIN_interleaved ?
"yes" :
"no")
73 #define RAWDAQ_SHOW_FIRSTS(_VEC) \ 74 cout << "Raw data in " #_VEC " (" << _VEC.size() \ 75 << " entries): First values ["; \ 79 i <= std::min(_VEC.size(), static_cast<size_t>(10)); i++) \ 80 cout << _VEC[i - 1] << " "; \ Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
#define RAWDAQ_SHOW_FIRSTS(_VEC)
void readFromStream(mrpt::utils::CStream &in, int version) override
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
This namespace contains representation of robot actions and observations.
Store raw data from a Data Acquisition (DAQ) device, such that input or output analog and digital cha...
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Declares a class that represents any robot's observation.
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
virtual void getDescriptionAsText(std::ostream &o) const
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...