Mantid
Loading...
Searching...
No Matches
Private Member Functions | Friends | List of all members
Mantid::API::InstrumentDataServiceImpl Class Reference

InstrumentDataService Class. More...

#include <InstrumentDataService.h>

Inheritance diagram for Mantid::API::InstrumentDataServiceImpl:
Mantid::Kernel::DataService< Mantid::Geometry::Instrument >

Private Member Functions

 InstrumentDataServiceImpl ()
 Constructor. More...
 
 InstrumentDataServiceImpl (const InstrumentDataServiceImpl &)=delete
 Private, unimplemented copy constructor. More...
 
InstrumentDataServiceImploperator= (const InstrumentDataServiceImpl &)=delete
 Private, unimplemented copy assignment operator. More...
 

Friends

struct Mantid::Kernel::CreateUsingNew< InstrumentDataServiceImpl >
 

Additional Inherited Members

- Public Member Functions inherited from Mantid::Kernel::DataService< Mantid::Geometry::Instrument >
virtual void add (const std::string &name, const std::shared_ptr< Mantid::Geometry::Instrument > &Tobject)
 Add an object to the service. More...
 
virtual void addOrReplace (const std::string &name, const std::shared_ptr< Mantid::Geometry::Instrument > &Tobject)
 Add or replace an object to the service. More...
 
void clear ()
 Empty the service. More...
 
 DataService (const DataService &)=delete
 Deleted copy constructor. More...
 
bool doAllWsExist (const std::vector< std::string > &listOfNames)
 Checks all elements within the specified vector exist in the ADS. More...
 
bool doesExist (const std::string &name) const
 Check to see if a data object exists in the store. More...
 
std::vector< std::string > getObjectNames (DataServiceSort sortState=DataServiceSort::Unsorted, DataServiceHidden hiddenState=DataServiceHidden::Auto, const std::string &contain="") const
 Returns a vector of strings containing all object names in the ADS. More...
 
std::vector< std::shared_ptr< Mantid::Geometry::Instrument > > getObjects (DataServiceHidden includeHidden=DataServiceHidden::Auto) const
 Get a vector of the pointers to the data objects stored by the service. More...
 
DataServiceoperator= (const DataService &)=delete
 Deleted copy assignment operator. More...
 
void remove (const std::string &name)
 Remove an object from the service. More...
 
void rename (const std::string &oldName, const std::string &newName)
 Rename an object within the service. More...
 
std::shared_ptr< Mantid::Geometry::Instrumentretrieve (const std::string &name) const
 Get a shared pointer to a stored data object. More...
 
virtual void shutdown ()
 Prepare for shutdown. More...
 
size_t size () const
 Return the number of objects stored by the data service. More...
 
- Static Public Member Functions inherited from Mantid::Kernel::DataService< Mantid::Geometry::Instrument >
static bool isHiddenDataServiceObject (const std::string &name)
 
static std::string prefixToHide ()
 
static bool showingHiddenObjects ()
 
- Public Attributes inherited from Mantid::Kernel::DataService< Mantid::Geometry::Instrument >
Poco::NotificationCenter notificationCenter
 Sends notifications to observers. More...
 
- Protected Member Functions inherited from Mantid::Kernel::DataService< Mantid::Geometry::Instrument >
 DataService (const std::string &name)
 Protected constructor (singleton) More...
 
virtual ~DataService ()=default
 

Detailed Description

InstrumentDataService Class.

Derived from DataService. Class to store shared_pointer to Instrument Objects.

Author
Laurent C Chapon, ISIS, Rutherford Appleton Laboratory
Date
30/05/2008

Definition at line 22 of file InstrumentDataService.h.

Constructor & Destructor Documentation

◆ InstrumentDataServiceImpl() [1/2]

Mantid::API::InstrumentDataServiceImpl::InstrumentDataServiceImpl ( )
private

Constructor.

Default constructor.

Definition at line 13 of file InstrumentDataService.cpp.

◆ InstrumentDataServiceImpl() [2/2]

Mantid::API::InstrumentDataServiceImpl::InstrumentDataServiceImpl ( const InstrumentDataServiceImpl )
privatedelete

Private, unimplemented copy constructor.

Member Function Documentation

◆ operator=()

InstrumentDataServiceImpl & Mantid::API::InstrumentDataServiceImpl::operator= ( const InstrumentDataServiceImpl )
privatedelete

Private, unimplemented copy assignment operator.

Friends And Related Function Documentation

◆ Mantid::Kernel::CreateUsingNew< InstrumentDataServiceImpl >

Definition at line 22 of file InstrumentDataService.h.


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