exchange Namespace Reference


Classes

class  DXFReader
class  DXFLayerReader
class  DXFWriter
class  DXFToolpathRecordWriter
struct  GCodeRecordWriter
class  GCodeWriter
struct  RapidMove
struct  LinearMove
struct  Arc
 No arc over about 165 degrees is allowed, for purposes of stability. More...
struct  FeedRate
struct  Warning
struct  CustomRecord
struct  ToolpathRecords
struct  VoluMill2dBoundaries
struct  VoluMill2dInput

Typedefs

typedef Arc< true > ArcCW
typedef Arc< false > ArcCCW
typedef boost::variant< RapidMove,
LinearMove, ArcCW, ArcCCW,
FeedRate, Warning, CustomRecord > 
ToolpathRecord

Functions

bool getPublicKey (const std::string &hostname, int port, const std::string &uri, std::string *pKey)
void getPrivateKey (const std::string &filename, std::string *pKey)
void hashStringSHA1 (const std::string &input, std::string *pOutput)
void encryptStringRSA (const std::string &input, const std::string &publicKey, std::string *pOutput)
void decryptStringRSA (const std::string &input, const std::string &privateKey, std::string *pOutput)
void makeBlowfishKey (std::string *pKey)
void encryptStringBlowfish (const std::string &input, const std::string &key, std::string *pOutput)
void decryptStringBlowfish (const std::string &input, const std::string &key, std::string *pOutput)
void base64Encode (const std::string &input, std::string *pOutput)
void base64Decode (const std::string &input, std::string *pOutput)
void fromToolpathRecordsToXml (std::ostream &os, const ToolpathRecords &records)
void fromXmlToToolpathRecords (std::istream &is, ToolpathRecords *pRecords)
void fromToolpathRecordsToBinary (std::ostream &os, const ToolpathRecords &records)
void fromBinaryToToolpathRecords (std::istream &is, ToolpathRecords *pRecords)
void fromVoluMill2dInputToXml (std::ostream &os, const VoluMill2dInput &input)
void fromXmlToVoluMill2dInput (std::istream &is, VoluMill2dInput *pInput)
void fromVoluMill2dInputToBinary (std::ostream &os, const VoluMill2dInput &input)
void fromBinaryToVoluMill2dInput (std::istream &is, VoluMill2dInput *pInput)
int submitVoluMill2dJob (int version, const VoluMill2dInput &input, const std::string &hostname, int port, std::string *pSessionKey)
int getToolpathRecords (int jobId, const std::string &hostname, int port, const std::string &sessionKey, ToolpathRecords *pRecords, std::string *pErrorMessage)
bool getVoluMillServers (int version, const std::string &hostname, int port, const std::string &uri, std::vector< std::string > *pHostnames, std::vector< int > *pPorts)
void calculateSlotParameters (double diameter, double stepover, double depth, double feedrate, double *pSlotDepth, double *pSlotFeedrate)

Variables

const int CURVE_IGNORED = 0
const int CURVE_PART = 1
const int CURVE_MATERIAL = 2


Typedef Documentation

typedef Arc<false> exchange::ArcCCW
 

typedef Arc<true> exchange::ArcCW
 

typedef boost::variant< RapidMove, LinearMove, ArcCW, ArcCCW, FeedRate, Warning, CustomRecord> exchange::ToolpathRecord
 


Function Documentation

void exchange::base64Decode (  const std::string &  input,
std::string *  pOutput
) 
 

void exchange::base64Encode (  const std::string &  input,
std::string *  pOutput
) 
 

void exchange::calculateSlotParameters (  double  diameter,
double  stepover,
double  depth,
double  feedrate,
double *  pSlotDepth,
double *  pSlotFeedrate
) 
 

void exchange::decryptStringBlowfish (  const std::string &  input,
const std::string &  key,
std::string *  pOutput
) 
 

void exchange::decryptStringRSA (  const std::string &  input,
const std::string &  privateKey,
std::string *  pOutput
) 
 

void exchange::encryptStringBlowfish (  const std::string &  input,
const std::string &  key,
std::string *  pOutput
) 
 

void exchange::encryptStringRSA (  const std::string &  input,
const std::string &  publicKey,
std::string *  pOutput
) 
 

void exchange::fromBinaryToToolpathRecords (  std::istream &  is,
ToolpathRecords *  pRecords
) 
 

void exchange::fromBinaryToVoluMill2dInput (  std::istream &  is,
VoluMill2dInput *  pInput
) 
 

void exchange::fromToolpathRecordsToBinary (  std::ostream &  os,
const ToolpathRecords &  records
) 
 

void exchange::fromToolpathRecordsToXml (  std::ostream &  os,
const ToolpathRecords &  records
) 
 

void exchange::fromVoluMill2dInputToBinary (  std::ostream &  os,
const VoluMill2dInput &  input
) 
 

void exchange::fromVoluMill2dInputToXml (  std::ostream &  os,
const VoluMill2dInput &  input
) 
 

void exchange::fromXmlToToolpathRecords (  std::istream &  is,
ToolpathRecords *  pRecords
) 
 

void exchange::fromXmlToVoluMill2dInput (  std::istream &  is,
VoluMill2dInput *  pInput
) 
 

void exchange::getPrivateKey (  const std::string &  filename,
std::string *  pKey
) 
 

bool exchange::getPublicKey (  const std::string &  hostname,
int  port,
const std::string &  uri,
std::string *  pKey
) 
 

int exchange::getToolpathRecords (  int  jobId,
const std::string &  hostname,
int  port,
const std::string &  sessionKey,
ToolpathRecords *  pRecords,
std::string *  pErrorMessage
) 
 

bool exchange::getVoluMillServers (  int  version,
const std::string &  hostname,
int  port,
const std::string &  uri,
std::vector< std::string > *  pHostnames,
std::vector< int > *  pPorts
) 
 

void exchange::hashStringSHA1 (  const std::string &  input,
std::string *  pOutput
) 
 

void exchange::makeBlowfishKey (  std::string *  pKey  ) 
 

int exchange::submitVoluMill2dJob (  int  version,
const VoluMill2dInput &  input,
const std::string &  hostname,
int  port,
std::string *  pSessionKey
) 
 


Variable Documentation

const int exchange::CURVE_IGNORED = 0
 

const int exchange::CURVE_MATERIAL = 2
 

const int exchange::CURVE_PART = 1
 


Generated on Tue Jan 29 21:37:57 2008 for VoluMill Universal Client by  doxygen 1.4.6