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.
![]() ![]() |
#include <irods_resource_plugin.hpp>
Public Member Functions | |
resource (const std::string &_inst, const std::string &_ctx) | |
virtual | ~resource () |
resource (const resource &_rhs) | |
resource & | operator= (const resource &_rhs) |
virtual error | add_child (const std::string &, const std::string &, resource_ptr) |
virtual error | remove_child (const std::string &) |
virtual size_t | num_children () |
virtual bool | has_child (const std::string &_name) |
virtual void | children (std::vector< std::string > &) |
virtual error | set_parent (const resource_ptr &) |
virtual error | get_parent (resource_ptr &) |
![]() | |
plugin_base (const std::string &_n, const std::string &_c) | |
plugin_base (const plugin_base &_rhs) | |
plugin_base & | operator= (const plugin_base &_rhs) |
virtual | ~plugin_base () |
virtual error | post_disconnect_maintenance_operation (pdmo_type &) |
virtual error | need_post_disconnect_maintenance_operation (bool &_b) |
error | enumerate_operations (std::vector< std::string > &_ops) |
const std::string & | context_string () const |
double | interface_version () const |
error | add_operation (const std::string &_op, std::function< error(plugin_context &)> _f) |
template<typename... types_t> | |
error | add_operation (const std::string &_op, std::function< error(plugin_context &, types_t...)> _f) |
template<typename... types_t> | |
error | call (rsComm_t *_comm, const std::string &_operation_name, irods::first_class_object_ptr _fco, types_t... _t) |
template<typename T > | |
error | get_property (const std::string &_key, T &_val) |
template<typename T > | |
error | set_property (const std::string &_key, const T &_val) |
void | set_start_operation (maintenance_operation_t _op) |
void | set_stop_operation (maintenance_operation_t _op) |
error | start_operation () |
error | stop_operation () |
Protected Attributes | |
resource_child_map | children_ |
resource_ptr | parent_ |
![]() | |
std::string | context_ |
std::string | instance_name_ |
double | interface_version_ |
plugin_property_map | properties_ |
std::vector< std::pair< std::string, std::string > > | ops_for_delay_load_ |
lookup_table< boost::any > | operations_ |
maintenance_operation_t | start_operation_ |
maintenance_operation_t | stop_operation_ |
Definition at line 25 of file irods_resource_plugin.hpp.
|
inline |
Definition at line 29 of file irods_resource_plugin.hpp.
References children_, parent_, irods::plugin_base::properties_, irods::RESC_CHILD_MAP_PROP(), irods::RESC_PARENT_PROP(), and irods::lookup_table< ValueType, KeyType, HashType >::set().
|
inlinevirtual |
Definition at line 45 of file irods_resource_plugin.hpp.
|
inline |
Definition at line 50 of file irods_resource_plugin.hpp.
|
virtual |
Definition at line 19 of file irods_resource_plugin.cpp.
References children_, ERROR, SUCCESS, and SYS_INVALID_INPUT_PARAM.
|
virtual |
Definition at line 79 of file irods_resource_plugin.cpp.
References children_.
|
virtual |
Definition at line 66 of file irods_resource_plugin.cpp.
References ERROR, parent_, SUCCESS, and SYS_INVALID_INPUT_PARAM.
|
inlinevirtual |
Definition at line 75 of file irods_resource_plugin.hpp.
References children_, and irods::lookup_table< ValueType, KeyType, HashType >::has_entry().
|
inlinevirtual |
Definition at line 72 of file irods_resource_plugin.hpp.
References children_, and irods::lookup_table< ValueType, KeyType, HashType >::size().
Definition at line 58 of file irods_resource_plugin.hpp.
References children_, irods::plugin_base::operator=(), and parent_.
|
virtual |
Definition at line 45 of file irods_resource_plugin.cpp.
References children_, irods::lookup_table< ValueType, KeyType, HashType >::erase(), ERROR, irods::lookup_table< ValueType, KeyType, HashType >::has_entry(), SUCCESS, and SYS_INVALID_INPUT_PARAM.
|
virtual |
Definition at line 60 of file irods_resource_plugin.cpp.
|
protected |
Definition at line 89 of file irods_resource_plugin.hpp.
Referenced by add_child(), children(), has_child(), num_children(), operator=(), remove_child(), and resource().
|
protected |
Definition at line 90 of file irods_resource_plugin.hpp.
Referenced by get_parent(), operator=(), resource(), and set_parent().