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

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

#include <kmlFactories.h>

Collaboration diagram for KNI::kmlFactory:
Collaboration graph

Public Member Functions

 kmlFactory ()
 
bool openFile (const char *filepath)
 
TKatGNL getGNL ()
 
TKatMOT getMOT ()
 
TKatSCT getSCT ()
 
TKatEFF getEFF ()
 
TMotDesc * getMotDesc (short count)
 
TSctDesc * getSctDesc (short count)
 
TMotCLB getMotCLB (short number)
 
TMotSCP getMotSCP (short number)
 
TMotDYL getMotDYL (short number)
 
int getType ()
 returns the Katana type More...
 
TMotInit getMotInit (short number)
 
void getGripperParameters (bool &isPresent, int &openEncoders, int &closeEncoders)
 

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 75 of file kmlFactories.h.

Constructor & Destructor Documentation

KNI::kmlFactory::kmlFactory ( )

Member Function Documentation

void KNI::kmlFactory::_readEntry ( char *  dest,
int  destsz,
const char *  section,
const char *  subsection,
const char *  entry 
)
private
TKatEFF KNI::kmlFactory::getEFF ( )
TKatGNL KNI::kmlFactory::getGNL ( )
void KNI::kmlFactory::getGripperParameters ( bool &  isPresent,
int &  openEncoders,
int &  closeEncoders 
)
TKatMOT KNI::kmlFactory::getMOT ( )
TMotCLB KNI::kmlFactory::getMotCLB ( short  number)
TMotDesc* KNI::kmlFactory::getMotDesc ( short  count)
TMotDYL KNI::kmlFactory::getMotDYL ( short  number)
TMotInit KNI::kmlFactory::getMotInit ( short  number)
TMotSCP KNI::kmlFactory::getMotSCP ( short  number)
TKatSCT KNI::kmlFactory::getSCT ( )
TSctDesc* KNI::kmlFactory::getSctDesc ( short  count)
int KNI::kmlFactory::getType ( )

returns the Katana type

Returns
300 for Katana300, 400 for Katana400
bool KNI::kmlFactory::openFile ( const char *  filepath)
inline

Definition at line 83 of file kmlFactories.h.

Member Data Documentation

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

Definition at line 77 of file kmlFactories.h.


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