TwiceAsNice  2019-02-18
Public Member Functions | List of all members
Laos::DrotServiceWorkerSkeletonPython Class Reference

#include <LaosDrotServiceWorkerSkeletonPython.h>

Inheritance diagram for Laos::DrotServiceWorkerSkeletonPython:
Inheritance graph
Collaboration diagram for Laos::DrotServiceWorkerSkeletonPython:
Collaboration graph

Public Member Functions

 DrotServiceWorkerSkeletonPython (const Nice::JointPtr &_config)
 
virtual ~DrotServiceWorkerSkeletonPython ()
 
virtual void stop ()
 
virtual void abort ()
 
virtual bool isReachable ()
 
virtual double getPosition (std::string _unit)
 
virtual void setPosition (double _position, std::string _unit)
 
virtual double getDeviceEncoderPosition (std::string _unit)
 
virtual double getAbsoluteEncoderPosition ()
 
virtual double getIncrementalEncoderPosition ()
 
virtual double convertPosition (double _position, bool _absolute, std::string _unit_from, std::string _unit_to)
 
virtual double getVelocity ()
 
virtual bool isAtHome ()
 
virtual bool isAtLimit ()
 
virtual bool isMoving ()
 
virtual double getNamedPosition (int _named_position)
 
virtual std::string getRA ()
 
virtual void changeDerotationWithAbsoluteOffset (const Nice::Date &_start_date, double _position, std::string _unit)
 
virtual void changeDerotationWithRelativeOffset (const Nice::Date &_start_date, double _position, std::string _unit)
 
virtual Nice::SeqPoint getKFPCoordinates ()
 
virtual lbto::SeqPos2 getPresetStars ()
 
virtual std::string getLINCstation ()
 
virtual double getParallacticAngle ()
 
virtual bool isSlewing ()
 
virtual void moveRelative (double _position, std::string _unit)
 
virtual void moveAbsolute (double _position, std::string _unit)
 
virtual void moveToHome ()
 
virtual void rewind (Nice::Time _durat, bool _go, Nice::Time _delay)
 
virtual void moveToLimit (double _limit)
 
virtual void moveToNamedPosition (int _named_position)
 
virtual void startDerotation (const Nice::Date &_start_date, double _position, std::string _unit)
 
virtual void startDerotationHere (const Nice::Date &_start_date)
 
- Public Member Functions inherited from Basda::PythonServiceWorker< DrotServiceWorkerSkeleton >
 PythonServiceWorker (const Nice::JointPtr &_config)
 
 PythonServiceWorker (const Nice::JointPtr &_config)
 
virtual ~PythonServiceWorker ()
 
virtual ~PythonServiceWorker ()
 
virtual void waitForNewState ()
 
virtual void waitForNewState ()
 
virtual bool timedWaitForNewState (const Nice::Time &_timeout)
 
virtual bool timedWaitForNewState (const Nice::Time &_timeout)
 
virtual void preinit ()
 
virtual void preinit ()
 
virtual void init ()
 
virtual void init ()
 
virtual void deinit ()
 
virtual void deinit ()
 
virtual void activate ()
 
virtual void activate ()
 
virtual void deactivate ()
 
virtual void deactivate ()
 
virtual void terminate ()
 
virtual void terminate ()
 
virtual void errorOffline ()
 
virtual void errorOffline ()
 
virtual void errorStandby ()
 
virtual void errorStandby ()
 
virtual void errorOnline ()
 
virtual void errorOnline ()
 
virtual void errorWorking ()
 
virtual void errorWorking ()
 
virtual void idleOffline ()
 
virtual void idleOffline ()
 
virtual void idleStandby ()
 
virtual void idleStandby ()
 
virtual void idleOnline ()
 
virtual void idleOnline ()
 

Additional Inherited Members

- Protected Member Functions inherited from Basda::PythonServiceWorker< DrotServiceWorkerSkeleton >
virtual Nice::CompletionState reload (Nice::CommandFun< PythonServiceWorker > *_cmd, bool &_abort)
 
virtual Nice::CompletionState reload (Nice::CommandFun< PythonServiceWorker > *_cmd, bool &_abort)
 
virtual void handleException ()
 
virtual void handleException ()
 
void execPython (const char *_py)
 
void execPython (const char *_py, const Type1 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &)
 
void execPython (const char *_py)
 
void execPython (const char *_py, const Type1 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &)
 
void execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &)
 
TypeRet execPythonWithRet (const char *_py)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &)
 
TypeRet execPythonWithRet (const char *_py)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &)
 
TypeRet execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &)
 
- Protected Attributes inherited from Basda::PythonServiceWorker< DrotServiceWorkerSkeleton >
bp::object m_pyModule
 
bp::object m_pyClass
 
bp::object m_pyInstance
 

Constructor & Destructor Documentation

◆ DrotServiceWorkerSkeletonPython()

Laos::DrotServiceWorkerSkeletonPython::DrotServiceWorkerSkeletonPython ( const Nice::JointPtr _config)

◆ ~DrotServiceWorkerSkeletonPython()

Laos::DrotServiceWorkerSkeletonPython::~DrotServiceWorkerSkeletonPython ( )
virtual

Member Function Documentation

◆ abort()

void Laos::DrotServiceWorkerSkeletonPython::abort ( void  )
virtual

◆ changeDerotationWithAbsoluteOffset()

void Laos::DrotServiceWorkerSkeletonPython::changeDerotationWithAbsoluteOffset ( const Nice::Date _start_date,
double  _position,
std::string  _unit 
)
virtual

◆ changeDerotationWithRelativeOffset()

void Laos::DrotServiceWorkerSkeletonPython::changeDerotationWithRelativeOffset ( const Nice::Date _start_date,
double  _position,
std::string  _unit 
)
virtual

◆ convertPosition()

double Laos::DrotServiceWorkerSkeletonPython::convertPosition ( double  _position,
bool  _absolute,
std::string  _unit_from,
std::string  _unit_to 
)
virtual

◆ getAbsoluteEncoderPosition()

double Laos::DrotServiceWorkerSkeletonPython::getAbsoluteEncoderPosition ( )
virtual

◆ getDeviceEncoderPosition()

double Laos::DrotServiceWorkerSkeletonPython::getDeviceEncoderPosition ( std::string  _unit)
virtual

◆ getIncrementalEncoderPosition()

double Laos::DrotServiceWorkerSkeletonPython::getIncrementalEncoderPosition ( )
virtual

◆ getKFPCoordinates()

Nice::SeqPoint Laos::DrotServiceWorkerSkeletonPython::getKFPCoordinates ( )
virtual

◆ getLINCstation()

std::string Laos::DrotServiceWorkerSkeletonPython::getLINCstation ( )
virtual

◆ getNamedPosition()

double Laos::DrotServiceWorkerSkeletonPython::getNamedPosition ( int  _named_position)
virtual

◆ getParallacticAngle()

double Laos::DrotServiceWorkerSkeletonPython::getParallacticAngle ( )
virtual

◆ getPosition()

double Laos::DrotServiceWorkerSkeletonPython::getPosition ( std::string  _unit)
virtual

◆ getPresetStars()

lbto::SeqPos2 Laos::DrotServiceWorkerSkeletonPython::getPresetStars ( )
virtual

◆ getRA()

std::string Laos::DrotServiceWorkerSkeletonPython::getRA ( )
virtual

◆ getVelocity()

double Laos::DrotServiceWorkerSkeletonPython::getVelocity ( )
virtual

◆ isAtHome()

bool Laos::DrotServiceWorkerSkeletonPython::isAtHome ( )
virtual

◆ isAtLimit()

bool Laos::DrotServiceWorkerSkeletonPython::isAtLimit ( )
virtual

◆ isMoving()

bool Laos::DrotServiceWorkerSkeletonPython::isMoving ( )
virtual

◆ isReachable()

bool Laos::DrotServiceWorkerSkeletonPython::isReachable ( )
virtual

◆ isSlewing()

bool Laos::DrotServiceWorkerSkeletonPython::isSlewing ( )
virtual

◆ moveAbsolute()

void Laos::DrotServiceWorkerSkeletonPython::moveAbsolute ( double  _position,
std::string  _unit 
)
virtual

◆ moveRelative()

void Laos::DrotServiceWorkerSkeletonPython::moveRelative ( double  _position,
std::string  _unit 
)
virtual

◆ moveToHome()

void Laos::DrotServiceWorkerSkeletonPython::moveToHome ( )
virtual

◆ moveToLimit()

void Laos::DrotServiceWorkerSkeletonPython::moveToLimit ( double  _limit)
virtual

◆ moveToNamedPosition()

void Laos::DrotServiceWorkerSkeletonPython::moveToNamedPosition ( int  _named_position)
virtual

◆ rewind()

void Laos::DrotServiceWorkerSkeletonPython::rewind ( Nice::Time  _durat,
bool  _go,
Nice::Time  _delay 
)
virtual

◆ setPosition()

void Laos::DrotServiceWorkerSkeletonPython::setPosition ( double  _position,
std::string  _unit 
)
virtual

◆ startDerotation()

void Laos::DrotServiceWorkerSkeletonPython::startDerotation ( const Nice::Date _start_date,
double  _position,
std::string  _unit 
)
virtual

◆ startDerotationHere()

void Laos::DrotServiceWorkerSkeletonPython::startDerotationHere ( const Nice::Date _start_date)
virtual

◆ stop()

void Laos::DrotServiceWorkerSkeletonPython::stop ( )
virtual

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