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

◆ kmlFactory()

KNI::kmlFactory::kmlFactory ( )

Member Function Documentation

◆ _readEntry()

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

◆ getEFF()

TKatEFF KNI::kmlFactory::getEFF ( )

◆ getGNL()

TKatGNL KNI::kmlFactory::getGNL ( )

◆ getGripperParameters()

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

◆ getMOT()

TKatMOT KNI::kmlFactory::getMOT ( )

◆ getMotCLB()

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

◆ getMotDesc()

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

◆ getMotDYL()

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

◆ getMotInit()

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

◆ getMotSCP()

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

◆ getSCT()

TKatSCT KNI::kmlFactory::getSCT ( )

◆ getSctDesc()

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

◆ getType()

int KNI::kmlFactory::getType ( )

returns the Katana type

Returns
300 for Katana300, 400 for Katana400

◆ openFile()

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

Definition at line 83 of file kmlFactories.h.

Member Data Documentation

◆ _configfile

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: