TwiceAsNice
2019-02-18
|
#include <TTServiceWorkerInterface.h>
Static Public Attributes | |
static std::map< std::string, Nice::CompletionState > | s_enumMapStringToNum |
Protected Member Functions | |
MoccaTTServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0) | |
virtual | ~MoccaTTServiceWorkerInterface () |
MoccaTTServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0) | |
virtual | ~MoccaTTServiceWorkerInterface () |
![]() | |
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::MoccaTTServiceWorkerInterface::dumpStatusInformation | ( | ) |
void Basda::MoccaTTServiceWorkerInterface::dumpStatusInformation | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::dumpStatusInformationCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::dumpStatusInformationCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::dumpStatusInformationStart | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::dumpStatusInformationStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
Nice::Point Basda::MoccaTTServiceWorkerInterface::getAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getCurrentTime | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getCurrentTime | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getDeviceEncoderPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getDeviceEncoderPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getNamedPosition | ( | int | _named_position | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getNamedPosition | ( | int | _named_position | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::SeqBitSet Basda::MoccaTTServiceWorkerInterface::getPositionSwitchStatus | ( | ) |
Nice::SeqBitSet Basda::MoccaTTServiceWorkerInterface::getPositionSwitchStatus | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getVelocity | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::getVelocity | ( | ) |
void Basda::MoccaTTServiceWorkerInterface::init | ( | ) |
void Basda::MoccaTTServiceWorkerInterface::init | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isAtHome | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isAtHome | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isAtLimit | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isAtLimit | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isMoving | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isMoving | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isReachable | ( | ) |
bool Basda::MoccaTTServiceWorkerInterface::isReachable | ( | ) |
void Basda::MoccaTTServiceWorkerInterface::moveAbsolute | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTTServiceWorkerInterface::moveAbsolute | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveAbsoluteCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveAbsoluteCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveAbsoluteStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveAbsoluteStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
void Basda::MoccaTTServiceWorkerInterface::moveRelative | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTTServiceWorkerInterface::moveRelative | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveRelativeCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveRelativeCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveRelativeStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveRelativeStart | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
void Basda::MoccaTTServiceWorkerInterface::moveToHome | ( | ) |
void Basda::MoccaTTServiceWorkerInterface::moveToHome | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeCompletion | ( | ) |
void Basda::MoccaTTServiceWorkerInterface::moveToHomeSingle | ( | int | _motor | ) |
void Basda::MoccaTTServiceWorkerInterface::moveToHomeSingle | ( | int | _motor | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeSingleCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeSingleCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeSingleStart | ( | int | _motor | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeSingleStart | ( | int | _motor | ) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeStart | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToHomeStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
void Basda::MoccaTTServiceWorkerInterface::moveToLimit | ( | const Nice::Point & | _limit | ) |
void Basda::MoccaTTServiceWorkerInterface::moveToLimit | ( | const Nice::Point & | _limit | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToLimitCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToLimitCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToLimitStart | ( | const Nice::Point & | _limit | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToLimitStart | ( | const Nice::Point & | _limit | ) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
void Basda::MoccaTTServiceWorkerInterface::moveToNamedPosition | ( | int | _named_position | ) |
void Basda::MoccaTTServiceWorkerInterface::moveToNamedPosition | ( | int | _named_position | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToNamedPositionCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToNamedPositionCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToNamedPositionStart | ( | int | _named_position | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::moveToNamedPositionStart | ( | int | _named_position | ) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
Nice::Point Basda::MoccaTTServiceWorkerInterface::readAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::readAbsoluteEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::readDeviceEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::readDeviceEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::readIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::readIncrementalEncoderPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::readPosition | ( | ) |
Nice::Point Basda::MoccaTTServiceWorkerInterface::readPosition | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::readServiceName | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::readServiceName | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::receive | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::receive | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveCompletion | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::receiveDataRaw | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
std::string Basda::MoccaTTServiceWorkerInterface::receiveDataRaw | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveDataRawCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveDataRawCompletion | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::receiveDataRawGet | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::receiveDataRawGet | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveDataRawStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveDataRawStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
std::string Basda::MoccaTTServiceWorkerInterface::receiveGet | ( | ) |
std::string Basda::MoccaTTServiceWorkerInterface::receiveGet | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveStart | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::receiveStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
void Basda::MoccaTTServiceWorkerInterface::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::MoccaTTServiceWorkerInterface::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::MoccaTTServiceWorkerInterface::sendCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::sendCompletion | ( | ) |
Nice::Completion Basda::MoccaTTServiceWorkerInterface::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::MoccaTTServiceWorkerInterface::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::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTTServiceWorkerInterfacePy, and Basda::MoccaTTServiceWorkerInterfacePy.
void Basda::MoccaTTServiceWorkerInterface::setPosition | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTTServiceWorkerInterface::setPosition | ( | const Nice::Point & | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTTServiceWorkerInterface::setVelocity | ( | const Nice::Point & | _velocity | ) |
void Basda::MoccaTTServiceWorkerInterface::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 |