camcom 1.0.3
 
Loading...
Searching...
No Matches
tools.hpp File Reference

Header file for the CamCom Common Library Tools. More...

#include <ifaddrs.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <string>
#include <chrono>
#include <execinfo.h>
#include <unistd.h>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  camcom
 
namespace  camcom::common
 

Functions

std::chrono::time_point< std::chrono::system_clock > camcom::common::TimeNow ()
 
std::string camcom::common::IsoTimestampNow (std::chrono::system_clock::time_point time=std::chrono::system_clock::now())
 
std::string camcom::common::ProcName ()
 
std::string camcom::common::TrimString (const std::string &str)
 
std::string camcom::common::ResolveHostAddress ()
 
void camcom::common::PrintCallStack (int skip=1, int max_frames=64)
 

Detailed Description

Header file for the CamCom Common Library Tools.