Mantid
|
InstrumentDataService Class. More...
#include <InstrumentDataService.h>
Private Member Functions | |
InstrumentDataServiceImpl () | |
Constructor. More... | |
InstrumentDataServiceImpl (const InstrumentDataServiceImpl &)=delete | |
Private, unimplemented copy constructor. More... | |
InstrumentDataServiceImpl & | operator= (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... | |
DataService & | operator= (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::Instrument > | retrieve (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 |
InstrumentDataService Class.
Derived from DataService. Class to store shared_pointer to Instrument Objects.
Definition at line 22 of file InstrumentDataService.h.
|
private |
|
privatedelete |
Private, unimplemented copy constructor.
|
privatedelete |
Private, unimplemented copy assignment operator.
|
friend |
Definition at line 22 of file InstrumentDataService.h.