RAPP Platform
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
The mysql wrapper ros node. More...
Public Member Functions | |
def | __init__ |
Default contructor. More... | |
def | addStoreTokenToDevice |
Implements the addStoreTokenToDevice service main function. More... | |
def | addStoreTokenToDeviceDataHandler |
The addStoreTokenToDeviceSrv service callback. More... | |
def | checkActiveApplicationToken |
Implements the checkActiveRobotSession service main function. More... | |
def | checkActiveApplicationTokenDataHandler |
The checkActiveApplicationTokenSrv service callback. More... | |
def | checkActiveRobotSession |
Implements the checkActiveRobotSession service main function. More... | |
def | checkActiveRobotSessionDataHandler |
The checkActiveRobotSessionSrv service callback. More... | |
def | checkConnection |
Checks connectivity to the DB. More... | |
def | checkIfUserExists |
Implements the checkIfUserExists service main function. More... | |
def | checkIfUserExistsDataHandler |
The checkIfUserExistsSrv service callback. More... | |
def | createNewApplicationToken |
Implements the createNewApplicationToken service main function. More... | |
def | createNewApplicationTokenDataHandler |
The createNewApplicationTokenSrv service callback. More... | |
def | createNewCloudAgent |
Implements the createNewCloudAgent service main function. More... | |
def | createNewCloudAgentDataHandler |
The createNewCloudAgentSrv service callback. More... | |
def | createNewCloudAgentService |
Implements the createNewCloudAgentService service main function. More... | |
def | createNewCloudAgentServiceDataHandler |
The createNewCloudAgentServiceSrv service callback. More... | |
def | createNewPlatformUser |
Implements the createNewPlatformUser service main function. More... | |
def | createNewPlatformUserDataHandler |
The createNewPlatformUserSrv service callback. More... | |
def | getCloudAgentServiceTypeAndHostPort |
Implements the getCloudAgentServiceTypeAndHostPort service main function. More... | |
def | getCloudAgentServiceTypeAndHostPortDataHandler |
The getCloudAgentServiceTypeAndHostPortSrv service callback. More... | |
def | getLogin |
Loads login details from file. More... | |
def | getTableColumnNames |
Gets the columns of the table. More... | |
def | getUserLanguage |
Implements the getUserLanguage service main function. More... | |
def | getUserLanguageDataHandler |
The getUserLanguage service callback. More... | |
def | getUsernameAssociatedWithApplicationToken |
Implements the getUsernameAssociatedWithApplicationToken service main function. More... | |
def | getUsernameAssociatedWithApplicationTokenDataHandler |
The getUsernameAssociatedWithApplicationTokenSrv service callback. More... | |
def | getUserOntologyAlias |
Implements the getUserOntologyAlias service main function. More... | |
def | getUserOntologyAliasDataHandler |
The getUserOntologyAlias service callback. More... | |
def | getUserPassword |
Implements the getUserPassword service main function. More... | |
def | getUserPasswordDataHandler |
The getUserPasswordSrv service callback. More... | |
def | registerNewTokenDataHandler |
The registerNewTokenSrv service callback. More... | |
def | registerUserOntologyAlias |
Implements the registerUserOntologyAlias service main function. More... | |
def | registerUserOntologyAliasDataHandler |
The registerUserOntologyAliasSrv service callback. More... | |
def | removePlatformUser |
Implements the removePlatformUser service main function. More... | |
def | removePlatformUserDataHandler |
The removePlatformUserSrv service callback. More... | |
def | validateExistingPlatformDeviceToken |
Implements the validateExistingPlatformDeviceToken service main function. More... | |
def | validateExistingPlatformDeviceTokenDataHandler |
The validateExistingPlatformDeviceTokenSrv service callback. More... | |
def | validateUserRole |
Implements the validateUserRole service main function. More... | |
def | validateUserRoleDataHandler |
The validateUserRoleSrv service callback. More... | |
Public Attributes | |
serv | |
serv_topic | |
The mysql wrapper ros node.
Definition at line 79 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.__init__ | ( | self | ) |
Default contructor.
Declares the callbacks of the node's services
Definition at line 84 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.addStoreTokenToDevice | ( | self, | |
req | |||
) |
Implements the addStoreTokenToDevice service main function.
req | [rapp_platform_ros_communications::addStoreTokenToDeviceSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 507 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.addStoreTokenToDeviceDataHandler | ( | self, | |
req | |||
) |
The addStoreTokenToDeviceSrv service callback.
req | [rapp_platform_ros_communications::addStoreTokenToDeviceSrvRequest::Request&] The ROS service request |
Definition at line 924 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.checkActiveApplicationToken | ( | self, | |
req | |||
) |
Implements the checkActiveRobotSession service main function.
req | [rapp_platform_ros_communications::checkActiveRobotSessionSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 613 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.checkActiveApplicationTokenDataHandler | ( | self, | |
req | |||
) |
The checkActiveApplicationTokenSrv service callback.
req | [rapp_platform_ros_communications::checkActiveApplicationTokenSrvResponse::Request&] The ROS service request |
Definition at line 908 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.checkActiveRobotSession | ( | self, | |
req | |||
) |
Implements the checkActiveRobotSession service main function.
req | [rapp_platform_ros_communications::checkActiveRobotSessionSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 576 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.checkActiveRobotSessionDataHandler | ( | self, | |
req | |||
) |
The checkActiveRobotSessionSrv service callback.
req | [rapp_platform_ros_communications::checkActiveRobotSessionSrvRequest::Request&] The ROS service request |
Definition at line 916 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.checkConnection | ( | self | ) |
Checks connectivity to the DB.
Definition at line 821 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.checkIfUserExists | ( | self, | |
req | |||
) |
Implements the checkIfUserExists service main function.
req | [rapp_platform_ros_communications::checkIfUserExistsSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 291 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.checkIfUserExistsDataHandler | ( | self, | |
req | |||
) |
The checkIfUserExistsSrv service callback.
req | [rapp_platform_ros_communications::checkIfUserExistsSrvResponse::Request&] The ROS service request |
Definition at line 868 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewApplicationToken | ( | self, | |
req | |||
) |
Implements the createNewApplicationToken service main function.
req | [rapp_platform_ros_communications::createNewApplicationTokenSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 472 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewApplicationTokenDataHandler | ( | self, | |
req | |||
) |
The createNewApplicationTokenSrv service callback.
req | [rapp_platform_ros_communications::createNewApplicationTokenSrvResponse::Request&] The ROS service request |
Definition at line 900 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewCloudAgent | ( | self, | |
req | |||
) |
Implements the createNewCloudAgent service main function.
req | [rapp_platform_ros_communications::createNewCloudAgentSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 688 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewCloudAgentDataHandler | ( | self, | |
req | |||
) |
The createNewCloudAgentSrv service callback.
req | [rapp_platform_ros_communications::createNewCloudAgentSrvRequest::Request&] The ROS service request |
Definition at line 956 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewCloudAgentService | ( | self, | |
req | |||
) |
Implements the createNewCloudAgentService service main function.
req | [rapp_platform_ros_communications::createNewCloudAgentServiceSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 723 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewCloudAgentServiceDataHandler | ( | self, | |
req | |||
) |
The createNewCloudAgentServiceSrv service callback.
req | [rapp_platform_ros_communications::createNewCloudAgentServiceSrvRequest::Request&] The ROS service request |
Definition at line 964 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewPlatformUser | ( | self, | |
req | |||
) |
Implements the createNewPlatformUser service main function.
req | [rapp_platform_ros_communications::createNewPlatformUserSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 402 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.createNewPlatformUserDataHandler | ( | self, | |
req | |||
) |
The createNewPlatformUserSrv service callback.
req | [rapp_platform_ros_communications::createNewPlatformUserSrvResponse::Request&] The ROS service request |
Definition at line 892 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getCloudAgentServiceTypeAndHostPort | ( | self, | |
req | |||
) |
Implements the getCloudAgentServiceTypeAndHostPort service main function.
req | [rapp_platform_ros_communications::getCloudAgentServiceTypeAndHostPortSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 759 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getCloudAgentServiceTypeAndHostPortDataHandler | ( | self, | |
req | |||
) |
The getCloudAgentServiceTypeAndHostPortSrv service callback.
req | [rapp_platform_ros_communications::getCloudAgentServiceTypeAndHostPortSrvRequest::Request&] The ROS service request |
Definition at line 972 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getLogin | ( | self | ) |
Loads login details from file.
Definition at line 811 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getTableColumnNames | ( | self, | |
tblName | |||
) |
Gets the columns of the table.
tblName | [string] the name of the table |
Definition at line 794 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUserLanguage | ( | self, | |
req | |||
) |
Implements the getUserLanguage service main function.
req | [rapp_platform_ros_communications::getUserLanguageSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 252 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUserLanguageDataHandler | ( | self, | |
req | |||
) |
The getUserLanguage service callback.
req | [rapp_platform_ros_communications::getUserLanguageSrvResponse::Request&] The ROS service request |
Definition at line 852 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUsernameAssociatedWithApplicationToken | ( | self, | |
req | |||
) |
Implements the getUsernameAssociatedWithApplicationToken service main function.
req | [rapp_platform_ros_communications::getUsernameAssociatedWithApplicationTokenSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 365 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUsernameAssociatedWithApplicationTokenDataHandler | ( | self, | |
req | |||
) |
The getUsernameAssociatedWithApplicationTokenSrv service callback.
req | [rapp_platform_ros_communications::getUsernameAssociatedWithApplicationTokenSrvResponse::Request&] The ROS service request |
Definition at line 884 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUserOntologyAlias | ( | self, | |
req | |||
) |
Implements the getUserOntologyAlias service main function.
req | [rapp_platform_ros_communications::getUserOntologyAliasSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 179 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUserOntologyAliasDataHandler | ( | self, | |
req | |||
) |
The getUserOntologyAlias service callback.
req | [rapp_platform_ros_communications::getUserOntologyAliasSrvResponse::Request&] The ROS service request |
Definition at line 836 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUserPassword | ( | self, | |
req | |||
) |
Implements the getUserPassword service main function.
req | [rapp_platform_ros_communications::getUserPasswordSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 328 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.getUserPasswordDataHandler | ( | self, | |
req | |||
) |
The getUserPasswordSrv service callback.
req | [rapp_platform_ros_communications::getUserPasswordSrvResponse::Request&] The ROS service request |
Definition at line 876 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.registerNewTokenDataHandler | ( | self, | |
req | |||
) |
The registerNewTokenSrv service callback.
req | [rapp_platform_ros_communications::registerNewTokenSrvResponse::Request&] The ROS service request |
Definition at line 860 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.registerUserOntologyAlias | ( | self, | |
req | |||
) |
Implements the registerUserOntologyAlias service main function.
req | [rapp_platform_ros_communications::registerUserOntologyAliasSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 216 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.registerUserOntologyAliasDataHandler | ( | self, | |
req | |||
) |
The registerUserOntologyAliasSrv service callback.
req | [rapp_platform_ros_communications::registerUserOntologyAliasSrvResponse::Request&] The ROS service request |
Definition at line 844 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.removePlatformUser | ( | self, | |
req | |||
) |
Implements the removePlatformUser service main function.
req | [rapp_platform_ros_communications::removePlatformUserSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 437 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.removePlatformUserDataHandler | ( | self, | |
req | |||
) |
The removePlatformUserSrv service callback.
req | [rapp_platform_ros_communications::removePlatformUserSrvRequest::Request&] The ROS service request |
Definition at line 948 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.validateExistingPlatformDeviceToken | ( | self, | |
req | |||
) |
Implements the validateExistingPlatformDeviceToken service main function.
req | [rapp_platform_ros_communications::validateExistingPlatformDeviceTokenSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 650 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.validateExistingPlatformDeviceTokenDataHandler | ( | self, | |
req | |||
) |
The validateExistingPlatformDeviceTokenSrv service callback.
req | [rapp_platform_ros_communications::validateExistingPlatformDeviceTokenSrvRequest::Request&] The ROS service request |
Definition at line 940 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.validateUserRole | ( | self, | |
req | |||
) |
Implements the validateUserRole service main function.
req | [rapp_platform_ros_communications::validateUserRoleSrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | mdbError |
Definition at line 543 of file mysql_wrapper.py.
def mysql_wrapper.MySQLdbWrapper.validateUserRoleDataHandler | ( | self, | |
req | |||
) |
The validateUserRoleSrv service callback.
req | [rapp_platform_ros_communications::validateUserRoleSrvRequest::Request&] The ROS service request |
Definition at line 932 of file mysql_wrapper.py.
mysql_wrapper.MySQLdbWrapper.serv |
Definition at line 89 of file mysql_wrapper.py.
mysql_wrapper.MySQLdbWrapper.serv_topic |
Definition at line 86 of file mysql_wrapper.py.