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

#include <spng.h>

Inheritance diagram for Simulacrum::SPNG:
Inheritance graph
Collaboration diagram for Simulacrum::SPNG:
Collaboration graph

Public Member Functions

 SPNG ()
 
virtual ~SPNG ()
 
void refresh (bool)
 
int setLocation (const std::string &)
 
void changeLocation (const std::string &)
 
const SCoordinategetExtent ()
 
bool isValid () const
 
const std::string & getLocation () const
 
bool hasSSpace (const std::string &path="")
 
int loadSSpace (SSpace &)
 
int storeSSpace (SSpace &)
 
void clear ()
 
std::string getInfo (const std::string &path="")
 
const std::string & resourceType ()
 
- Public Member Functions inherited from Simulacrum::SIO
 SIO ()
 
virtual ~SIO ()
 
virtual SAbsTreeNodegetRoot ()
 
virtual void store ()
 
virtual bool hasArchive ()
 
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 doStop (bool)
 
virtual bool & stop ()
 
- Public Member Functions inherited from Simulacrum::SResource
virtual SimulacrumLibrary::str_enc stringEncoding ()
 
virtual void setStringEncoding (SimulacrumLibrary::str_enc)
 
virtual void load ()
 
virtual void loadMissingData ()
 
virtual SURI URI ()
 
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 ()
 

Static Public Member Functions

static bool decodeBuffer (const char *, long unsigned, SSpace &, int param=0)
 
static bool encodeBuffer (SSpace &, SIO::imgStreamData &, int param=0)
 
- Static Public Member Functions inherited from Simulacrum::SIO
static int readTabulatedData (SSpace &, std::istream &, SElem::Precision, bool isRGB, bool isSigned, bool isInterLvd=true, bool *dostop=nullptr)
 
static int writeTabulatedData (SSpace &, std::ostream &, SElem::Precision, bool isRGB)
 
static unsigned maxvaltobytewidth (unsigned)
 
- 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="")
 

Additional Inherited Members

- Public Types inherited from Simulacrum::SConnectable
typedef unsigned ssignal_t
 
typedef bool sdepth_t
 
- 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

◆ SPNG()

SPNG::SPNG ( )

◆ ~SPNG()

SPNG::~SPNG ( )
virtual

Member Function Documentation

◆ changeLocation()

void SPNG::changeLocation ( const std::string &  npath)
virtual

Implements Simulacrum::SIO.

◆ clear()

void SPNG::clear ( )
virtual

Implements Simulacrum::SResource.

◆ decodeBuffer()

bool SPNG::decodeBuffer ( const char *  ,
long unsigned  ,
SSpace ,
int  param = 0 
)
static

◆ encodeBuffer()

bool SPNG::encodeBuffer ( SSpace source,
SIO::imgStreamData target,
int  param = 0 
)
static

◆ getExtent()

const SCoordinate & SPNG::getExtent ( )
virtual

Implements Simulacrum::SIO.

◆ getInfo()

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

Reimplemented from Simulacrum::SIO.

◆ getLocation()

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

Implements Simulacrum::SIO.

◆ hasSSpace()

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

Reimplemented from Simulacrum::SIO.

◆ isValid()

bool SPNG::isValid ( ) const
virtual

Implements Simulacrum::SIO.

◆ loadSSpace()

int SPNG::loadSSpace ( SSpace target)
virtual

Reimplemented from Simulacrum::SIO.

◆ refresh()

void SPNG::refresh ( bool  depth)
virtual

Reimplemented from Simulacrum::SIO.

◆ resourceType()

const std::string & SPNG::resourceType ( )
virtual

Reimplemented from Simulacrum::SResource.

◆ setLocation()

int SPNG::setLocation ( const std::string &  npath)
virtual

Implements Simulacrum::SIO.

◆ storeSSpace()

int SPNG::storeSSpace ( SSpace source)
virtual

Reimplemented from Simulacrum::SIO.


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