TwiceAsNice
2019-02-18
|
#include <TrajServiceWorkerInterface.h>
Static Public Attributes | |
static std::map< std::string, Nice::CompletionState > | s_enumMapStringToNum |
Protected Member Functions | |
MoccaTrajServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0) | |
virtual | ~MoccaTrajServiceWorkerInterface () |
MoccaTrajServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0) | |
virtual | ~MoccaTrajServiceWorkerInterface () |
![]() | |
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 | |
CHANGEPROFILE | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
STARTPROFILE | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW | |
ISREACHABLE | |
GETPOSITION | |
SETPOSITION | |
GETDEVICEENCODERPOSITION | |
GETABSOLUTEENCODERPOSITION | |
GETINCREMENTALENCODERPOSITION | |
GETVELOCITY | |
SETVELOCITY | |
GETPOSITIONSWITCHSTATUS | |
GETCURRENTTIME | |
ISATHOME | |
ISATLIMIT | |
ISMOVING | |
CHANGEPROFILE | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
STARTPROFILE | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW |
Enumerator | |
---|---|
ISREACHABLE | |
GETPOSITION | |
SETPOSITION | |
GETDEVICEENCODERPOSITION | |
GETABSOLUTEENCODERPOSITION | |
GETINCREMENTALENCODERPOSITION | |
GETVELOCITY | |
SETVELOCITY | |
GETPOSITIONSWITCHSTATUS | |
GETCURRENTTIME | |
ISATHOME | |
ISATLIMIT | |
ISMOVING | |
CHANGEPROFILE | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
STARTPROFILE | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW | |
ISREACHABLE | |
GETPOSITION | |
SETPOSITION | |
GETDEVICEENCODERPOSITION | |
GETABSOLUTEENCODERPOSITION | |
GETINCREMENTALENCODERPOSITION | |
GETVELOCITY | |
SETVELOCITY | |
GETPOSITIONSWITCHSTATUS | |
GETCURRENTTIME | |
ISATHOME | |
ISATLIMIT | |
ISMOVING | |
CHANGEPROFILE | |
MOVERELATIVE | |
MOVEABSOLUTE | |
MOVETOHOME | |
MOVETOLIMIT | |
MOVETONAMEDPOSITION | |
STARTPROFILE | |
DUMPSTATUSINFORMATION | |
SEND | |
RECEIVE | |
RECEIVEDATARAW |
|
protected |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
void Basda::MoccaTrajServiceWorkerInterface::changeProfile | ( | const Nice::Date & | _start_date, |
const Nice::NPoint & | _position_sequence | ||
) |
void Basda::MoccaTrajServiceWorkerInterface::changeProfile | ( | const Nice::Date & | _start_date, |
const Nice::NPoint & | _position_sequence | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void Basda::MoccaTrajServiceWorkerInterface::dumpStatusInformation | ( | ) |
void Basda::MoccaTrajServiceWorkerInterface::dumpStatusInformation | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::dumpStatusInformationCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::dumpStatusInformationCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::dumpStatusInformationStart | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::dumpStatusInformationStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
double Basda::MoccaTrajServiceWorkerInterface::getAbsoluteEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getAbsoluteEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getCurrentTime | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getCurrentTime | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getDeviceEncoderPosition | ( | std::string | _unit = "STEPS" | ) |
double Basda::MoccaTrajServiceWorkerInterface::getDeviceEncoderPosition | ( | std::string | _unit = "STEPS" | ) |
double Basda::MoccaTrajServiceWorkerInterface::getIncrementalEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getIncrementalEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getPosition | ( | std::string | _unit = "STEPS" | ) |
double Basda::MoccaTrajServiceWorkerInterface::getPosition | ( | std::string | _unit = "STEPS" | ) |
Nice::SeqBitSet Basda::MoccaTrajServiceWorkerInterface::getPositionSwitchStatus | ( | ) |
Nice::SeqBitSet Basda::MoccaTrajServiceWorkerInterface::getPositionSwitchStatus | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getVelocity | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::getVelocity | ( | ) |
void Basda::MoccaTrajServiceWorkerInterface::init | ( | ) |
void Basda::MoccaTrajServiceWorkerInterface::init | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isAtHome | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isAtHome | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isAtLimit | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isAtLimit | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isMoving | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isMoving | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isReachable | ( | ) |
bool Basda::MoccaTrajServiceWorkerInterface::isReachable | ( | ) |
void Basda::MoccaTrajServiceWorkerInterface::moveAbsolute | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTrajServiceWorkerInterface::moveAbsolute | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveAbsoluteCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveAbsoluteCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveAbsoluteStart | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveAbsoluteStart | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
void Basda::MoccaTrajServiceWorkerInterface::moveRelative | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTrajServiceWorkerInterface::moveRelative | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveRelativeCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveRelativeCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveRelativeStart | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveRelativeStart | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
void Basda::MoccaTrajServiceWorkerInterface::moveToHome | ( | ) |
void Basda::MoccaTrajServiceWorkerInterface::moveToHome | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToHomeCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToHomeCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToHomeStart | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToHomeStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
void Basda::MoccaTrajServiceWorkerInterface::moveToLimit | ( | double | _limit | ) |
void Basda::MoccaTrajServiceWorkerInterface::moveToLimit | ( | double | _limit | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToLimitCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToLimitCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToLimitStart | ( | double | _limit | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToLimitStart | ( | double | _limit | ) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
void Basda::MoccaTrajServiceWorkerInterface::moveToNamedPosition | ( | int | _named_position | ) |
void Basda::MoccaTrajServiceWorkerInterface::moveToNamedPosition | ( | int | _named_position | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToNamedPositionCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToNamedPositionCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToNamedPositionStart | ( | int | _named_position | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::moveToNamedPositionStart | ( | int | _named_position | ) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
double Basda::MoccaTrajServiceWorkerInterface::readAbsoluteEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::readAbsoluteEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::readDeviceEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::readDeviceEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::readIncrementalEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::readIncrementalEncoderPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::readPosition | ( | ) |
double Basda::MoccaTrajServiceWorkerInterface::readPosition | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::readServiceName | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::readServiceName | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::receive | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::receive | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveCompletion | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::receiveDataRaw | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
std::string Basda::MoccaTrajServiceWorkerInterface::receiveDataRaw | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveDataRawCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveDataRawCompletion | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::receiveDataRawGet | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::receiveDataRawGet | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveDataRawStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveDataRawStart | ( | std::string | _card_no, |
std::string | _cmd_id, | ||
std::string | _module_no, | ||
std::string | _lines | ||
) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
std::string Basda::MoccaTrajServiceWorkerInterface::receiveGet | ( | ) |
std::string Basda::MoccaTrajServiceWorkerInterface::receiveGet | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveStart | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::receiveStart | ( | ) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
void Basda::MoccaTrajServiceWorkerInterface::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::MoccaTrajServiceWorkerInterface::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::MoccaTrajServiceWorkerInterface::sendCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::sendCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::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::MoccaTrajServiceWorkerInterface::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::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
void Basda::MoccaTrajServiceWorkerInterface::setPosition | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTrajServiceWorkerInterface::setPosition | ( | double | _position, |
std::string | _unit = "STEPS" |
||
) |
void Basda::MoccaTrajServiceWorkerInterface::setVelocity | ( | double | _velocity | ) |
void Basda::MoccaTrajServiceWorkerInterface::setVelocity | ( | double | _velocity | ) |
void Basda::MoccaTrajServiceWorkerInterface::startProfile | ( | const Nice::Date & | _start_date, |
const Nice::NPoint & | _position_sequence, | ||
Nice::U32 | _frequency, | ||
Nice::U32 | _samples_per_segment, | ||
Nice::U32 | _max_error | ||
) |
void Basda::MoccaTrajServiceWorkerInterface::startProfile | ( | const Nice::Date & | _start_date, |
const Nice::NPoint & | _position_sequence, | ||
Nice::U32 | _frequency, | ||
Nice::U32 | _samples_per_segment, | ||
Nice::U32 | _max_error | ||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::startProfileCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::startProfileCompletion | ( | ) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::startProfileStart | ( | const Nice::Date & | _start_date, |
const Nice::NPoint & | _position_sequence, | ||
Nice::U32 | _frequency, | ||
Nice::U32 | _samples_per_segment, | ||
Nice::U32 | _max_error | ||
) |
Nice::Completion Basda::MoccaTrajServiceWorkerInterface::startProfileStart | ( | const Nice::Date & | _start_date, |
const Nice::NPoint & | _position_sequence, | ||
Nice::U32 | _frequency, | ||
Nice::U32 | _samples_per_segment, | ||
Nice::U32 | _max_error | ||
) |
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
virtual |
Reimplemented in Basda::MoccaTrajServiceWorkerInterfacePy, and Basda::MoccaTrajServiceWorkerInterfacePy.
|
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 |