Utility objects for performing functions such as logging, non-acoustic communication (ethernet / serial), time, scientific, string manipulation, etc.
More...
|
std::ostream & | operator<< (std::ostream &out, const google::protobuf::Message &msg) |
| provides stream output operator for Google Protocol Buffers Message
|
|
void | merge_app_base_cfg (AppBaseConfig *base_cfg, const boost::program_options::variables_map &var_map) |
|
std::ostream & | operator<< (std::ostream &os, const HDF5ProtobufEntry &entry) |
|
const Wt::WColor | goby_blue (28, 159, 203) |
|
const Wt::WColor | goby_orange (227, 96, 52) |
|
std::string | liaison_internal_publish_socket_name () |
|
std::string | liaison_internal_subscribe_socket_name () |
|
std::ostream & | operator<< (FlexOstream &out, char c) |
|
std::ostream & | operator<< (FlexOstream &out, signed char c) |
|
std::ostream & | operator<< (FlexOstream &out, unsigned char c) |
|
std::ostream & | operator<< (FlexOstream &out, const char *s) |
|
std::ostream & | operator<< (FlexOstream &out, const signed char *s) |
|
std::ostream & | operator<< (FlexOstream &out, const unsigned char *s) |
|
template<typename _CharT , typename _Traits , typename _Alloc > |
std::ostream & | operator<< (FlexOstream &out, const std::basic_string< _CharT, _Traits, _Alloc > &s) |
|
double | ptime2unix_double (boost::posix_time::ptime given_time) |
| convert from boost date_time ptime to the number of seconds (including fractional) since 1/1/1970 0:00 UTC ("UNIX Time")
|
|
boost::posix_time::ptime | unix_double2ptime (double given_time) |
| convert to boost date_time ptime from the number of seconds (including fractional) since 1/1/1970 0:00 UTC ("UNIX Time"): good to the microsecond
|
|
uint64 | ptime2unix_microsec (boost::posix_time::ptime given_time) |
| convert from boost date_time ptime to the number of microseconds since 1/1/1970 0:00 UTC ("UNIX Time")
|
|
boost::posix_time::ptime | unix_microsec2ptime (uint64 given_time) |
| convert to boost date_time ptime from the number of microseconds since 1/1/1970 0:00 UTC ("UNIX Time"): good to the microsecond
|
|
boost::posix_time::ptime | nmea_time2ptime (const std::string &mt) |
|
std::string | zeromq_packet_make_header (MarshallingScheme marshalling_scheme, const std::string &identifier) |
|
void | zeromq_packet_encode (std::string *raw, MarshallingScheme marshalling_scheme, const std::string &identifier, const std::string &body) |
| Encodes a packet for Goby over ZeroMQ.
|
|
void | zeromq_packet_decode (const std::string &raw, MarshallingScheme *marshalling_scheme, std::string *identifier, std::string *body) |
| Decodes a packet for Goby over ZeroMQ.
|
|
|
boost::function0< uint64 > | goby_time_function |
|
int | goby_time_warp_factor = 1 |
|
template<typename ReturnType > |
ReturnType | goby_time () |
| Returns current UTC time as a boost::posix_time::ptime.
|
|
template<> |
uint64 | goby_time< uint64 > () |
| Returns current UTC time as integer microseconds since 1970-01-01 00:00:00.
|
|
template<> |
double | goby_time< double > () |
| Returns current UTC time as seconds and fractional seconds since 1970-01-01 00:00:00.
|
|
template<> |
boost::posix_time::ptime | goby_time< boost::posix_time::ptime > () |
|
template<> |
std::string | goby_time< std::string > () |
| Returns current UTC time as a human-readable string.
|
|
std::string | goby_time_as_string (const boost::posix_time::ptime &t=goby_time()) |
| Simple string representation of goby_time()
|
|
std::string | goby_file_timestamp () |
| ISO string representation of goby_time()
|
|
boost::posix_time::ptime | time_t2ptime (std::time_t t) |
| convert to ptime from time_t from time.h (whole seconds since UNIX)
|
|
std::time_t | ptime2time_t (boost::posix_time::ptime t) |
| convert from ptime to time_t from time.h (whole seconds since UNIX)
|
|
double | time_duration2double (boost::posix_time::time_duration time_of_day) |
| time duration to double number of seconds: good to the microsecond
|
|
Utility objects for performing functions such as logging, non-acoustic communication (ethernet / serial), time, scientific, string manipulation, etc.