TwiceAsNice  2019-02-18
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Types | List of all members
Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType > Class Template Referenceabstract

This class is the implementation of the generic N interface. More...

#include <NServiceWorkerCore.h>

Inheritance diagram for Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >:
Inheritance graph
Collaboration diagram for Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >:
Collaboration graph

Classes

struct  DeviceAsyncImpl
 This is the implementation of the call back object to update the completion status. More...
 
struct  DeviceCmdAsyncImpl
 This struct is the implementation of the asynchronous command status method. More...
 

Public Member Functions

 MoccaNServiceWorkerCore (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device)
 Constructor. More...
 
virtual ~MoccaNServiceWorkerCore ()
 Destructor. More...
 
virtual void init ()
 This method initiate and open the device. More...
 
virtual void deinit ()
 This method deinit and close the device. More...
 
virtual void activate ()
 This method activate the device. More...
 
virtual void deactivate ()
 This method deactivate the device. More...
 
virtual void terminate ()
 This method shut down the device. More...
 
virtual void errorOffline ()
 
virtual void errorStandby ()
 
virtual void errorOnline ()
 
virtual void errorWorking ()
 
virtual void idleOffline ()
 
virtual void idleOnline ()
 
virtual void send (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _selectID, std::string _parameter, std::string _numberOfLines)
 This method send the command string to the electronic. More...
 
virtual std::string receive ()
 This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
 
virtual std::string receiveDataRaw (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _numberOfLines)
 This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
 
virtual bool isReachable ()
 
virtual void dumpStatusInformation ()
 
virtual void stop ()
 This method stop all moving motors smoothly. More...
 
virtual void abort ()
 This method abort all moving motors immediately. More...
 
virtual void moveAbsolute (IfSvcType _pos, std::string _unit)
 All motors of a device move to the absolute position. More...
 
virtual void moveRelative (IfSvcType _pos, std::string _unit)
 All motors of a device move to the relative position. More...
 
virtual void moveToHome ()
 All motors of the device are looking for the reference positions and reset the step counter to zero. More...
 
virtual void moveToHomeSingle (int _motor)
 
virtual void moveToLimit (IfSvcType _limit)
 move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches. More...
 
virtual void moveToNamedPosition (int _namedPosition)
 This method allows to move the motor to a named position. More...
 
virtual bool isAtHome ()
 This method updates the property VAR.ATHOME which indicates whether the motor is at the home position. More...
 
virtual bool isAtLimit ()
 This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position. More...
 
virtual bool isMoving ()
 This method updates the property VAR.MOVING which indicates whether the motor is moving. More...
 
virtual SvcType getPosition ()
 Returns the current positions of all motors. More...
 
virtual SvcType getPosition (std::string _unit)
 
virtual SvcType getDeviceEncoderPosition (std::string _unit)
 Returns the current device internal position encoder of all motors. More...
 
virtual SvcType getAbsoluteEncoderPosition ()
 Returns the current absolute encoder positions of all motors. More...
 
virtual SvcType getIncrementalEncoderPosition ()
 Returns the current incremental encoder positions of all motors. More...
 
virtual void setPosition (IfSvcType _position, std::string _unit)
 Change the absolute position of all motors. More...
 
virtual SvcType getNamedPosition (int _reference)
 This method returns the value of the named position. More...
 
virtual std::string checkForNamedPosition ()
 This method checks whether the current position is a named position. More...
 
virtual DevType getVelocity ()
 This method read the velocity of the device. More...
 
virtual void setVelocity (IfDevType _velocity)
 This method set the velocity in the device. More...
 
virtual DevType getCurrentTime ()
 
virtual Nice::SeqBitSet getPositionSwitchStatus ()
 : This method returns the current position switch status. More...
 
virtual void startProfile (const Nice::Date &, const Nice::NPoint &, Nice::Time, Nice::U32, Nice::U32)
 This method prepare the motor controller with a new external profile. More...
 
virtual void changeProfile (const Nice::Date &, const Nice::NPoint &)
 
 MoccaNServiceWorkerCore (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device)
 Constructor. More...
 
virtual ~MoccaNServiceWorkerCore ()
 Destructor. More...
 
virtual void init ()
 This method initiate and open the device. More...
 
virtual void deinit ()
 This method deinit and close the device. More...
 
virtual void activate ()
 This method activate the device. More...
 
virtual void deactivate ()
 This method deactivate the device. More...
 
virtual void terminate ()
 This method shut down the device. More...
 
virtual void errorOffline ()
 
virtual void errorStandby ()
 
virtual void errorOnline ()
 
virtual void errorWorking ()
 
virtual void idleOffline ()
 
virtual void idleOnline ()
 
virtual void send (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _selectID, std::string _parameter, std::string _numberOfLines)
 This method send the command string to the electronic. More...
 
virtual std::string receive ()
 This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
 
virtual std::string receiveDataRaw (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _numberOfLines)
 This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
 
virtual bool isReachable ()
 
virtual void dumpStatusInformation ()
 
virtual void stop ()
 This method stop all moving motors smoothly. More...
 
virtual void abort ()
 This method abort all moving motors immediately. More...
 
virtual void moveAbsolute (IfSvcType _pos, std::string _unit)
 All motors of a device move to the absolute position. More...
 
virtual void moveRelative (IfSvcType _pos, std::string _unit)
 All motors of a device move to the relative position. More...
 
virtual void moveToHome ()
 All motors of the device are looking for the reference positions and reset the step counter to zero. More...
 
virtual void moveToHomeSingle (int _motor)
 
virtual void moveToLimit (IfSvcType _limit)
 move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches. More...
 
virtual void moveToNamedPosition (int _namedPosition)
 This method allows to move the motor to a named position. More...
 
virtual bool isAtHome ()
 This method updates the property VAR.ATHOME which indicates whether the motor is at the home position. More...
 
virtual bool isAtLimit ()
 This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position. More...
 
virtual bool isMoving ()
 This method updates the property VAR.MOVING which indicates whether the motor is moving. More...
 
virtual SvcType getPosition ()
 Returns the current positions of all motors. More...
 
virtual SvcType getPosition (std::string _unit)
 
virtual SvcType getDeviceEncoderPosition (std::string _unit)
 Returns the current device internal position encoder of all motors. More...
 
virtual SvcType getAbsoluteEncoderPosition ()
 Returns the current absolute encoder positions of all motors. More...
 
virtual SvcType getIncrementalEncoderPosition ()
 Returns the current incremental encoder positions of all motors. More...
 
virtual void setPosition (IfSvcType _position, std::string _unit)
 Change the absolute position of all motors. More...
 
virtual SvcType getNamedPosition (int _reference)
 This method returns the value of the named position. More...
 
virtual std::string checkForNamedPosition ()
 This method checks whether the current position is a named position. More...
 
virtual DevType getVelocity ()
 This method read the velocity of the device. More...
 
virtual void setVelocity (IfDevType _velocity)
 This method set the velocity in the device. More...
 
virtual DevType getCurrentTime ()
 
virtual Nice::SeqBitSet getPositionSwitchStatus ()
 : This method returns the current position switch status. More...
 
virtual void startProfile (const Nice::Date &, const Nice::NPoint &, Nice::Time, Nice::U32, Nice::U32)
 This method prepare the motor controller with a new external profile. More...
 
virtual void changeProfile (const Nice::Date &, const Nice::NPoint &)
 
 MoccaNServiceWorkerCore (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device)
 Constructor. More...
 
virtual ~MoccaNServiceWorkerCore ()
 Destructor. More...
 
virtual void init ()
 This method initiate and open the device. More...
 
virtual void deinit ()
 This method deinit and close the device. More...
 
virtual void activate ()
 This method activate the device. More...
 
virtual void deactivate ()
 This method deactivate the device. More...
 
virtual void terminate ()
 This method shut down the device. More...
 
virtual void errorOffline ()
 
virtual void errorStandby ()
 
virtual void errorOnline ()
 
virtual void errorWorking ()
 
virtual void idleOffline ()
 
virtual void idleOnline ()
 
virtual void send (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _selectID, std::string _parameter, std::string _numberOfLines)
 This method send the command string to the electronic. More...
 
virtual std::string receive ()
 This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
 
virtual std::string receiveDataRaw (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _numberOfLines)
 This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
 
virtual bool isReachable ()
 
virtual void dumpStatusInformation ()
 
virtual void stop ()
 This method stop all moving motors smoothly. More...
 
virtual void abort ()
 This method abort all moving motors immediately. More...
 
virtual void moveAbsolute (IfSvcType _pos, std::string _unit)
 All motors of a device move to the absolute position. More...
 
virtual void moveRelative (IfSvcType _pos, std::string _unit)
 All motors of a device move to the relative position. More...
 
virtual void moveToHome ()
 All motors of the device are looking for the reference positions and reset the step counter to zero. More...
 
virtual void moveToHomeSingle (int _motor)
 
virtual void moveToLimit (IfSvcType _limit)
 move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches. More...
 
virtual void moveToNamedPosition (int _namedPosition)
 This method allows to move the motor to a named position. More...
 
virtual bool isAtHome ()
 This method updates the property VAR.ATHOME which indicates whether the motor is at the home position. More...
 
virtual bool isAtLimit ()
 This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position. More...
 
virtual bool isMoving ()
 This method updates the property VAR.MOVING which indicates whether the motor is moving. More...
 
virtual SvcType getPosition ()
 Returns the current positions of all motors. More...
 
virtual SvcType getPosition (std::string _unit)
 
virtual SvcType getDeviceEncoderPosition (std::string _unit)
 Returns the current device internal position encoder of all motors. More...
 
virtual SvcType getAbsoluteEncoderPosition ()
 Returns the current absolute encoder positions of all motors. More...
 
virtual SvcType getIncrementalEncoderPosition ()
 Returns the current incremental encoder positions of all motors. More...
 
virtual void setPosition (IfSvcType _position, std::string _unit)
 Change the absolute position of all motors. More...
 
virtual SvcType getNamedPosition (int _reference)
 This method returns the value of the named position. More...
 
virtual std::string checkForNamedPosition ()
 This method checks whether the current position is a named position. More...
 
virtual DevType getVelocity ()
 This method read the velocity of the device. More...
 
virtual void setVelocity (IfDevType _velocity)
 This method set the velocity in the device. More...
 
virtual DevType getCurrentTime ()
 
virtual Nice::SeqBitSet getPositionSwitchStatus ()
 : This method returns the current position switch status. More...
 
virtual void startProfile (const Nice::Date &, const Nice::NPoint &, Nice::Time, Nice::U32, Nice::U32)
 This method prepare the motor controller with a new external profile. More...
 
virtual void changeProfile (const Nice::Date &, const Nice::NPoint &)
 

Protected Member Functions

virtual void status ()
 The method calls different commands in order to update the status. More...
 
virtual DeviceAsyncImpldeviceAsyncImpl ()
 
virtual DeviceAsyncImpldeviceCmdAsyncImpl ()
 
virtual SvcType coordinateTransformation (DevType _value, std::string _unit)=0
 This method converts the given value from steps into _unit. More...
 
virtual DevType coordinateTransformationInverse (SvcType _value, std::string _unit)=0
 This method converts the given value from _unit into steps. More...
 
virtual DevType coordinateTranslateInverse (SvcType _value, std::string _unit)=0
 This method converts the given value from _unit into steps. More...
 
virtual void status ()
 The method calls different commands in order to update the status. More...
 
virtual DeviceAsyncImpldeviceAsyncImpl ()
 
virtual DeviceAsyncImpldeviceCmdAsyncImpl ()
 
virtual SvcType coordinateTransformation (DevType _value, std::string _unit)=0
 This method converts the given value from steps into _unit. More...
 
virtual DevType coordinateTransformationInverse (SvcType _value, std::string _unit)=0
 This method converts the given value from _unit into steps. More...
 
virtual DevType coordinateTranslateInverse (SvcType _value, std::string _unit)=0
 This method converts the given value from _unit into steps. More...
 
virtual void status ()
 The method calls different commands in order to update the status. More...
 
virtual DeviceAsyncImpldeviceAsyncImpl ()
 
virtual DeviceAsyncImpldeviceCmdAsyncImpl ()
 
virtual SvcType coordinateTransformation (DevType _value, std::string _unit)=0
 This method converts the given value from steps into _unit. More...
 
virtual DevType coordinateTransformationInverse (SvcType _value, std::string _unit)=0
 This method converts the given value from _unit into steps. More...
 
virtual DevType coordinateTranslateInverse (SvcType _value, std::string _unit)=0
 This method converts the given value from _unit into steps. More...
 
template<>
Nice::Point getDefaultTransformation ()
 Compose the unit transformation. More...
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 Compose the unit transformation. More...
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::WMatrix getDefaultTransformation ()
 
template<>
Nice::WMatrix getDefaultTransformation ()
 
template<>
Nice::W3Matrix getDefaultTransformation ()
 
template<>
Nice::W3Matrix getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::W3Matrix getDefaultTransformation ()
 
template<>
Nice::W3Matrix getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::Point getDefaultTransformation ()
 
template<>
Nice::WMatrix getDefaultTransformation ()
 
template<>
Nice::WMatrix getDefaultTransformation ()
 

Static Protected Member Functions

static TransType getDefaultTransformation ()
 
static TransType getDefaultTransformation ()
 
static TransType getDefaultTransformation ()
 

Protected Attributes

MoccaNDevicePtr m_device
 the object to call the xy device More...
 
DeviceAsyncImpl m_deviceAsync
 the master object ???? More...
 
DeviceCmdAsyncImpl m_deviceCmdAsync
 the call back object for the devices More...
 
SeqString m_namedPosAbsNameString
 
std::map< std::string, int > m_unitNamePrecMap
 
std::string m_basicUnit
 
int m_numberOfUnits
 
bool m_stopProfile
 
Nice::Time m_delay
 
Nice::Time m_delayDefault
 

Private Types

typedef std::vector< SvcType > SeqSvcType
 
typedef std::vector< std::string > SeqString
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< DevType >::value, DevType, const DevType & >::type IfDevType
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, SvcType, const SvcType & >::type IfSvcType
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< TransType >::value, TransType, const TransType & >::type IfTransType
 
typedef boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, Nice::Date, Nice::SeqDate >::type IfDateType
 
typedef boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, Nice::NPoint, Nice::SeqNPoint >::type IfPosSeqType
 
typedef std::vector< SvcType > SeqSvcType
 
typedef std::vector< std::string > SeqString
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< DevType >::value, DevType, const DevType & >::type IfDevType
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, SvcType, const SvcType & >::type IfSvcType
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< TransType >::value, TransType, const TransType & >::type IfTransType
 
typedef boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, Nice::Date, Nice::SeqDate >::type IfDateType
 
typedef boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, Nice::NPoint, Nice::SeqNPoint >::type IfPosSeqType
 
typedef std::vector< SvcType > SeqSvcType
 
typedef std::vector< std::string > SeqString
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< DevType >::value, DevType, const DevType & >::type IfDevType
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, SvcType, const SvcType & >::type IfSvcType
 
typedef ::boost::mpl::if_c< ::boost::is_arithmetic< TransType >::value, TransType, const TransType & >::type IfTransType
 
typedef boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, Nice::Date, Nice::SeqDate >::type IfDateType
 
typedef boost::mpl::if_c< ::boost::is_arithmetic< SvcType >::value, Nice::NPoint, Nice::SeqNPoint >::type IfPosSeqType
 

Detailed Description

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
class Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >

This class is the implementation of the generic N interface.

Member Typedef Documentation

◆ IfDateType [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, Nice::Date, Nice::SeqDate>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfDateType
private

◆ IfDateType [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, Nice::Date, Nice::SeqDate>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfDateType
private

◆ IfDateType [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, Nice::Date, Nice::SeqDate>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfDateType
private

◆ IfDevType [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<DevType>::value, DevType, const DevType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfDevType
private

◆ IfDevType [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<DevType>::value, DevType, const DevType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfDevType
private

◆ IfDevType [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<DevType>::value, DevType, const DevType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfDevType
private

◆ IfPosSeqType [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, Nice::NPoint, Nice::SeqNPoint>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfPosSeqType
private

◆ IfPosSeqType [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, Nice::NPoint, Nice::SeqNPoint>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfPosSeqType
private

◆ IfPosSeqType [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, Nice::NPoint, Nice::SeqNPoint>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfPosSeqType
private

◆ IfSvcType [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, SvcType, const SvcType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfSvcType
private

◆ IfSvcType [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, SvcType, const SvcType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfSvcType
private

◆ IfSvcType [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<SvcType>::value, SvcType, const SvcType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfSvcType
private

◆ IfTransType [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<TransType>::value, TransType, const TransType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfTransType
private

◆ IfTransType [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<TransType>::value, TransType, const TransType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfTransType
private

◆ IfTransType [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef ::boost::mpl::if_c< ::boost::is_arithmetic<TransType>::value, TransType, const TransType &>::type Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::IfTransType
private

◆ SeqString [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef std::vector<std::string> Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::SeqString
private

◆ SeqString [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef std::vector<std::string> Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::SeqString
private

◆ SeqString [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef std::vector<std::string> Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::SeqString
private

◆ SeqSvcType [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef std::vector<SvcType> Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::SeqSvcType
private

◆ SeqSvcType [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef std::vector<SvcType> Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::SeqSvcType
private

◆ SeqSvcType [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
typedef std::vector<SvcType> Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::SeqSvcType
private

Constructor & Destructor Documentation

◆ MoccaNServiceWorkerCore() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::MoccaNServiceWorkerCore ( const Nice::JointPtr _config,
const MoccaNDevicePtr _device 
)

Constructor.

◆ ~MoccaNServiceWorkerCore() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::~MoccaNServiceWorkerCore ( )
virtual

Destructor.

◆ MoccaNServiceWorkerCore() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::MoccaNServiceWorkerCore ( const Nice::JointPtr _config,
const MoccaNDevicePtr _device 
)

Constructor.

◆ ~MoccaNServiceWorkerCore() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::~MoccaNServiceWorkerCore ( )
virtual

Destructor.

◆ MoccaNServiceWorkerCore() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::MoccaNServiceWorkerCore ( const Nice::JointPtr _config,
const MoccaNDevicePtr _device 
)

Constructor.

◆ ~MoccaNServiceWorkerCore() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::~MoccaNServiceWorkerCore ( )
virtual

Destructor.

Member Function Documentation

◆ abort() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::abort ( )
virtual

This method abort all moving motors immediately.

Note
Abrupt stop of a fast running motor can leads to losing steps. The motor could be damaged too.

◆ abort() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::abort ( )
virtual

This method abort all moving motors immediately.

Note
Abrupt stop of a fast running motor can leads to losing steps. The motor could be damaged too.

◆ abort() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::abort ( )
virtual

This method abort all moving motors immediately.

Note
Abrupt stop of a fast running motor can leads to losing steps. The motor could be damaged too.

◆ activate() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::activate ( )
virtual

This method activate the device.

◆ activate() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::activate ( )
virtual

This method activate the device.

◆ activate() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::activate ( )
virtual

This method activate the device.

◆ changeProfile() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::changeProfile ( const Nice::Date ,
const Nice::NPoint  
)
inlinevirtual

◆ changeProfile() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::changeProfile ( const Nice::Date ,
const Nice::NPoint  
)
inlinevirtual

◆ changeProfile() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::changeProfile ( const Nice::Date ,
const Nice::NPoint  
)
inlinevirtual

◆ checkForNamedPosition() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::checkForNamedPosition ( )
virtual

This method checks whether the current position is a named position.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ checkForNamedPosition() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::checkForNamedPosition ( )
virtual

This method checks whether the current position is a named position.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ checkForNamedPosition() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::checkForNamedPosition ( )
virtual

This method checks whether the current position is a named position.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ coordinateTransformation() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTransformation ( DevType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from steps into _unit.

The given value (in steps) will be converted in _unit based on the specified coordinate transformation.

Parameters
_valuethe position value (in steps) which has to be converted
_unitthe target unit
Returns
the absolute position in _unit

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTransformation() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTransformation ( DevType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from steps into _unit.

The given value (in steps) will be converted in _unit based on the specified coordinate transformation.

Parameters
_valuethe position value (in steps) which has to be converted
_unitthe target unit
Returns
the absolute position in _unit

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTransformation() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTransformation ( DevType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from steps into _unit.

The given value (in steps) will be converted in _unit based on the specified coordinate transformation.

Parameters
_valuethe position value (in steps) which has to be converted
_unitthe target unit
Returns
the absolute position in _unit

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTransformationInverse() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTransformationInverse ( SvcType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from _unit into steps.

The given value will be converted in steps based on _unit and the specified coordinate transformation.

Parameters
_valuethe position value which has to be converted
_unitthe current unit of _value
theabsolute position in steps

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTransformationInverse() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTransformationInverse ( SvcType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from _unit into steps.

The given value will be converted in steps based on _unit and the specified coordinate transformation.

Parameters
_valuethe position value which has to be converted
_unitthe current unit of _value
theabsolute position in steps

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTransformationInverse() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTransformationInverse ( SvcType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from _unit into steps.

The given value will be converted in steps based on _unit and the specified coordinate transformation.

Parameters
_valuethe position value which has to be converted
_unitthe current unit of _value
theabsolute position in steps

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTranslateInverse() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTranslateInverse ( SvcType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from _unit into steps.

Thereby it ignores the coordinate system offset dx.

Parameters
_valuethe relative position value which has to be converted
_unitthe current unit of _value
Returns
the relative position in steps

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTranslateInverse() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTranslateInverse ( SvcType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from _unit into steps.

Thereby it ignores the coordinate system offset dx.

Parameters
_valuethe relative position value which has to be converted
_unitthe current unit of _value
Returns
the relative position in steps

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ coordinateTranslateInverse() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::coordinateTranslateInverse ( SvcType  _value,
std::string  _unit 
)
protectedpure virtual

This method converts the given value from _unit into steps.

Thereby it ignores the coordinate system offset dx.

Parameters
_valuethe relative position value which has to be converted
_unitthe current unit of _value
Returns
the relative position in steps

Implemented in Laos::DrotServiceWorker, Laos::DrotServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaWheelServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaTrajServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaTriPodServiceWorker, Basda::MoccaXYServiceWorker, Basda::MoccaXServiceWorker, and Basda::MoccaXServiceWorker.

◆ deactivate() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deactivate ( )
virtual

This method deactivate the device.

◆ deactivate() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deactivate ( )
virtual

This method deactivate the device.

◆ deactivate() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deactivate ( )
virtual

This method deactivate the device.

◆ deinit() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deinit ( )
virtual

This method deinit and close the device.

◆ deinit() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deinit ( )
virtual

This method deinit and close the device.

◆ deinit() [3/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deinit ( )
virtual

This method deinit and close the device.

◆ deviceAsyncImpl() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DeviceAsyncImpl& Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deviceAsyncImpl ( )
inlineprotectedvirtual

◆ deviceAsyncImpl() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DeviceAsyncImpl& Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deviceAsyncImpl ( )
inlineprotectedvirtual

◆ deviceAsyncImpl() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DeviceAsyncImpl& Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deviceAsyncImpl ( )
inlineprotectedvirtual

◆ deviceCmdAsyncImpl() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DeviceAsyncImpl& Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deviceCmdAsyncImpl ( )
inlineprotectedvirtual

◆ deviceCmdAsyncImpl() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DeviceAsyncImpl& Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deviceCmdAsyncImpl ( )
inlineprotectedvirtual

◆ deviceCmdAsyncImpl() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DeviceAsyncImpl& Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::deviceCmdAsyncImpl ( )
inlineprotectedvirtual

◆ dumpStatusInformation() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::dumpStatusInformation ( )
virtual

◆ dumpStatusInformation() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::dumpStatusInformation ( )
virtual

◆ dumpStatusInformation() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::dumpStatusInformation ( )
virtual

◆ errorOffline() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorOffline ( )
virtual

◆ errorOffline() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorOffline ( )
virtual

◆ errorOffline() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorOffline ( )
virtual

◆ errorOnline() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorOnline ( )
virtual

◆ errorOnline() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorOnline ( )
virtual

◆ errorOnline() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorOnline ( )
virtual

◆ errorStandby() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorStandby ( )
virtual

◆ errorStandby() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorStandby ( )
virtual

◆ errorStandby() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorStandby ( )
virtual

◆ errorWorking() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorWorking ( )
virtual

◆ errorWorking() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorWorking ( )
virtual

◆ errorWorking() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::errorWorking ( )
virtual

◆ getAbsoluteEncoderPosition() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getAbsoluteEncoderPosition ( )
virtual

Returns the current absolute encoder positions of all motors.

The current position of all motors might be stored in the property

  • VAR.POSITION.ABSOLUTE_ENCODER
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getAbsoluteEncoderPosition() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getAbsoluteEncoderPosition ( )
virtual

Returns the current absolute encoder positions of all motors.

The current position of all motors might be stored in the property

  • VAR.POSITION.ABSOLUTE_ENCODER
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getAbsoluteEncoderPosition() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getAbsoluteEncoderPosition ( )
virtual

Returns the current absolute encoder positions of all motors.

The current position of all motors might be stored in the property

  • VAR.POSITION.ABSOLUTE_ENCODER
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getCurrentTime() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getCurrentTime ( )
virtual

◆ getCurrentTime() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getCurrentTime ( )
virtual

◆ getCurrentTime() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getCurrentTime ( )
virtual

◆ getDefaultTransformation() [1/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaXServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [2/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaXServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [3/27]

◆ getDefaultTransformation() [4/27]

◆ getDefaultTransformation() [5/27]

◆ getDefaultTransformation() [6/27]

◆ getDefaultTransformation() [7/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaTrajServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [8/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaTrajServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [9/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Laos::DrotServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [10/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Laos::DrotServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [11/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, Nice::Int, Nice::Point, Basda::MoccaWheelServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [12/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, Nice::Int, Nice::Point, Basda::MoccaWheelServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [13/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaTrajServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [14/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaTrajServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [15/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaXServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [16/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Basda::MoccaXServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [17/27]

◆ getDefaultTransformation() [18/27]

◆ getDefaultTransformation() [19/27]

◆ getDefaultTransformation() [20/27]

◆ getDefaultTransformation() [21/27]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
static TransType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getDefaultTransformation ( )
staticprotected

◆ getDefaultTransformation() [22/27]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
static TransType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getDefaultTransformation ( )
staticprotected

◆ getDefaultTransformation() [23/27]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
static TransType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getDefaultTransformation ( )
staticprotected

◆ getDefaultTransformation() [24/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, Nice::Int, Nice::Point, Basda::MoccaWheelServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [25/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, Nice::Int, Nice::Point, Basda::MoccaWheelServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

◆ getDefaultTransformation() [26/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Laos::DrotServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

Compose the unit transformation.


Returns
The transformation with scale factor of unity and zero offset.

◆ getDefaultTransformation() [27/27]

template<>
Nice::Point Basda::MoccaNServiceWorkerCore< double, double, Nice::Point, Laos::DrotServiceWorkerSkeleton >::getDefaultTransformation ( )
protected

Compose the unit transformation.


Returns
The transformation with scale factor of unity and zero offset.

◆ getDeviceEncoderPosition() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getDeviceEncoderPosition ( std::string  _unit)
virtual

Returns the current device internal position encoder of all motors.

Some devices, like the MoCon, have an internal software encoder/position counter, which is independent from the incremental and absolute encoder.

The current position of all motors might be stored in the property

  • VAR.POSITION.DEVICE_ENCODER
Parameters
_unitthe unit in which the position value should be converted
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getDeviceEncoderPosition() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getDeviceEncoderPosition ( std::string  _unit)
virtual

Returns the current device internal position encoder of all motors.

Some devices, like the MoCon, have an internal software encoder/position counter, which is independent from the incremental and absolute encoder.

The current position of all motors might be stored in the property

  • VAR.POSITION.DEVICE_ENCODER
Parameters
_unitthe unit in which the position value should be converted
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getDeviceEncoderPosition() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getDeviceEncoderPosition ( std::string  _unit)
virtual

Returns the current device internal position encoder of all motors.

Some devices, like the MoCon, have an internal software encoder/position counter, which is independent from the incremental and absolute encoder.

The current position of all motors might be stored in the property

  • VAR.POSITION.DEVICE_ENCODER
Parameters
_unitthe unit in which the position value should be converted
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getIncrementalEncoderPosition() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getIncrementalEncoderPosition ( )
virtual

Returns the current incremental encoder positions of all motors.

The current position of all motors might be stored in the property

  • VAR.POSITION.INCREMENTAL_ENCODER
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getIncrementalEncoderPosition() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getIncrementalEncoderPosition ( )
virtual

Returns the current incremental encoder positions of all motors.

The current position of all motors might be stored in the property

  • VAR.POSITION.INCREMENTAL_ENCODER
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getIncrementalEncoderPosition() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getIncrementalEncoderPosition ( )
virtual

Returns the current incremental encoder positions of all motors.

The current position of all motors might be stored in the property

  • VAR.POSITION.INCREMENTAL_ENCODER
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

◆ getNamedPosition() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getNamedPosition ( int  _reference)
virtual

This method returns the value of the named position.

Parameters
_referencethe number of the named position

◆ getNamedPosition() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getNamedPosition ( int  _reference)
virtual

This method returns the value of the named position.

Parameters
_referencethe number of the named position

◆ getNamedPosition() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getNamedPosition ( int  _reference)
virtual

This method returns the value of the named position.

Parameters
_referencethe number of the named position

◆ getPosition() [1/6]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPosition ( )
virtual

Returns the current positions of all motors.

Depending on the position auto update configuration either getDeviceEncoderPosition, getAbsoluteEncoderPosition and/or getIncrementalEncoderPosition will be called. Background of this implementation is the time critical readout of the absolute encoder.

The position auto update configuration can be done with the property

  • CFG.POSITION_AUTOUPDATE

Depending of the position report property either the device encoder position, absolute encoder position or incremental encoder position will be returned and stored in

  • VAR.POSITION

The configuration of the position report can be done in

CFG.POSITION.REPORT and CFG.POSITION.UNIT and

Parameters
_unitthe unit in which the position value should be converted
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ getPosition() [2/6]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPosition ( )
virtual

Returns the current positions of all motors.

Depending on the position auto update configuration either getDeviceEncoderPosition, getAbsoluteEncoderPosition and/or getIncrementalEncoderPosition will be called. Background of this implementation is the time critical readout of the absolute encoder.

The position auto update configuration can be done with the property

  • CFG.POSITION_AUTOUPDATE

Depending of the position report property either the device encoder position, absolute encoder position or incremental encoder position will be returned and stored in

  • VAR.POSITION

The configuration of the position report can be done in

CFG.POSITION.REPORT and CFG.POSITION.UNIT and

Parameters
_unitthe unit in which the position value should be converted
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ getPosition() [3/6]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPosition ( )
virtual

Returns the current positions of all motors.

Depending on the position auto update configuration either getDeviceEncoderPosition, getAbsoluteEncoderPosition and/or getIncrementalEncoderPosition will be called. Background of this implementation is the time critical readout of the absolute encoder.

The position auto update configuration can be done with the property

  • CFG.POSITION_AUTOUPDATE

Depending of the position report property either the device encoder position, absolute encoder position or incremental encoder position will be returned and stored in

  • VAR.POSITION

The configuration of the position report can be done in

CFG.POSITION.REPORT and CFG.POSITION.UNIT and

Parameters
_unitthe unit in which the position value should be converted
Returns
the current positions of all motors. The order of the points is corresponding to the order of the motor names in the property tree (alphabetical).

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ getPosition() [4/6]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPosition ( std::string  _unit)
virtual

◆ getPosition() [5/6]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPosition ( std::string  _unit)
virtual

◆ getPosition() [6/6]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual SvcType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPosition ( std::string  _unit)
virtual

◆ getPositionSwitchStatus() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual Nice::SeqBitSet Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPositionSwitchStatus ( )
virtual

: This method returns the current position switch status.

Exceptions

◆ getPositionSwitchStatus() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
Nice::SeqBitSet Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPositionSwitchStatus ( )
virtual

: This method returns the current position switch status.

Exceptions

◆ getPositionSwitchStatus() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual Nice::SeqBitSet Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getPositionSwitchStatus ( )
virtual

: This method returns the current position switch status.

Exceptions

◆ getVelocity() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getVelocity ( )
virtual

This method read the velocity of the device.

◆ getVelocity() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getVelocity ( )
virtual

This method read the velocity of the device.

◆ getVelocity() [3/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
DevType Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::getVelocity ( )
virtual

This method read the velocity of the device.

◆ idleOffline() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::idleOffline ( )
virtual

◆ idleOffline() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::idleOffline ( )
virtual

◆ idleOffline() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::idleOffline ( )
virtual

◆ idleOnline() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::idleOnline ( )
virtual

◆ idleOnline() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::idleOnline ( )
virtual

◆ idleOnline() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::idleOnline ( )
virtual

◆ init() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::init ( )
virtual

This method initiate and open the device.

Reimplemented in Laos::DrotServiceWorker, and Laos::DrotServiceWorker.

◆ init() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::init ( )
virtual

This method initiate and open the device.

Reimplemented in Laos::DrotServiceWorker, and Laos::DrotServiceWorker.

◆ init() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::init ( )
virtual

This method initiate and open the device.

Reimplemented in Laos::DrotServiceWorker, and Laos::DrotServiceWorker.

◆ isAtHome() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isAtHome ( )
virtual

This method updates the property VAR.ATHOME which indicates whether the motor is at the home position.

◆ isAtHome() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isAtHome ( )
virtual

This method updates the property VAR.ATHOME which indicates whether the motor is at the home position.

◆ isAtHome() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isAtHome ( )
virtual

This method updates the property VAR.ATHOME which indicates whether the motor is at the home position.

◆ isAtLimit() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isAtLimit ( )
virtual

This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position.

◆ isAtLimit() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isAtLimit ( )
virtual

This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position.

◆ isAtLimit() [3/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isAtLimit ( )
virtual

This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position.

◆ isMoving() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isMoving ( )
virtual

This method updates the property VAR.MOVING which indicates whether the motor is moving.

◆ isMoving() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isMoving ( )
virtual

This method updates the property VAR.MOVING which indicates whether the motor is moving.

◆ isMoving() [3/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isMoving ( )
virtual

This method updates the property VAR.MOVING which indicates whether the motor is moving.

◆ isReachable() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isReachable ( )
virtual

◆ isReachable() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isReachable ( )
virtual

◆ isReachable() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::isReachable ( )
virtual

◆ moveAbsolute() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveAbsolute ( IfSvcType  _pos,
std::string  _unit 
)
virtual

All motors of a device move to the absolute position.

Parameters
_unitthe unit of the position value
_posthe absolute target position x and y

◆ moveAbsolute() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveAbsolute ( IfSvcType  _pos,
std::string  _unit 
)
virtual

All motors of a device move to the absolute position.

Parameters
_unitthe unit of the position value
_posthe absolute target position x and y

◆ moveAbsolute() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveAbsolute ( IfSvcType  _pos,
std::string  _unit 
)
virtual

All motors of a device move to the absolute position.

Parameters
_unitthe unit of the position value
_posthe absolute target position x and y

◆ moveRelative() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveRelative ( IfSvcType  _pos,
std::string  _unit 
)
virtual

All motors of a device move to the relative position.

Parameters
_unitthe unit of the position value
_posthe relative target position x and y.

◆ moveRelative() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveRelative ( IfSvcType  _pos,
std::string  _unit 
)
virtual

All motors of a device move to the relative position.

Parameters
_unitthe unit of the position value
_posthe relative target position x and y.

◆ moveRelative() [3/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveRelative ( IfSvcType  _pos,
std::string  _unit 
)
virtual

All motors of a device move to the relative position.

Parameters
_unitthe unit of the position value
_posthe relative target position x and y.

◆ moveToHome() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToHome ( )
virtual

All motors of the device are looking for the reference positions and reset the step counter to zero.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ moveToHome() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToHome ( )
virtual

All motors of the device are looking for the reference positions and reset the step counter to zero.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ moveToHome() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToHome ( )
virtual

All motors of the device are looking for the reference positions and reset the step counter to zero.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ moveToHomeSingle() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToHomeSingle ( int  _motor)
virtual

◆ moveToHomeSingle() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToHomeSingle ( int  _motor)
virtual

◆ moveToHomeSingle() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToHomeSingle ( int  _motor)
virtual

◆ moveToLimit() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToLimit ( IfSvcType  _limit)
virtual

move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches.

Parameters
_limita point that contains to which limit the motors have to move (_limits[i]>0 - to positive limit) (_limits[i]<0 - to negative limit)

◆ moveToLimit() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToLimit ( IfSvcType  _limit)
virtual

move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches.

Parameters
_limita point that contains to which limit the motors have to move (_limits[i]>0 - to positive limit) (_limits[i]<0 - to negative limit)

◆ moveToLimit() [3/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToLimit ( IfSvcType  _limit)
virtual

move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches.

Parameters
_limita point that contains to which limit the motors have to move (_limits[i]>0 - to positive limit) (_limits[i]<0 - to negative limit)

◆ moveToNamedPosition() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToNamedPosition ( int  _namedPosition)
virtual

This method allows to move the motor to a named position.

Parameters
_referencethe number of the named position

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ moveToNamedPosition() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToNamedPosition ( int  _namedPosition)
virtual

This method allows to move the motor to a named position.

Parameters
_referencethe number of the named position

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ moveToNamedPosition() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::moveToNamedPosition ( int  _namedPosition)
virtual

This method allows to move the motor to a named position.

Parameters
_referencethe number of the named position

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ receive() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::receive ( )
virtual

This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012)

It supports a direct communication with the MoCon. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_retthe allocated memory for the command response
See also
chat

◆ receive() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::receive ( )
virtual

This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012)

It supports a direct communication with the MoCon. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_retthe allocated memory for the command response
See also
chat

◆ receive() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::receive ( )
virtual

This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012)

It supports a direct communication with the MoCon. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_retthe allocated memory for the command response
See also
chat

◆ receiveDataRaw() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::receiveDataRaw ( std::string  _cardNo,
std::string  _commandID,
std::string  _moduleNo,
std::string  _numberOfLines 
)
virtual

This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012)

It supports a direct communication with the MoCon without to parse the response. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_commandIDthe command ID which is defined in the CommandIDs.h
_cardNothe card number
_moduleNothe module number
_retthe allocated space for the returned data
_numberOfLinesThis parameter limitates how many data should be read from the Ethernet buffer. All data are read if the value is -1.
Returns
the return parameter is stored in _ret parameter.
See also
chat

◆ receiveDataRaw() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::receiveDataRaw ( std::string  _cardNo,
std::string  _commandID,
std::string  _moduleNo,
std::string  _numberOfLines 
)
virtual

This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012)

It supports a direct communication with the MoCon without to parse the response. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_commandIDthe command ID which is defined in the CommandIDs.h
_cardNothe card number
_moduleNothe module number
_retthe allocated space for the returned data
_numberOfLinesThis parameter limitates how many data should be read from the Ethernet buffer. All data are read if the value is -1.
Returns
the return parameter is stored in _ret parameter.
See also
chat

◆ receiveDataRaw() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::receiveDataRaw ( std::string  _cardNo,
std::string  _commandID,
std::string  _moduleNo,
std::string  _numberOfLines 
)
virtual

This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012)

It supports a direct communication with the MoCon without to parse the response. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_commandIDthe command ID which is defined in the CommandIDs.h
_cardNothe card number
_moduleNothe module number
_retthe allocated space for the returned data
_numberOfLinesThis parameter limitates how many data should be read from the Ethernet buffer. All data are read if the value is -1.
Returns
the return parameter is stored in _ret parameter.
See also
chat

◆ send() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::send ( std::string  _cardNo,
std::string  _commandID,
std::string  _moduleNo,
std::string  _selectID,
std::string  _parameter,
std::string  _numberOfLines 
)
virtual

This method send the command string to the electronic.

This method is set to public due to requests from Lorenzo Busoni. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_commandIDthe command ID
_cardNothe ID of the MPIA electronic card
_moduleNothe ID of the device module
_selectIDthe sub command ID
_parameterthe parameter as string
_numberOfLinesthe number of lines that might be read

Hi Martin,

that's exactly what I was thinking: The use case is (real example from our experience): we discover at the telescope that we need to continuously monitor a given property (PropA) of the MoCon (obviously because of a malfunctioning in the hardware!). Without this monitor, we will be stuck. You can add the required functionality in the Mocca adding the function getPropA: this requires 4 hours and the day is lost. The day after you are stuck because you discover that you miss PropB, and the day is lost again. As an alternative, one can add the 2 lines below in the code (with a comment: "1 10 0 = getPropA") and this requires 5 minutes. The day after one can add a similar line with 1 11 0. When you're back in Europe you implement getPropA and getPropB in Mocca and you cleanup the code removing the receiveResponseForComment

Generally speaking I think it is a safe idea to have a generic interface to access EVERY possible functionality of a device, because soon or later you'll need it. In the case of the Mocon it is quite easy, a good compromise between living dangerously and wasting too much time in the effort of a complete implementation of all the MoCon commands.

Lorenzo Busoni

◆ send() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::send ( std::string  _cardNo,
std::string  _commandID,
std::string  _moduleNo,
std::string  _selectID,
std::string  _parameter,
std::string  _numberOfLines 
)
virtual

This method send the command string to the electronic.

This method is set to public due to requests from Lorenzo Busoni. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_commandIDthe command ID
_cardNothe ID of the MPIA electronic card
_moduleNothe ID of the device module
_selectIDthe sub command ID
_parameterthe parameter as string
_numberOfLinesthe number of lines that might be read

Hi Martin,

that's exactly what I was thinking: The use case is (real example from our experience): we discover at the telescope that we need to continuously monitor a given property (PropA) of the MoCon (obviously because of a malfunctioning in the hardware!). Without this monitor, we will be stuck. You can add the required functionality in the Mocca adding the function getPropA: this requires 4 hours and the day is lost. The day after you are stuck because you discover that you miss PropB, and the day is lost again. As an alternative, one can add the 2 lines below in the code (with a comment: "1 10 0 = getPropA") and this requires 5 minutes. The day after one can add a similar line with 1 11 0. When you're back in Europe you implement getPropA and getPropB in Mocca and you cleanup the code removing the receiveResponseForComment

Generally speaking I think it is a safe idea to have a generic interface to access EVERY possible functionality of a device, because soon or later you'll need it. In the case of the Mocon it is quite easy, a good compromise between living dangerously and wasting too much time in the effort of a complete implementation of all the MoCon commands.

Lorenzo Busoni

◆ send() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::send ( std::string  _cardNo,
std::string  _commandID,
std::string  _moduleNo,
std::string  _selectID,
std::string  _parameter,
std::string  _numberOfLines 
)
virtual

This method send the command string to the electronic.

This method is set to public due to requests from Lorenzo Busoni. BUT THE USER OF THIS METHOD TAKE OVER THE RESPONSIBILITY OF THE CORRECT ERROR HANDLING. THE DRIVER DOES NOT HAVE THE CONTROL OVER THAT DEVICE ANY MORE.

Parameters
_commandIDthe command ID
_cardNothe ID of the MPIA electronic card
_moduleNothe ID of the device module
_selectIDthe sub command ID
_parameterthe parameter as string
_numberOfLinesthe number of lines that might be read

Hi Martin,

that's exactly what I was thinking: The use case is (real example from our experience): we discover at the telescope that we need to continuously monitor a given property (PropA) of the MoCon (obviously because of a malfunctioning in the hardware!). Without this monitor, we will be stuck. You can add the required functionality in the Mocca adding the function getPropA: this requires 4 hours and the day is lost. The day after you are stuck because you discover that you miss PropB, and the day is lost again. As an alternative, one can add the 2 lines below in the code (with a comment: "1 10 0 = getPropA") and this requires 5 minutes. The day after one can add a similar line with 1 11 0. When you're back in Europe you implement getPropA and getPropB in Mocca and you cleanup the code removing the receiveResponseForComment

Generally speaking I think it is a safe idea to have a generic interface to access EVERY possible functionality of a device, because soon or later you'll need it. In the case of the Mocon it is quite easy, a good compromise between living dangerously and wasting too much time in the effort of a complete implementation of all the MoCon commands.

Lorenzo Busoni

◆ setPosition() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::setPosition ( IfSvcType  _position,
std::string  _unit 
)
virtual

Change the absolute position of all motors.

The motor will not move, but the current absolute position will be set to the given position value. The new position value can only be inside the travel range.

Parameters
_unitthe unit in which the position value should be converted
_positiona vector with the new absolute position of all motors

◆ setPosition() [2/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::setPosition ( IfSvcType  _position,
std::string  _unit 
)
virtual

Change the absolute position of all motors.

The motor will not move, but the current absolute position will be set to the given position value. The new position value can only be inside the travel range.

Parameters
_unitthe unit in which the position value should be converted
_positiona vector with the new absolute position of all motors

◆ setPosition() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::setPosition ( IfSvcType  _position,
std::string  _unit 
)
virtual

Change the absolute position of all motors.

The motor will not move, but the current absolute position will be set to the given position value. The new position value can only be inside the travel range.

Parameters
_unitthe unit in which the position value should be converted
_positiona vector with the new absolute position of all motors

◆ setVelocity() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::setVelocity ( IfDevType  _velocity)
virtual

This method set the velocity in the device.

Parameters
_velocity

◆ setVelocity() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::setVelocity ( IfDevType  _velocity)
virtual

This method set the velocity in the device.

Parameters
_velocity

◆ setVelocity() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::setVelocity ( IfDevType  _velocity)
virtual

This method set the velocity in the device.

Parameters
_velocity

◆ startProfile() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::startProfile ( const Nice::Date ,
const Nice::NPoint ,
Nice::Time  ,
Nice::U32  ,
Nice::U32   
)
inlinevirtual

This method prepare the motor controller with a new external profile.

Parameters
_positionSequenceXa vector of points that describe the trajectory of the motor X
_positionSequenceYa vector of points that describe the trajectory of the motor Y
_timeResolutionsegmentLength / samplesPerSegment
_samplesPerSegmentsamples per segment
_maxErrorthe maximal error that the external profile can have after the conversion to a MoCon profile This method start the profile at a certain date.
_startDateXthe start date of motor X. Use Basda::Now to start the profile immediately and Basda::STAY in order not to start the profile
_startDateYthe start date of motor Y. Use Basda::Now to start the profile immediately and Basda::STAY in order not to start the profile

◆ startProfile() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::startProfile ( const Nice::Date ,
const Nice::NPoint ,
Nice::Time  ,
Nice::U32  ,
Nice::U32   
)
inlinevirtual

This method prepare the motor controller with a new external profile.

Parameters
_positionSequenceXa vector of points that describe the trajectory of the motor X
_positionSequenceYa vector of points that describe the trajectory of the motor Y
_timeResolutionsegmentLength / samplesPerSegment
_samplesPerSegmentsamples per segment
_maxErrorthe maximal error that the external profile can have after the conversion to a MoCon profile This method start the profile at a certain date.
_startDateXthe start date of motor X. Use Basda::Now to start the profile immediately and Basda::STAY in order not to start the profile
_startDateYthe start date of motor Y. Use Basda::Now to start the profile immediately and Basda::STAY in order not to start the profile

◆ startProfile() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::startProfile ( const Nice::Date ,
const Nice::NPoint ,
Nice::Time  ,
Nice::U32  ,
Nice::U32   
)
inlinevirtual

This method prepare the motor controller with a new external profile.

Parameters
_positionSequenceXa vector of points that describe the trajectory of the motor X
_positionSequenceYa vector of points that describe the trajectory of the motor Y
_timeResolutionsegmentLength / samplesPerSegment
_samplesPerSegmentsamples per segment
_maxErrorthe maximal error that the external profile can have after the conversion to a MoCon profile This method start the profile at a certain date.
_startDateXthe start date of motor X. Use Basda::Now to start the profile immediately and Basda::STAY in order not to start the profile
_startDateYthe start date of motor Y. Use Basda::Now to start the profile immediately and Basda::STAY in order not to start the profile

◆ status() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::status ( )
protectedvirtual

The method calls different commands in order to update the status.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ status() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::status ( )
protectedvirtual

The method calls different commands in order to update the status.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ status() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::status ( )
protectedvirtual

The method calls different commands in order to update the status.

Reimplemented in Basda::MoccaWheelServiceWorker, and Basda::MoccaWheelServiceWorker.

◆ stop() [1/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::stop ( )
virtual

This method stop all moving motors smoothly.

◆ stop() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::stop ( )
virtual

This method stop all moving motors smoothly.

◆ stop() [3/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::stop ( )
virtual

This method stop all moving motors smoothly.

◆ terminate() [1/3]

template<typename DevType , typename SvcType , typename TransType , typename SkelType >
void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::terminate ( )
virtual

This method shut down the device.

◆ terminate() [2/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::terminate ( )
virtual

This method shut down the device.

◆ terminate() [3/3]

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
virtual void Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::terminate ( )
virtual

This method shut down the device.

Member Data Documentation

◆ m_basicUnit

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
std::string Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_basicUnit
protected

◆ m_delay

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
Nice::Time Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_delay
protected

◆ m_delayDefault

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
Nice::Time Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_delayDefault
protected

◆ m_device

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
MoccaNDevicePtr Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_device
protected

the object to call the xy device

◆ m_deviceAsync

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
DeviceAsyncImpl Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_deviceAsync
protected

the master object ????

the call back object for the devices

◆ m_deviceCmdAsync

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
DeviceCmdAsyncImpl Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_deviceCmdAsync
protected

the call back object for the devices

◆ m_namedPosAbsNameString

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
SeqString Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_namedPosAbsNameString
protected

◆ m_numberOfUnits

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
int Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_numberOfUnits
protected

◆ m_stopProfile

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
bool Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_stopProfile
protected

◆ m_unitNamePrecMap

template<typename DevType, typename SvcType, typename TransType, typename SkelType>
std::map< std::string, int > Basda::MoccaNServiceWorkerCore< DevType, SvcType, TransType, SkelType >::m_unitNamePrecMap
protected

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