TwiceAsNice
2019-02-18
|
#include <XYServiceWorkerInterface.h>
Static Public Attributes | |
static std::map< std::string, Nice::CompletionState > | s_enumMapStringToNum |
Protected Member Functions | |
MoccaXYServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0) | |
virtual | ~MoccaXYServiceWorkerInterface () |
MoccaXYServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0) | |
virtual | ~MoccaXYServiceWorkerInterface () |
![]() | |
void | addListener () |
template<typename BridgeType > | |
IceUtil::Handle< BridgeType > | addCmdBridge (const std::string &_node) |
ServiceWorkerInterface (const Nice::JointPtr &_config, const Nice::AppConfigClientPtr &_cc=0) | |
void | addListener () |
template<typename BridgeType > | |
IceUtil::Handle< BridgeType > | addCmdBridge (const std::string &_node) |
ServiceWorkerInterface (const Nice::JointPtr &_config, const Nice::AppConfigClientPtr &_cc=0) | |
Friends | |
template<typename T > | |
IceUtil::Handle< T > | Basda::getServiceWorkerInterfaceInstance (const Nice::JointPtr &, const std::string &) |
template<typename T > | |
IceUtil::Handle< T > | Basda::getServiceWorkerInterfaceInstance (const Nice::JointPtr &, const std::string &) |
Additional Inherited Members | |
![]() | |
std::string | m_identity |
Nice::I64 | m_id |
Nice::JointPtr | m_config |
Nice::AppConfigClientPtr | m_cc |
ServiceWorkerInterfaceWatchdogListener * | m_listener |
Nice::PropertyBridgeReadWaitProxyPtr | m_stateBridgeReadWaitProxy |
Basda::ServiceWorkerReadWaitCompletionProxyPtr | m_stopReadWaitProxy |
![]() | |
static std::map< std::string, ServiceWorkerInterfacePtr > | s_inst |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Enumerator | |
---|---|
ISREACHABLE | |
GETPOSITION | |
SETPOSITION | |
GETDEVICEENCODERPOSITION | |
GETABSOLUTEENCODERPOSITION | |
GETINCREMENTALENCODERPOSITION | |
GETVELOCITY | |
SETVELOCITY | |
GETPOSITIONSWITCHSTATUS | |
GETCURRENTTIME | |
ISATHOME | |
ISATLIMIT | |
ISMOVING | |
GETNAMEDPOSITION | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOHOMESINGLE | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW | |
ISREACHABLE | |
GETPOSITION | |
SETPOSITION | |
GETDEVICEENCODERPOSITION | |
GETABSOLUTEENCODERPOSITION | |
GETINCREMENTALENCODERPOSITION | |
GETVELOCITY | |
SETVELOCITY | |
GETPOSITIONSWITCHSTATUS | |
GETCURRENTTIME | |
ISATHOME | |
ISATLIMIT | |
ISMOVING | |
GETNAMEDPOSITION | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOHOMESINGLE | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW |
Enumerator | |
---|---|
ISREACHABLE | |
GETPOSITION | |
SETPOSITION | |
GETDEVICEENCODERPOSITION | |
GETABSOLUTEENCODERPOSITION | |
GETINCREMENTALENCODERPOSITION | |
GETVELOCITY | |
SETVELOCITY | |
GETPOSITIONSWITCHSTATUS | |
GETCURRENTTIME | |
ISATHOME | |
ISATLIMIT | |
ISMOVING | |
GETNAMEDPOSITION | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOHOMESINGLE | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW | |
ISREACHABLE | |
GETPOSITION | |
SETPOSITION | |
GETDEVICEENCODERPOSITION | |
GETABSOLUTEENCODERPOSITION | |
GETINCREMENTALENCODERPOSITION | |
GETVELOCITY | |
SETVELOCITY | |
GETPOSITIONSWITCHSTATUS | |
GETCURRENTTIME | |
ISATHOME | |
ISATLIMIT | |
ISMOVING | |
GETNAMEDPOSITION | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOHOMESINGLE | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW |
|
protected |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void Basda::MoccaXYServiceWorkerInterface::dumpStatusInformation | ( | ) |
void Basda::MoccaXYServiceWorkerInterface::dumpStatusInformation | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::dumpStatusInformationCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::dumpStatusInformationCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::dumpStatusInformationStart | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::dumpStatusInformationStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
Nice::Point Basda::MoccaXYServiceWorkerInterface::getAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getCurrentTime | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getCurrentTime | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getDeviceEncoderPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getDeviceEncoderPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getNamedPosition | ( | int | _named_position | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getNamedPosition | ( | int | _named_position | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::SeqBitSet Basda::MoccaXYServiceWorkerInterface::getPositionSwitchStatus | ( | ) |
Nice::SeqBitSet Basda::MoccaXYServiceWorkerInterface::getPositionSwitchStatus | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getVelocity | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::getVelocity | ( | ) |
void Basda::MoccaXYServiceWorkerInterface::init | ( | ) |
void Basda::MoccaXYServiceWorkerInterface::init | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isAtHome | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isAtHome | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isAtLimit | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isAtLimit | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isMoving | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isMoving | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isReachable | ( | ) |
bool Basda::MoccaXYServiceWorkerInterface::isReachable | ( | ) |
void Basda::MoccaXYServiceWorkerInterface::moveAbsolute | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaXYServiceWorkerInterface::moveAbsolute | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveAbsoluteCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveAbsoluteCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveAbsoluteStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveAbsoluteStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
void Basda::MoccaXYServiceWorkerInterface::moveRelative | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaXYServiceWorkerInterface::moveRelative | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveRelativeCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveRelativeCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveRelativeStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveRelativeStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
void Basda::MoccaXYServiceWorkerInterface::moveToHome | ( | ) |
void Basda::MoccaXYServiceWorkerInterface::moveToHome | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeCompletion | ( | ) |
void Basda::MoccaXYServiceWorkerInterface::moveToHomeSingle | ( | int | _motor | ) |
void Basda::MoccaXYServiceWorkerInterface::moveToHomeSingle | ( | int | _motor | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeSingleCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeSingleCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeSingleStart | ( | int | _motor | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeSingleStart | ( | int | _motor | ) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeStart | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToHomeStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
void Basda::MoccaXYServiceWorkerInterface::moveToLimit | ( | const Nice::Point & | _limit | ) |
void Basda::MoccaXYServiceWorkerInterface::moveToLimit | ( | const Nice::Point & | _limit | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToLimitCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToLimitCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToLimitStart | ( | const Nice::Point & | _limit | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToLimitStart | ( | const Nice::Point & | _limit | ) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
void Basda::MoccaXYServiceWorkerInterface::moveToNamedPosition | ( | int | _named_position | ) |
void Basda::MoccaXYServiceWorkerInterface::moveToNamedPosition | ( | int | _named_position | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToNamedPositionCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToNamedPositionCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToNamedPositionStart | ( | int | _named_position | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::moveToNamedPositionStart | ( | int | _named_position | ) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
Nice::Point Basda::MoccaXYServiceWorkerInterface::readAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::readAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::readDeviceEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::readDeviceEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::readIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::readIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::readPosition | ( | ) |
Nice::Point Basda::MoccaXYServiceWorkerInterface::readPosition | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::readServiceName | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::readServiceName | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::receive | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::receive | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveCompletion | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::receiveDataRaw | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
std::string Basda::MoccaXYServiceWorkerInterface::receiveDataRaw | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveDataRawCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveDataRawCompletion | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::receiveDataRawGet | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::receiveDataRawGet | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveDataRawStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveDataRawStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
std::string Basda::MoccaXYServiceWorkerInterface::receiveGet | ( | ) |
std::string Basda::MoccaXYServiceWorkerInterface::receiveGet | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveStart | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::receiveStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
void Basda::MoccaXYServiceWorkerInterface::send | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _select_id, | ||
std::string | _parameter, | ||
std::string | _lines | ||
) |
void Basda::MoccaXYServiceWorkerInterface::send | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _select_id, | ||
std::string | _parameter, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::sendCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::sendCompletion | ( | ) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::sendStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _select_id, | ||
std::string | _parameter, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaXYServiceWorkerInterface::sendStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _select_id, | ||
std::string | _parameter, | ||
std::string | _lines | ||
) |
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaXYServiceWorkerInterfacePy, and Basda::MoccaXYServiceWorkerInterfacePy.
void Basda::MoccaXYServiceWorkerInterface::setPosition | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaXYServiceWorkerInterface::setPosition | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaXYServiceWorkerInterface::setVelocity | ( | const Nice::Point & | _velocity | ) |
void Basda::MoccaXYServiceWorkerInterface::setVelocity | ( | const Nice::Point & | _velocity | ) |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |