Public Member Functions | Private Member Functions | Private Attributes | List of all members
KNI::kmlFactory Class Reference

#include <kmlFactories.h>

Public Member Functions

TKatEFF getEFF ()
 
TKatGNL getGNL ()
 
void getGripperParameters (bool &isPresent, int &openEncoders, int &closeEncoders)
 
int getKinematics ()
 
TKatMOT getMOT ()
 
TMotCLB getMotCLB (short number)
 
TMotDescgetMotDesc (short count)
 
TMotDYL getMotDYL (short number)
 
TMotInit getMotInit (short number)
 
TMotSCP getMotSCP (short number)
 
TKatSCT getSCT ()
 
TSctDescgetSctDesc (short count)
 
int getType ()
 
 kmlFactory ()
 
bool openFile (const char *filepath)
 

Private Member Functions

void _readEntry (char *dest, int destsz, const char *section, const char *subsection, const char *entry)
 

Private Attributes

std::ifstream _configfile
 

Detailed Description

This class is for internal use only It may change at any time It shields the configuration file parsing.

Definition at line 78 of file kmlFactories.h.

Constructor & Destructor Documentation

KNI::kmlFactory::kmlFactory ( )

Definition at line 6 of file kmlFactories.cpp.

Member Function Documentation

void KNI::kmlFactory::_readEntry ( char *  dest,
int  destsz,
const char *  section,
const char *  subsection,
const char *  entry 
)
private

Definition at line 8 of file kmlFactories.cpp.

TKatEFF KNI::kmlFactory::getEFF ( )

Definition at line 125 of file kmlFactories.cpp.

TKatGNL KNI::kmlFactory::getGNL ( )

Definition at line 70 of file kmlFactories.cpp.

void KNI::kmlFactory::getGripperParameters ( bool &  isPresent,
int &  openEncoders,
int &  closeEncoders 
)

Definition at line 347 of file kmlFactories.cpp.

int KNI::kmlFactory::getKinematics ( )

returns the Kinematics to use

Returns
0 for Analytical, 1 for RobAnaGuess

Definition at line 113 of file kmlFactories.cpp.

TKatMOT KNI::kmlFactory::getMOT ( )

Definition at line 85 of file kmlFactories.cpp.

TMotCLB KNI::kmlFactory::getMotCLB ( short  number)

Definition at line 175 of file kmlFactories.cpp.

TMotDesc * KNI::kmlFactory::getMotDesc ( short  count)

Definition at line 141 of file kmlFactories.cpp.

TMotDYL KNI::kmlFactory::getMotDYL ( short  number)

Definition at line 277 of file kmlFactories.cpp.

TMotInit KNI::kmlFactory::getMotInit ( short  number)

Definition at line 321 of file kmlFactories.cpp.

TMotSCP KNI::kmlFactory::getMotSCP ( short  number)

Definition at line 217 of file kmlFactories.cpp.

TKatSCT KNI::kmlFactory::getSCT ( )

Definition at line 97 of file kmlFactories.cpp.

TSctDesc * KNI::kmlFactory::getSctDesc ( short  count)

Definition at line 155 of file kmlFactories.cpp.

int KNI::kmlFactory::getType ( )

returns the Katana type

Returns
300 for Katana300, 400 for Katana400, 450 for Katana450

Definition at line 107 of file kmlFactories.cpp.

bool KNI::kmlFactory::openFile ( const char *  filepath)
inline

Definition at line 86 of file kmlFactories.h.

Member Data Documentation

std::ifstream KNI::kmlFactory::_configfile
private

Definition at line 80 of file kmlFactories.h.


The documentation for this class was generated from the following files:


kni
Author(s): Martin Günther
autogenerated on Fri Jun 7 2019 22:06:46