Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
obsidian::comms Namespace Reference

Functions

std::string serialise (const ContactPointSpec &g)
 
void unserialise (const std::string &s, ContactPointSpec &g)
 
std::string serialise (const ContactPointParams &g)
 
void unserialise (const std::string &s, ContactPointParams &g)
 
std::string serialise (const ContactPointResults &g)
 
void unserialise (const std::string &s, ContactPointResults &g)
 
std::string serialise (const GravSpec &g)
 
void unserialise (const std::string &s, GravSpec &g)
 
std::string serialise (const GravParams &g)
 
void unserialise (const std::string &s, GravParams &g)
 
std::string serialise (const GravResults &g)
 
void unserialise (const std::string &s, GravResults &g)
 
std::string serialise (const MagSpec &m)
 
void unserialise (const std::string &s, MagSpec &m)
 
std::string serialise (const MagParams &m)
 
void unserialise (const std::string &s, MagParams &m)
 
std::string serialise (const MagResults &m)
 
void unserialise (const std::string &s, MagResults &m)
 
std::string serialise (const MtAnisoSpec &g)
 
void unserialise (const std::string &s, MtAnisoSpec &g)
 
std::string serialise (const MtAnisoParams &g)
 
void unserialise (const std::string &s, MtAnisoParams &g)
 
std::string serialise (const MtAnisoResults &g)
 
void unserialise (const std::string &s, MtAnisoResults &g)
 
std::string serialise (const Seismic1dSpec &g)
 
void unserialise (const std::string &s, Seismic1dSpec &g)
 
std::string serialise (const Seismic1dParams &g)
 
void unserialise (const std::string &s, Seismic1dParams &g)
 
std::string serialise (const Seismic1dResults &g)
 
void unserialise (const std::string &s, Seismic1dResults &g)
 
template<ForwardModel f>
stateline::comms::JobData serialiseJob (const typename Types< f >::Params &params, const std::string &globalData)
 
template<ForwardModel f>
void unserialiseJob (const stateline::comms::JobData &data, typename Types< f >::GloabalParams &g, typename Types< f >::Params &j)
 
template<ForwardModel f>
stateline::comms::ResultData serialiseResult (const typename Types< f >::Results &r)
 
template<ForwardModel f>
void unserialiseResult (const stateline::comms::ResultData &data, typename Types< f >::Results &r)
 
std::string serialise (const ThermalSpec &g)
 
void unserialise (const std::string &s, ThermalSpec &g)
 
std::string serialise (const ThermalParams &g)
 
void unserialise (const std::string &s, ThermalParams &g)
 
std::string serialise (const ThermalResults &g)
 
void unserialise (const std::string &s, ThermalResults &g)
 
std::string cmplxMatrixString (const Eigen::MatrixXcd &m)
 
std::string vectorString (const Eigen::VectorXd &m)
 
Eigen::VectorXd stringVector (const std::string &s)
 
Eigen::MatrixXcd stringCmplxMatrix (const std::string &s, uint rows)
 
template<typename T , int R, int C>
std::string matrixString (const Eigen::Matrix< T, R, C > &m)
 
template<typename T = double, int R = D, int C = D>
Eigen::Matrix< T, R, C > stringMatrix (const std::string &s, uint rows)
 
template<class ProtobufType >
std::string protobufToString (const ProtobufType &pb)
 
std::string serialise (const WorldSpec &g)
 
void unserialise (const std::string &s, WorldSpec &g)
 
std::string serialise (const WorldParams &g)
 
void unserialise (const std::string &s, WorldParams &g)
 

Variables

const int D = Eigen::Dynamic
 

Detailed Description

Namespace for all communications functionality.

Function Documentation

template<class ProtobufType >
std::string obsidian::comms::protobufToString ( const ProtobufType &  pb)
inline

Serialises an initialised Protobuf object into a string