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:
[legend]

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 ( )
private

Definition at line 14 of file irods_server_state.cpp.

◆ server_state() [2/3]

irods::server_state::server_state ( server_state )
inlineprivate

Definition at line 24 of file irods_server_state.hpp.

◆ server_state() [3/3]

irods::server_state::server_state ( const server_state )
inlineprivate

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

◆ EXITED

◆ mutex_

boost::mutex irods::server_state::mutex_
private

Definition at line 27 of file irods_server_state.hpp.

Referenced by operator()().

◆ PAUSED

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

◆ RUNNING

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

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_
private

Definition at line 28 of file irods_server_state.hpp.

Referenced by operator()().

◆ STOPPED


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