Classes | Defines | Functions
rossessionserver.cpp File Reference
#include "openraveros.h"
#include <openraveros/openrave_session.h>
Include dependency graph for rossessionserver.cpp:

Go to the source code of this file.

Classes

class  SessionServer
class  SessionServer::SessionState

Defines

#define REFLECT_SERVICE(srvname)

Functions

 BOOST_STATIC_ASSERT ((int) Clone_Bodies==(int) openrave_session::Request::CloneBodies)
 BOOST_STATIC_ASSERT ((int) ActiveDOFs::DOF_X==(int) RobotBase::DOF_X)
 BOOST_STATIC_ASSERT ((int) ActiveDOFs::DOF_Y==(int) RobotBase::DOF_Y)
 BOOST_STATIC_ASSERT ((int) ActiveDOFs::DOF_Z==(int) RobotBase::DOF_Z)
 BOOST_STATIC_ASSERT ((int) ActiveDOFs::DOF_RotationAxis==(int) RobotBase::DOF_RotationAxis)
 BOOST_STATIC_ASSERT ((int) ActiveDOFs::DOF_Rotation3D==(int) RobotBase::DOF_Rotation3D)
 BOOST_STATIC_ASSERT ((int) ActiveDOFs::DOF_RotationQuat==(int) RobotBase::DOF_RotationQuat)
 BOOST_STATIC_ASSERT ((int) env_checkcollision::Request::CO_Distance==(int) CO_Distance)
 BOOST_STATIC_ASSERT ((int) env_checkcollision::Request::CO_UseTolerance==(int) CO_UseTolerance)
 BOOST_STATIC_ASSERT ((int) env_checkcollision::Request::CO_Contacts==(int) CO_Contacts)
 BOOST_STATIC_ASSERT ((int) env_checkcollision::Request::CO_RayAnyHit==(int) CO_RayAnyHit)

Define Documentation

#define REFLECT_SERVICE (   srvname)
Value:
bool srvname ## _srv(srvname::Request& req, srvname::Response& res) \
    { \
        SessionState state = getstate(req); /* need separate copy in order to guarantee thread safety */ \
        if( !state._pserver ) { \
            RAVELOG_INFOA("failed to find session for service %s\n", # srvname); \
            return false; \
        } \
        return state._pserver->srvname ## _srv(req,res); \
    }

Definition at line 41 of file rossessionserver.cpp.


Function Documentation

BOOST_STATIC_ASSERT ( (int)  Clone_Bodies = =(int) openrave_session::Request::CloneBodies)
BOOST_STATIC_ASSERT ( (int) ActiveDOFs::DOF_X  = =(int) RobotBase::DOF_X)
BOOST_STATIC_ASSERT ( (int) ActiveDOFs::DOF_Y  = =(int) RobotBase::DOF_Y)
BOOST_STATIC_ASSERT ( (int) ActiveDOFs::DOF_Z  = =(int) RobotBase::DOF_Z)
BOOST_STATIC_ASSERT ( (int) ActiveDOFs::DOF_RotationAxis  = =(int) RobotBase::DOF_RotationAxis)
BOOST_STATIC_ASSERT ( (int) ActiveDOFs::DOF_Rotation3D  = =(int) RobotBase::DOF_Rotation3D)
BOOST_STATIC_ASSERT ( (int) ActiveDOFs::DOF_RotationQuat  = =(int) RobotBase::DOF_RotationQuat)
BOOST_STATIC_ASSERT ( (int) env_checkcollision::Request::CO_Distance  = =(int) CO_Distance)
BOOST_STATIC_ASSERT ( (int) env_checkcollision::Request::CO_UseTolerance  = =(int) CO_UseTolerance)
BOOST_STATIC_ASSERT ( (int) env_checkcollision::Request::CO_Contacts  = =(int) CO_Contacts)
BOOST_STATIC_ASSERT ( (int) env_checkcollision::Request::CO_RayAnyHit  = =(int) CO_RayAnyHit)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


openraveros
Author(s): Rosen Diankov (rosen.diankov@gmail.com)
autogenerated on Sat Mar 23 2013 22:16:10