Simulacrum
1.2
|
#include <sresource.h>
Public Member Functions | |
virtual SimulacrumLibrary::str_enc | stringEncoding () |
virtual void | setStringEncoding (SimulacrumLibrary::str_enc) |
virtual const std::string & | getLocation () const =0 |
virtual int | setLocation (const std::string &)=0 |
virtual void | changeLocation (const std::string &) |
virtual bool | isValid () const =0 |
virtual SAbsTreeNode & | getRoot ()=0 |
virtual void | refresh (SConnectable::sdepth_t deep=false) override=0 |
virtual void | load () |
virtual void | loadMissingData () |
virtual void | store ()=0 |
virtual std::string | getInfo (const std::string &path="")=0 |
virtual bool | hasArchive ()=0 |
virtual bool | hasSSpace (const std::string &path="")=0 |
virtual void | getSSpaceInto (SSpace &, const std::string &path="") |
virtual void | putSSpaceInto (SSpace &, const std::string &path="") |
virtual const std::string | getLocationPathID (const std::string &path="") |
virtual void | clear ()=0 |
virtual void | doStop (bool) |
virtual SURI | URI () |
virtual const std::string & | resourceType () |
virtual SResourceLoader & | loader () |
virtual void | setLoader (SResourceLoader *) |
bool | isCompressed () const |
void | decompress (const std::string &target) const |
void | compress (const std::string &target) const |
SResource () | |
virtual | ~SResource () |
Public Member Functions inherited from Simulacrum::SConnectable | |
SConnectable () | |
virtual | ~SConnectable () |
void | emitRefresh (sdepth_t) |
virtual void | signal (ssignal_t, void *=nullptr) |
void | emitSignal (ssignal_t, void *=nullptr) |
virtual void | progress (int) |
virtual bool | sconnect (SConnectable &) |
virtual bool | sconnect (SConnectable &, bool delondiscon) |
virtual bool | sdisconnect (SConnectable &) |
virtual void | disconnectSources () |
virtual void | disconnectListeners () |
virtual void | disconnectListeners_Refresh () |
virtual bool | isConnected (SConnectable &) const |
virtual bool | isConnected (SConnectable *) const |
virtual void | sconfigure (const std::string &) |
virtual SConnectable & | end () |
virtual SConnectable & | penum () |
virtual SConnectable & | pred () |
virtual SConnectable & | succ () |
virtual void | deleteOnDisconnect (bool) |
virtual bool | deleteOnDisconnect () |
virtual void | setName (const std::string &) |
virtual const std::string & | getName () const |
const std::map< std::string, double > & | parameters () |
const std::map< std::string, std::string > & | properties () |
bool | hasProperty (const std::string &) const |
bool | hasParameter (const std::string &) const |
void | setProperty (const std::string &, const std::string &) |
void | setParameter (const std::string &, double) |
std::string | getProperty (const std::string &) const |
double | getParameter (const std::string &) const |
Public Member Functions inherited from Simulacrum::SLockable | |
virtual void | lock () |
virtual void | unlock () |
virtual bool | try_lock () |
virtual void | wait () |
virtual void | refIncr () |
virtual void | refDecr () |
virtual int | refCount () |
SLockable () | |
SLockable (const SLockable &) | |
virtual | ~SLockable () |
Static Public Member Functions | |
static std::string | typeString () |
static void | loadInto (SSpace &targ, SResource &&src, const std::string &uri, const std::string &respath="") |
static void | storeInto (SSpace &src, SResource &&targ, const std::string &uri, const std::string &respath="") |
Protected Member Functions | |
void | labelSSpace (SSpace &, const std::string &path) |
Protected Member Functions inherited from Simulacrum::SConnectable | |
virtual bool | addListener (SConnectable &) |
virtual bool | removeListener (SConnectable &) |
virtual bool | addTarget (SConnectable &) |
virtual bool | removeTarget (SConnectable &) |
Additional Inherited Members | |
Public Types inherited from Simulacrum::SConnectable | |
typedef unsigned | ssignal_t |
typedef bool | sdepth_t |
SResource::SResource | ( | ) |
|
virtual |
|
virtual |
Reimplemented in Simulacrum::SIO, Simulacrum::SPBM, Simulacrum::SJPEG, Simulacrum::SJ2K, Simulacrum::SPNG, Simulacrum::SDICOM, Simulacrum::SDICOMArch, and Simulacrum::SDCMArch.
|
pure virtual |
void SResource::compress | ( | const std::string & | target | ) | const |
void SResource::decompress | ( | const std::string & | target | ) | const |
|
virtual |
Reimplemented in Simulacrum::SDCMArch, and Simulacrum::SIO.
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in Simulacrum::SDCMArch, Simulacrum::SIO, and Simulacrum::NNodeResource.
|
pure virtual |
Implemented in Simulacrum::SResourceSLua, Simulacrum::SDICOM, Simulacrum::SDCMArch, Simulacrum::SIO, and Simulacrum::NNodeResource.
|
virtual |
Reimplemented in Simulacrum::SResourceSLua, Simulacrum::SDICOM, Simulacrum::SDCMArch, and Simulacrum::SIO.
|
pure virtual |
Implemented in Simulacrum::SResourceSLua, Simulacrum::SDICOM, Simulacrum::SDCMArch, Simulacrum::SIO, and Simulacrum::NNodeResource.
|
pure virtual |
bool SResource::isCompressed | ( | ) | const |
|
pure virtual |
|
protected |
|
virtual |
Reimplemented in Simulacrum::SResourceSLua.
|
virtual |
|
static |
|
virtual |
Reimplemented in Simulacrum::SDICOM.
|
virtual |
Reimplemented in Simulacrum::SIO.
|
overridepure virtual |
Reimplemented from Simulacrum::SConnectable.
Implemented in Simulacrum::SResourceSLua, Simulacrum::SIO, Simulacrum::NNodeResource, Simulacrum::SPBM, Simulacrum::SJPEG, Simulacrum::SPNG, Simulacrum::SDCMArch, and Simulacrum::SDICOM.
|
virtual |
Reimplemented in Simulacrum::SPBM, Simulacrum::SJPEG, Simulacrum::SJ2K, and Simulacrum::SPNG.
|
virtual |
|
pure virtual |
|
virtual |
Reimplemented in Simulacrum::SResourceSLua.
|
pure virtual |
Implemented in Simulacrum::SResourceSLua, Simulacrum::SDICOM, Simulacrum::SDCMArch, Simulacrum::SIO, and Simulacrum::NNodeResource.
|
static |
|
virtual |
Reimplemented in Simulacrum::SDICOM, and Simulacrum::SResourceSLua.
|
static |
|
virtual |