Simulacrum  1.2
Public Member Functions | List of all members
Simulacrum::NNodeResource Class Reference

#include <nnode.h>

Inheritance diagram for Simulacrum::NNodeResource:
Inheritance graph
Collaboration diagram for Simulacrum::NNodeResource:
Collaboration graph

Public Member Functions

 NNodeResource ()
 
virtual ~NNodeResource ()
 
const std::string & getLocation () const
 
int setLocation (const std::string &)
 
bool isValid () const
 
SAbsTreeNodegetRoot ()
 
NNodegetRootNode ()
 
void refresh (SConnectable::sdepth_t deep=false)
 
void store ()
 
std::string getInfo (const std::string &path="")
 
bool hasArchive ()
 
bool hasSSpace (const std::string &path="")
 
const std::string getLocationPathID (const std::string &path="")
 
void clear ()
 
- Public Member Functions inherited from Simulacrum::SResource
virtual SimulacrumLibrary::str_enc stringEncoding ()
 
virtual void setStringEncoding (SimulacrumLibrary::str_enc)
 
virtual void changeLocation (const std::string &)
 
virtual void load ()
 
virtual void loadMissingData ()
 
virtual void getSSpaceInto (SSpace &, const std::string &path="")
 
virtual void putSSpaceInto (SSpace &, const std::string &path="")
 
virtual void doStop (bool)
 
virtual SURI URI ()
 
virtual const std::string & resourceType ()
 
virtual SResourceLoaderloader ()
 
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 SConnectableend ()
 
virtual SConnectablepenum ()
 
virtual SConnectablepred ()
 
virtual SConnectablesucc ()
 
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 ()
 

Additional Inherited Members

- Public Types inherited from Simulacrum::SConnectable
typedef unsigned ssignal_t
 
typedef bool sdepth_t
 
- Static Public Member Functions inherited from Simulacrum::SResource
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 inherited from Simulacrum::SResource
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 &)
 

Constructor & Destructor Documentation

◆ NNodeResource()

NNodeResource::NNodeResource ( )

◆ ~NNodeResource()

NNodeResource::~NNodeResource ( )
virtual

Member Function Documentation

◆ clear()

void NNodeResource::clear ( )
virtual

Implements Simulacrum::SResource.

◆ getInfo()

std::string NNodeResource::getInfo ( const std::string &  path = "")
virtual

Implements Simulacrum::SResource.

◆ getLocation()

const std::string & NNodeResource::getLocation ( ) const
virtual

Implements Simulacrum::SResource.

◆ getLocationPathID()

const std::string NNodeResource::getLocationPathID ( const std::string &  path = "")
virtual

Reimplemented from Simulacrum::SResource.

◆ getRoot()

SAbsTreeNode & NNodeResource::getRoot ( )
virtual

Implements Simulacrum::SResource.

◆ getRootNode()

NNode & NNodeResource::getRootNode ( )

◆ hasArchive()

bool NNodeResource::hasArchive ( )
virtual

Implements Simulacrum::SResource.

◆ hasSSpace()

bool NNodeResource::hasSSpace ( const std::string &  path = "")
virtual

Implements Simulacrum::SResource.

◆ isValid()

bool NNodeResource::isValid ( ) const
virtual

Implements Simulacrum::SResource.

◆ refresh()

void NNodeResource::refresh ( SConnectable::sdepth_t  deep = false)
virtual

Implements Simulacrum::SResource.

◆ setLocation()

int NNodeResource::setLocation ( const std::string &  newloc)
virtual

Implements Simulacrum::SResource.

◆ store()

void NNodeResource::store ( )
virtual

Implements Simulacrum::SResource.


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