Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CProtocolDevice Class Referenceabstract

#include <ProtocolDevice.h>

Inheritance diagram for CProtocolDevice:
Inheritance graph
[legend]

Public Member Functions

 CProtocolDevice ()
 default constructor More...
 
 CProtocolDevice (const CProtocolDevice &rclProtocolDevice)
 copy constructor More...
 
int getCanOpenRawAbsEnc (int iModuleId, short *piValue)
 
int getDataDLR_FTS (std::vector< float > &rafData, long *piState)
 
int getDataMP55_IO (int iModuleId, float *pfData)
 
int getDataMP55_IO_fast (int iModuleId, float *pfData)
 
int getDataSCHUNK_FTC (int iModuleId, int iChannelTypeId, std::vector< float > &rafData, short *piState)
 
int initDLR_FTS ()
 
CProtocolDeviceoperator= (const CProtocolDevice &rclProtocolDevice)
 
int setInitMP55_IO_fast (int iModuleId)
 
int setNullSCHUNK_FTC (int iModuleId, short *piState)
 
int setTaraMP55_IO (int iModuleId, float fTara)
 
virtual ~CProtocolDevice ()
 destructor More...
 
- Public Member Functions inherited from CDevice
 CDevice (void)
 default constructor More...
 
 CDevice (const CDevice &rclDevice)
 copy constructor More...
 
int doInternal (int iModuleId, void *pBytes)
 
virtual int exit ()=0
 
int getA0 (int iModuleId, short *piValue)
 
int getBaudRate (void)
 gets the baud rate of the device More...
 
int getC0 (int iModuleId, short *piValue)
 
int getConfig (int iModuleId, unsigned long *puiValue)
 
int getCur (int iModuleId, float *pfCur)
 
int getCurInc (int iModuleId, short *piValue)
 
int getCurrentLimit (int iModuleId, float *pfValue)
 
int getDamp (int iModuleId, short *piValue)
 
int getDefA0 (int iModuleId, short *piValue)
 
int getDefBaudRate (int iModuleId, unsigned char *pucValue)
 
int getDefBrakeTimeOut (int iModuleId, unsigned short *puiValue)
 
int getDefBurnCount (int iModuleId, unsigned char *pucValue)
 
int getDefC0 (int iModuleId, short *piValue)
 
int getDefCANBaudRate (int iModuleId, unsigned char *pucValue)
 
int getDefConfig (int iModuleId, unsigned long *puiValue)
 
int getDefCurOffset (int iModuleId, float *pfValue)
 
int getDefCurRatio (int iModuleId, float *pfValue)
 
int getDefDamp (int iModuleId, short *piValue)
 
int getDefDioData (int iModuleId, unsigned long *puiValue)
 
int getDefGearRatio (int iModuleId, float *pfValue)
 
int getDefHomeOffset (int iModuleId, float *pfValue)
 
int getDefHomeVel (int iModuleId, float *pfValue)
 
int getDefIncPerTurn (int iModuleId, unsigned long *puiValue)
 
int getDefLinearRatio (int iModuleId, float *pfValue)
 
int getDefMaxAcc (int iModuleId, float *pfValue)
 
int getDefMaxCur (int iModuleId, float *pfValue)
 
int getDefMaxDeltaPos (int iModuleId, float *pfValue)
 
int getDefMaxPos (int iModuleId, float *pfValue)
 
int getDefMaxVel (int iModuleId, float *pfValue)
 
int getDefMinPos (int iModuleId, float *pfValue)
 
int getDefRSBaudRate (int iModuleId, unsigned char *pucValue)
 
int getDefSetup (int iModuleId, unsigned long *puiValue)
 
int getDeltaPos (int iModuleId, float *pfValue)
 
int getDeltaPosInc (int iModuleId, long *piValue)
 
int getDioData (int iModuleId, unsigned long *puiValue)
 
int getHMaxCurOvershootTime (int iModuleId, long *piValue)
 
int getHomeOffset (int iModuleId, float *pValue)
 
int getHomeOffsetInc (int iModuleId, long *piValue)
 
int getHomeVel (int iModuleId, float *pfValue)
 
int getHomeVelInc (int iModuleId, long *piValue)
 
int getIncRatio (int iModuleId, float *pValue)
 
bool getInitFlag ()
 gets the init flag More...
 
const char * getInitString ()
 gets the init string of the device More...
 
int getIPolVel (int iModuleId, float *pValue)
 
int getKpPWMLimit (int iModuleId, long *piValue)
 
int getLoadDeltaTime (int iModuleId, unsigned short *piValue)
 
int getLoadLimit (int iModuleId, long *piValue)
 
int getLogicOvershootTime (int iModuleId, long *piValue)
 
int getLogicSupply (int iModuleId, float *pfValue)
 
int getLogicUndershootTime (int iModuleId, long *piValue)
 
int getMaxAcc (int iModuleId, float *pfValue)
 
int getMaxAccInc (int iModuleId, long *piValue)
 
int getMaxCur (int iModuleId, float *pfValue)
 
int getMaxDeltaPos (int iModuleId, float *pfValue)
 
int getMaxDeltaPosInc (int iModuleId, long *piValue)
 
int getMaximumMotorCurrent (int iModuleId, float *pfValue)
 
int getMaxLoadGradient (int iModuleId, long *piValue)
 
int getMaxLogicVoltage (int iModuleId, float *pfValue)
 
int getMaxMotorVoltage (int iModuleId, float *pfValue)
 
int getMaxPos (int iModuleId, float *pfValue)
 
int getMaxPosInc (int iModuleId, long *piValue)
 
int getMaxPWMOutput (int iModuleId, long *piValue)
 
int getMaxVel (int iModuleId, float *pfValue)
 
int getMaxVelInc (int iModuleId, long *piValue)
 
int getMinLogicVoltage (int iModuleId, float *pfValue)
 
int getMinMotorVoltage (int iModuleId, float *pfValue)
 
int getMinPos (int iModuleId, float *pfValue)
 
int getMinPosInc (int iModuleId, long *piValue)
 
int getModuleCount (void)
 gets the number of modules of the device More...
 
int getModuleIdMap (std::vector< int > &raiModuleId)
 gets the module ID map of the open device More...
 
int getModuleSerialNo (int iModuleId, unsigned long *puiValue)
 
int getModuleState (int iModuleId, unsigned long *puiState)
 
int getModuleType (int iModuleId, unsigned char *pucValue)
 
int getModuleVersion (int iModuleId, unsigned short *puiValue)
 
int getMotorCurrent (int iModuleId, float *pfValue)
 
int getMotorOvershootTime (int iModuleId, long *piValue)
 
int getMotorSupply (int iModuleId, float *pfValue)
 
int getMotorUndershootTime (int iModuleId, long *piValue)
 
const char * getName ()
 gets the name string of the open device More...
 
int getNomCurOvershootTime (int iModuleId, long *piValue)
 
int getNominalMotorCurrent (int iModuleId, float *pfValue)
 
int getPos (int iModuleId, float *pfPos)
 
int getPosCountInc (int iModuleId, long *piValue)
 
int getPosInc (int iModuleId, long *piValue)
 
int getRawLogicSupply (int iModuleId, short *piValue)
 
int getRawMotorCurrent (int iModuleId, short *piValue)
 
int getRawMotorSupply (int iModuleId, short *piValue)
 
int getRawTemperature (int iModuleId, short *piValue)
 
const char * getRevision ()
 gets the revision string of the class More...
 
int getSavePos (int iModuleId, float *pfValue)
 
int getStateDioPos (int iModuleId, unsigned long *puiState, unsigned char *pucDio, float *pfPos)
 
int getStateInternal (int iModuleId, unsigned long *pBytes)
 
int getSyncTime (int iModuleId, short *piValue)
 
int getTemperature (int iModuleId, float *pfValue)
 
int getVel (int iModuleId, float *pfVel)
 
int getVelInc (int iModuleId, long *piValue)
 
int haltAll (void)
 
int haltModule (int iModuleId)
 
int homeAll (void)
 
int homeModule (int iModuleId)
 
virtual int init ()=0
 
virtual int init (const char *acInitString)=0
 
int moveCur (int iModuleId, float fCur)
 
int moveCurExtended (int iModuleId, float fCur, unsigned long *puiState, unsigned char *pucDio, float *pfPos)
 
int moveCurInc (int iModuleId, long iCur)
 
int movePos (int iModuleId, float fPos)
 
int movePosExtended (int iModuleId, float fPos, unsigned long *puiState, unsigned char *pucDio, float *pfPos)
 
int movePosInc (int iModuleId, long iPos)
 
int moveRamp (int iModuleId, float fPos, float fVel, float fAcc)
 
int moveRampExtended (int iModuleId, float fPos, float fVel, float fAcc, unsigned long *puiState, unsigned char *pucDio, float *pfPos)
 
int moveRampInc (int iModuleId, long iPos, long iVel, long iAcc)
 
int moveStep (int iModuleId, float fPos, unsigned short uiTime)
 
int moveStepExtended (int iModuleId, float fPos, unsigned short uiTime, unsigned long *puiState, unsigned char *pucDio, float *pfPos)
 
int moveStepInc (int iModuleId, long iPos, unsigned short uiTime)
 
int moveVel (int iModuleId, float fVel)
 
int moveVelExtended (int iModuleId, float fCur, unsigned long *puiState, unsigned char *pucDio, float *pfPos)
 
int moveVelInc (int iModuleId, long iVel)
 
CDeviceoperator= (const CDevice &rclDevice)
 
int recalcPIDParams (int iModuleId)
 
int resetAll (void)
 
int resetModule (int iModuleId)
 
int saveParameters (int iModuleId)
 
int savePosAll (void)
 
int serveWatchdogAll (void)
 
int setA0 (int iModuleId, short iValue)
 
int setBaudRateAll (unsigned char ucBaudRateId)
 
int setC0 (int iModuleId, short iValue)
 
int setConfig (int iModuleId, unsigned long puiValue)
 
int setCurrentLimit (int iModuleId, float fValue)
 
int setDamp (int iModuleId, short iValue)
 
int setDefAddress (int iModuleId, unsigned char uiValue)
 
int setDefBrakeTimeOut (int iModuleId, unsigned short uiValue)
 
int setDefCANBaudRate (int iModuleId, unsigned char uiValue)
 
int setDefCurRatio (int iModuleId, float fValue)
 
int setDefGearRatio (int iModuleId, float fValue)
 
int setDefHomeAcc (int iModuleId, float fValue)
 
int setDefIncPerTurn (int iModuleId, unsigned long uiValue)
 
int setDefLinRatio (int iModuleId, float fValue)
 
int setDefRSBaudRate (int iModuleId, unsigned char uiValue)
 
int setDefSetup (int iModuleId, unsigned long uiValue)
 
int setDioData (int iModuleId, unsigned long uiValue)
 
int setHMaxCurOvershootTime (int iModuleId, long iValue)
 
int setHomeOffset (int iModuleId, float fValue)
 
int setHomeOffsetInc (int iModuleId, long iValue)
 
int setHomeVel (int iModuleId, float fValue)
 
int setHomeVelInc (int iModuleId, long iValue)
 
void setInitString (const char *acInitString)
 
int setKpPWMLimit (int iModuleId, long iValue)
 
int setLoadDeltaTime (int iModuleId, unsigned short iValue)
 
int setLoadLimit (int iModuleId, long iValue)
 
int setLogicOvershootTime (int iModuleId, long iValue)
 
int setLogicUndershootTime (int iModuleId, long iValue)
 
int setMaxAcc (int iModuleId, float fValue)
 
int setMaxAccInc (int iModuleId, long iValue)
 
int setMaxCur (int iModuleId, float fValue)
 
int setMaxDeltaPos (int iModuleId, float fValue)
 
int setMaxDeltaPosInc (int iModuleId, long iValue)
 
int setMaximumMotorCurrent (int iModuleId, float fValue)
 
int setMaxLoadGradient (int iModuleId, long iValue)
 
int setMaxLogicVoltage (int iModuleId, float fValue)
 
int setMaxMotorVoltage (int iModuleId, float fValue)
 
int setMaxPos (int iModuleId, float fValue)
 
int setMaxPosInc (int iModuleId, long iValue)
 
int setMaxVel (int iModuleId, float fValue)
 
int setMaxVelInc (int iModuleId, long iValue)
 
int setMinLogicVoltage (int iModuleId, float fValue)
 
int setMinMotorVoltage (int iModuleId, float fValue)
 
int setMinPos (int iModuleId, float fValue)
 
int setMinPosInc (int iModuleId, long iValue)
 
int setModuleSerialNo (int iModuleId, unsigned long uiValue)
 
int setMotorOvershootTime (int iModuleId, long iValue)
 
int setMotorUndershootTime (int iModuleId, long iValue)
 
void setName (const char *acNameString)
 sets the baud rate of the device More...
 
int setNomCurOvershootTime (int iModuleId, long iValue)
 
int setNominalMotorCurrent (int iModuleId, float fValue)
 
int setRampAcc (int iModuleId, float fValue)
 
int setRampAccInc (int iModuleId, long iValue)
 
int setRampVel (int iModuleId, float fValue)
 
int setRampVelInc (int iModuleId, long iValue)
 
int setSyncTime (int iModuleId, short iValue)
 
int startMotionAll (void)
 
int updateModuleIdMap ()
 
int waitForHomeEnd (int iModuleId, unsigned long uiTimeOut=60000)
 
int waitForHomeEndAll (unsigned long uiTimeOut=60000)
 
int waitForMotionEnd (int iModuleId, unsigned long uiTimeOut=60000)
 
int waitForMotionEndAll (unsigned long uiTimeOut=60000)
 
int waitForRampDec (int iModuleId, unsigned long uiTimeOut=60000)
 
int waitForRampEnd (int iModuleId, unsigned long uiTimeOut=60000)
 
int waitForRampEndAll (unsigned long uiTimeOut=60000)
 
int waitForRampSteady (int iModuleId, unsigned long uiTimeOut=60000)
 
virtual int waitForStartMotionAll ()
 
int xack8Bytes (int iModuleId, void *pBytes)
 
int xmit8Bytes (int iModuleId, void *pBytes)
 
virtual ~CDevice ()
 destructor More...
 
- Public Member Functions inherited from CMessage
 CMessage (void)
 
 CMessage (const char *pcClassName, int iDebugLevel=0, bool bDebug=true, bool bDebugFile=false)
 
 CMessage (const CMessage &clMessage)
 
void debug (const int iDebugLevel, const char *pcDebugMessage,...) const
 
void error (const int iErrorCode, const char *pcErrorMessage,...) const
 
void error (const char *pcErrorMessage,...) const
 
int getDebugLevel () const
 
int initMessage (const char *pcClassName, int iDebuglevel=0, bool bDebug=true, bool bDebugFile=false)
 
void logging (const char *pcLoggingMessage,...)
 
CMessageoperator= (const CMessage &clMessage)
 
void setDebug (bool bFlag)
 
void setDebugFile (bool bFlag)
 
void setDebugLevel (int iLevel)
 
void setInitTime (void)
 
void warning (const char *pcWarningMessage,...) const
 
virtual ~CMessage (void)
 

Protected Member Functions

virtual int clearReadQueue ()=0
 
int getUnsignedLong (int iModuleId, unsigned long *puiData)
 
int printMessage (CProtocolMessage &rclProtocolMessage, bool read)
 
int readChar (int iModuleId, int iCommandId, int iParameterId, char *pcData)
 
virtual int readDevice (CProtocolMessage &rclProtocolMessage)=0
 
int readFloat (int iModuleId, int iCommandId, int iParameterId, float *pfData)
 
int readFloatUnsignedChars (int iModuleId, int iCommandId, int iParameterId, float *pfData, unsigned char *pucData1, unsigned char *pucData2)
 
int readLong (int iModuleId, int iCommandId, int iParameterId, long *piData)
 
int readLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, long *piData, unsigned char *pucData1, unsigned char *pucData2)
 
int readShort (int iModuleId, int iCommandId, int iParameterId, short *piData)
 
int readUnsignedChar (int iModuleId, int iCommandId, int iParameterId, unsigned char *pucData)
 
int readUnsignedLong (int iModuleId, int iCommandId, int iParameterId, unsigned long *puiData)
 
int readUnsignedShort (int iModuleId, int iCommandId, int iParameterId, unsigned short *puiData)
 
virtual int reinit (unsigned char ucBaudRateId)=0
 
virtual int setMessageId (unsigned long uiMessageId)=0
 
int write8Bytes (int iModuleId, bool bAck, void *pBytes)
 
int writeAll (int iCommandId, int iParameterId)
 
int writeChar (int iModuleId, int iCommandId, int iParameterId, char cData)
 
int writeCommand (int iModuleId, int iCommandId)
 
virtual int writeDevice (CProtocolMessage &rclProtocolMessage)=0
 
int writeFloat (int iModuleId, int iCommandId, int iParameterId, float fData)
 
int writeFloatReadFloatUnsignedChars (int iModuleId, int iCommandId, int iParameterId, float fData, float *pfData, unsigned char *pucData1, unsigned char *pucData2)
 
int writeFloatShort (int iModuleId, int iCommandId, int iParameterId, float fData, short iData)
 
int writeFloatShortReadFloatUnsignedChars (int iModuleId, int iCommandId, int iParameterId, float fData, short iData, float *pfData, unsigned char *pucData1, unsigned char *pucData2)
 
int writeLong (int iModuleId, int iCommandId, int iParameterId, long iData)
 
int writeLongReadLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, long iData, long *piData, unsigned char *pucData1, unsigned char *pucData2)
 
int writeLongShort (int iModuleId, int iCommandId, int iParameterId, long iData1, short iData2)
 
int writeLongShortReadLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, long iData1, short iData2, long *piData, unsigned char *pucData1, unsigned char *pucData2)
 
int writeShort (int iModuleId, int iCommandId, int iParameterId, short iData)
 
int writeShortReadLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, short iData, long *piData, unsigned char *pucData1, unsigned char *pucData2)
 
int writeUnsignedChar (int iModuleId, int iCommandId, int iParameterId, unsigned char ucData)
 
int writeUnsignedLong (int iModuleId, int iCommandId, int iParameterId, unsigned long uiData)
 
int writeUnsignedShort (int iModuleId, int iCommandId, int iParameterId, unsigned short uiData)
 
- Protected Member Functions inherited from CDevice
void charStateToLongState (unsigned char uiShort, unsigned long *puiState)
 

Protected Attributes

CStopWatch m_clTimer
 
CRITICAL_SECTION m_csDevice
 
- Protected Attributes inherited from CDevice
char m_acInitString [128]
 
char m_acName [128]
 
char m_acRevision [20]
 
std::vector< int > m_aiModuleId
 
std::vector< unsigned short > m_auiModuleVersion
 
bool m_bInitFlag
 
CStopWatch m_clTimer
 
int m_iBaudRate
 
int m_iErrorState
 
int m_iModuleCount
 
int m_iModuleCountMax
 
- Protected Attributes inherited from CMessage
char m_acClassName [50]
 
bool m_bDebug
 
bool m_bDebugFile
 
int m_iDebugLevel
 

Additional Inherited Members

- Static Public Member Functions inherited from CMessage
static void setCriticalSection (CRITICAL_SECTION *cs)
 
- Static Protected Attributes inherited from CMessage
static double m_fInitTime
 

Detailed Description

Definition at line 29 of file ProtocolDevice.h.

Constructor & Destructor Documentation

CProtocolDevice::CProtocolDevice ( )

default constructor

Definition at line 2027 of file ProtocolDevice.cpp.

CProtocolDevice::CProtocolDevice ( const CProtocolDevice rclProtocolDevice)

copy constructor

Definition at line 2031 of file ProtocolDevice.cpp.

CProtocolDevice::~CProtocolDevice ( )
virtual

destructor

Definition at line 2036 of file ProtocolDevice.cpp.

Member Function Documentation

virtual int CProtocolDevice::clearReadQueue ( )
protectedpure virtual
int CProtocolDevice::getCanOpenRawAbsEnc ( int  iModuleId,
short *  piValue 
)
virtual

Implements CDevice.

Definition at line 2611 of file ProtocolDevice.cpp.

int CProtocolDevice::getDataDLR_FTS ( std::vector< float > &  rafData,
long *  piState 
)
virtual

Implements CDevice.

Definition at line 2058 of file ProtocolDevice.cpp.

int CProtocolDevice::getDataMP55_IO ( int  iModuleId,
float *  pfData 
)
virtual

Implements CDevice.

Definition at line 2473 of file ProtocolDevice.cpp.

int CProtocolDevice::getDataMP55_IO_fast ( int  iModuleId,
float *  pfData 
)
virtual

Implements CDevice.

Definition at line 2544 of file ProtocolDevice.cpp.

int CProtocolDevice::getDataSCHUNK_FTC ( int  iModuleId,
int  iChannelTypeId,
std::vector< float > &  rafData,
short *  piState 
)
virtual

Implements CDevice.

Definition at line 2271 of file ProtocolDevice.cpp.

int CProtocolDevice::getUnsignedLong ( int  iModuleId,
unsigned long *  puiData 
)
protectedvirtual

Implements CDevice.

Definition at line 71 of file ProtocolDevice.cpp.

int CProtocolDevice::initDLR_FTS ( )
virtual

Implements CDevice.

Definition at line 2989 of file ProtocolDevice.cpp.

CProtocolDevice & CProtocolDevice::operator= ( const CProtocolDevice rclProtocolDevice)

Definition at line 2046 of file ProtocolDevice.cpp.

int CProtocolDevice::printMessage ( CProtocolMessage rclProtocolMessage,
bool  read 
)
protected

Definition at line 3147 of file ProtocolDevice.cpp.

int CProtocolDevice::readChar ( int  iModuleId,
int  iCommandId,
int  iParameterId,
char *  pcData 
)
protectedvirtual

Implements CDevice.

Definition at line 107 of file ProtocolDevice.cpp.

virtual int CProtocolDevice::readDevice ( CProtocolMessage rclProtocolMessage)
protectedpure virtual
int CProtocolDevice::readFloat ( int  iModuleId,
int  iCommandId,
int  iParameterId,
float *  pfData 
)
protectedvirtual

Implements CDevice.

Definition at line 568 of file ProtocolDevice.cpp.

int CProtocolDevice::readFloatUnsignedChars ( int  iModuleId,
int  iCommandId,
int  iParameterId,
float *  pfData,
unsigned char *  pucData1,
unsigned char *  pucData2 
)
protectedvirtual

Implements CDevice.

Definition at line 727 of file ProtocolDevice.cpp.

int CProtocolDevice::readLong ( int  iModuleId,
int  iCommandId,
int  iParameterId,
long *  piData 
)
protectedvirtual

Implements CDevice.

Definition at line 409 of file ProtocolDevice.cpp.

int CProtocolDevice::readLongUnsignedChars ( int  iModuleId,
int  iCommandId,
int  iParameterId,
long *  piData,
unsigned char *  pucData1,
unsigned char *  pucData2 
)
protectedvirtual

Implements CDevice.

Definition at line 646 of file ProtocolDevice.cpp.

int CProtocolDevice::readShort ( int  iModuleId,
int  iCommandId,
int  iParameterId,
short *  piData 
)
protectedvirtual

Implements CDevice.

Definition at line 255 of file ProtocolDevice.cpp.

int CProtocolDevice::readUnsignedChar ( int  iModuleId,
int  iCommandId,
int  iParameterId,
unsigned char *  pucData 
)
protectedvirtual

Implements CDevice.

Definition at line 181 of file ProtocolDevice.cpp.

int CProtocolDevice::readUnsignedLong ( int  iModuleId,
int  iCommandId,
int  iParameterId,
unsigned long *  puiData 
)
protectedvirtual

Implements CDevice.

Definition at line 488 of file ProtocolDevice.cpp.

int CProtocolDevice::readUnsignedShort ( int  iModuleId,
int  iCommandId,
int  iParameterId,
unsigned short *  puiData 
)
protectedvirtual

Implements CDevice.

Definition at line 332 of file ProtocolDevice.cpp.

virtual int CProtocolDevice::reinit ( unsigned char  ucBaudRateId)
protectedpure virtual
int CProtocolDevice::setInitMP55_IO_fast ( int  iModuleId)
virtual

Implements CDevice.

Definition at line 2831 of file ProtocolDevice.cpp.

virtual int CProtocolDevice::setMessageId ( unsigned long  uiMessageId)
protectedpure virtual
int CProtocolDevice::setNullSCHUNK_FTC ( int  iModuleId,
short *  piState 
)
virtual

Implements CDevice.

Definition at line 2690 of file ProtocolDevice.cpp.

int CProtocolDevice::setTaraMP55_IO ( int  iModuleId,
float  fTara 
)
virtual

Implements CDevice.

Definition at line 2764 of file ProtocolDevice.cpp.

int CProtocolDevice::write8Bytes ( int  iModuleId,
bool  bAck,
void *  pBytes 
)
protectedvirtual

Implements CDevice.

Definition at line 32 of file ProtocolDevice.cpp.

int CProtocolDevice::writeAll ( int  iCommandId,
int  iParameterId 
)
protectedvirtual

Implements CDevice.

Definition at line 1340 of file ProtocolDevice.cpp.

int CProtocolDevice::writeChar ( int  iModuleId,
int  iCommandId,
int  iParameterId,
char  cData 
)
protectedvirtual

Implements CDevice.

Definition at line 808 of file ProtocolDevice.cpp.

int CProtocolDevice::writeCommand ( int  iModuleId,
int  iCommandId 
)
protectedvirtual

Implements CDevice.

Definition at line 1365 of file ProtocolDevice.cpp.

virtual int CProtocolDevice::writeDevice ( CProtocolMessage rclProtocolMessage)
protectedpure virtual
int CProtocolDevice::writeFloat ( int  iModuleId,
int  iCommandId,
int  iParameterId,
float  fData 
)
protectedvirtual

Implements CDevice.

Definition at line 1262 of file ProtocolDevice.cpp.

int CProtocolDevice::writeFloatReadFloatUnsignedChars ( int  iModuleId,
int  iCommandId,
int  iParameterId,
float  fData,
float *  pfData,
unsigned char *  pucData1,
unsigned char *  pucData2 
)
protectedvirtual

Implements CDevice.

Definition at line 1846 of file ProtocolDevice.cpp.

int CProtocolDevice::writeFloatShort ( int  iModuleId,
int  iCommandId,
int  iParameterId,
float  fData,
short  iData 
)
protectedvirtual

Implements CDevice.

Definition at line 1506 of file ProtocolDevice.cpp.

int CProtocolDevice::writeFloatShortReadFloatUnsignedChars ( int  iModuleId,
int  iCommandId,
int  iParameterId,
float  fData,
short  iData,
float *  pfData,
unsigned char *  pucData1,
unsigned char *  pucData2 
)
protectedvirtual

Implements CDevice.

Definition at line 1932 of file ProtocolDevice.cpp.

int CProtocolDevice::writeLong ( int  iModuleId,
int  iCommandId,
int  iParameterId,
long  iData 
)
protectedvirtual

Implements CDevice.

Definition at line 1106 of file ProtocolDevice.cpp.

int CProtocolDevice::writeLongReadLongUnsignedChars ( int  iModuleId,
int  iCommandId,
int  iParameterId,
long  iData,
long *  piData,
unsigned char *  pucData1,
unsigned char *  pucData2 
)
protectedvirtual

Implements CDevice.

Definition at line 1671 of file ProtocolDevice.cpp.

int CProtocolDevice::writeLongShort ( int  iModuleId,
int  iCommandId,
int  iParameterId,
long  iData1,
short  iData2 
)
protectedvirtual

Implements CDevice.

Definition at line 1425 of file ProtocolDevice.cpp.

int CProtocolDevice::writeLongShortReadLongUnsignedChars ( int  iModuleId,
int  iCommandId,
int  iParameterId,
long  iData1,
short  iData2,
long *  piData,
unsigned char *  pucData1,
unsigned char *  pucData2 
)
protectedvirtual

Implements CDevice.

Definition at line 1757 of file ProtocolDevice.cpp.

int CProtocolDevice::writeShort ( int  iModuleId,
int  iCommandId,
int  iParameterId,
short  iData 
)
protectedvirtual

Implements CDevice.

Definition at line 954 of file ProtocolDevice.cpp.

int CProtocolDevice::writeShortReadLongUnsignedChars ( int  iModuleId,
int  iCommandId,
int  iParameterId,
short  iData,
long *  piData,
unsigned char *  pucData1,
unsigned char *  pucData2 
)
protectedvirtual

Implements CDevice.

Definition at line 1587 of file ProtocolDevice.cpp.

int CProtocolDevice::writeUnsignedChar ( int  iModuleId,
int  iCommandId,
int  iParameterId,
unsigned char  ucData 
)
protectedvirtual

Implements CDevice.

Definition at line 881 of file ProtocolDevice.cpp.

int CProtocolDevice::writeUnsignedLong ( int  iModuleId,
int  iCommandId,
int  iParameterId,
unsigned long  uiData 
)
protectedvirtual

Implements CDevice.

Definition at line 1184 of file ProtocolDevice.cpp.

int CProtocolDevice::writeUnsignedShort ( int  iModuleId,
int  iCommandId,
int  iParameterId,
unsigned short  uiData 
)
protectedvirtual

Implements CDevice.

Definition at line 1030 of file ProtocolDevice.cpp.

Member Data Documentation

CStopWatch CProtocolDevice::m_clTimer
protected

Definition at line 42 of file ProtocolDevice.h.

CRITICAL_SECTION CProtocolDevice::m_csDevice
protected

Definition at line 41 of file ProtocolDevice.h.


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


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Mon Nov 25 2019 03:48:19