Classes | |
class | SessionState |
Public Member Functions | |
void | Destroy () |
EnvironmentBasePtr | GetParentEnvironment () const |
bool | Init () |
SessionServer () | |
bool | SetViewer (EnvironmentBasePtr penv, const string &viewer, const string &title) |
virtual void | shutdown () |
virtual | ~SessionServer () |
Protected Member Functions | |
template<class MReq > | |
SessionState | getstate (const MReq &req) |
bool | session_callback (openrave_session::Request &req, openrave_session::Response &res) |
virtual void | ViewerThread () |
Protected Attributes | |
boost::condition | _conditionViewer |
map< string, ros::ServiceServer > | _mapservices |
map< int, SessionState > | _mapsessions |
boost::mutex | _mutexsession |
boost::mutex | _mutexViewer |
bool | _ok |
EnvironmentBasePtr | _penvViewer |
EnvironmentBasePtr | _pParentEnvironment |
ViewerBasePtr | _pviewer |
boost::shared_ptr < ros::NodeHandle > | _ros |
ros::ServiceServer | _srvSession |
string | _strviewer |
string | _strviewertitle |
boost::thread | _threadviewer |
persistent thread (qtcoin openrave plugin needs this) | |
Private Attributes | |
string | _sessionname |
Definition at line 52 of file rossessionserver.cpp.
SessionServer::SessionServer | ( | ) | [inline] |
Definition at line 73 of file rossessionserver.cpp.
virtual SessionServer::~SessionServer | ( | ) | [inline, virtual] |
Definition at line 76 of file rossessionserver.cpp.
void SessionServer::Destroy | ( | ) | [inline] |
Definition at line 131 of file rossessionserver.cpp.
EnvironmentBasePtr SessionServer::GetParentEnvironment | ( | ) | const [inline] |
Definition at line 175 of file rossessionserver.cpp.
SessionState SessionServer::getstate | ( | const MReq & | req | ) | [inline, protected] |
Definition at line 244 of file rossessionserver.cpp.
bool SessionServer::Init | ( | ) | [inline] |
Definition at line 80 of file rossessionserver.cpp.
bool SessionServer::session_callback | ( | openrave_session::Request & | req, |
openrave_session::Response & | res | ||
) | [inline, protected] |
Definition at line 262 of file rossessionserver.cpp.
bool SessionServer::SetViewer | ( | EnvironmentBasePtr | penv, |
const string & | viewer, | ||
const string & | title | ||
) | [inline] |
Definition at line 151 of file rossessionserver.cpp.
virtual void SessionServer::shutdown | ( | ) | [inline, virtual] |
Definition at line 140 of file rossessionserver.cpp.
virtual void SessionServer::ViewerThread | ( | ) | [inline, protected, virtual] |
Definition at line 199 of file rossessionserver.cpp.
boost::condition SessionServer::_conditionViewer [protected] |
Definition at line 193 of file rossessionserver.cpp.
map<string,ros::ServiceServer> SessionServer::_mapservices [protected] |
Definition at line 183 of file rossessionserver.cpp.
map<int,SessionState> SessionServer::_mapsessions [protected] |
Definition at line 185 of file rossessionserver.cpp.
boost::mutex SessionServer::_mutexsession [protected] |
Definition at line 186 of file rossessionserver.cpp.
boost::mutex SessionServer::_mutexViewer [protected] |
Definition at line 192 of file rossessionserver.cpp.
bool SessionServer::_ok [protected] |
Definition at line 197 of file rossessionserver.cpp.
EnvironmentBasePtr SessionServer::_penvViewer [protected] |
Definition at line 194 of file rossessionserver.cpp.
EnvironmentBasePtr SessionServer::_pParentEnvironment [protected] |
Definition at line 187 of file rossessionserver.cpp.
ViewerBasePtr SessionServer::_pviewer [protected] |
Definition at line 190 of file rossessionserver.cpp.
boost::shared_ptr<ros::NodeHandle> SessionServer::_ros [protected] |
Definition at line 181 of file rossessionserver.cpp.
string SessionServer::_sessionname [private] |
Definition at line 71 of file rossessionserver.cpp.
ros::ServiceServer SessionServer::_srvSession [protected] |
Definition at line 182 of file rossessionserver.cpp.
string SessionServer::_strviewer [protected] |
Definition at line 195 of file rossessionserver.cpp.
string SessionServer::_strviewertitle [protected] |
Definition at line 195 of file rossessionserver.cpp.
boost::thread SessionServer::_threadviewer [protected] |
persistent thread (qtcoin openrave plugin needs this)
Definition at line 191 of file rossessionserver.cpp.