Go to the documentation of this file.
22 void
CAction::getDescriptionAsText(std::ostream& o)
const
28 o <<
" (as time_t): " << std::fixed << std::setprecision(5)
30 o <<
" (as TTimestamp): " << timestamp << std::endl;
std::string dateTimeToString(const mrpt::system::TTimeStamp t)
Convert a timestamp into this textual form (UTC time): YEAR/MONTH/DAY,HH:MM:SS.MMM.
#define IMPLEMENTS_VIRTUAL_SERIALIZABLE(class_name, base_class, NS)
This must be inserted as implementation of some required members for virtual CSerializable classes:
This namespace contains representation of robot actions and observations.
double timestampTotime_t(const mrpt::system::TTimeStamp t) noexcept
Transform from TTimeStamp to standard "time_t" (actually a double number, it can contain fractions of...
virtual void getDescriptionAsText(std::ostream &o) const
Build a detailed, multi-line textual description of the action contents and dump it to the output str...
std::string getDescriptionAsTextValue() const
Return by value version of getDescriptionAsText(std::ostream&)
Declares a class for storing a robot action.
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 15:15:43 UTC 2020 | |