irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods::server_state Class Reference

#include <irods_server_state.hpp>

Collaboration diagram for irods::server_state:

Public Member Functions

error operator() (const std::string &_s)
std::string operator() ()

Static Public Member Functions

static server_stateinstance ()

Static Public Attributes

static const std::string RUNNING
static const std::string PAUSED
static const std::string STOPPED
static const std::string EXITED

Private Member Functions

 server_state ()
 server_state (server_state &)
 server_state (const server_state &)

Private Attributes

boost::mutex mutex_
std::string state_

Detailed Description

Definition at line 11 of file irods_server_state.hpp.

Constructor & Destructor Documentation

◆ server_state() [1/3]

irods::server_state::server_state ( )

Definition at line 14 of file irods_server_state.cpp.

◆ server_state() [2/3]

irods::server_state::server_state ( server_state )

Definition at line 24 of file irods_server_state.hpp.

◆ server_state() [3/3]

irods::server_state::server_state ( const server_state )

Definition at line 25 of file irods_server_state.hpp.

Member Function Documentation

◆ instance()

◆ operator()() [1/2]

std::string irods::server_state::operator() ( )

Definition at line 43 of file irods_server_state.cpp.

References irods.pypyodbc::lock, mutex_, and state_.

◆ operator()() [2/2]

error irods::server_state::operator() ( const std::string &  _s)

Member Data Documentation


◆ mutex_

boost::mutex irods::server_state::mutex_

Definition at line 27 of file irods_server_state.hpp.

Referenced by operator()().


const std::string irods::server_state::PAUSED


const std::string irods::server_state::RUNNING

Definition at line 17 of file irods_server_state.hpp.

Referenced by irods::operation_resume(), operator()(), and serverMain().

◆ state_

std::string irods::server_state::state_

Definition at line 28 of file irods_server_state.hpp.

Referenced by operator()().


The documentation for this class was generated from the following files: