Simulacrum  1.2
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Simulacrum::SJ2K Class Reference

#include <sj2k.h>

Inheritance diagram for Simulacrum::SJ2K:
Inheritance graph
Collaboration diagram for Simulacrum::SJ2K:
Collaboration graph

Public Types

enum  { J2KStream , J2KEncap }
 
- Public Types inherited from Simulacrum::SConnectable
typedef unsigned ssignal_t
 
typedef bool sdepth_t
 

Public Member Functions

 SJ2K ()
 
virtual ~SJ2K ()
 
int setLocation (const std::string &) override
 
void changeLocation (const std::string &) override
 
const SCoordinategetExtent () override
 
bool isValid () const override
 
const std::string & getLocation () const override
 
bool hasSSpace (const std::string &path="") override
 
int loadSSpace (SSpace &) override
 
int storeSSpace (SSpace &) override
 
void clear () override
 
std::string getInfo (const std::string &path="") override
 
const std::string & resourceType () override
 
- Public Member Functions inherited from Simulacrum::SIO
 SIO ()
 
virtual ~SIO ()
 
virtual SAbsTreeNodegetRoot ()
 
virtual void refresh (SConnectable::sdepth_t deep=false)
 
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 type=J2KStream)
 
static bool encodeBuffer (const SSpace &, SIO::imgStreamData &, int type=J2KStream)
 
- 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="")
 

Public Attributes

enum Simulacrum::SJ2K:: { ... }  J2KType
 

Additional Inherited Members

- 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 &)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
J2KStream 
J2KEncap 

Constructor & Destructor Documentation

◆ SJ2K()

SJ2K::SJ2K ( )

◆ ~SJ2K()

SJ2K::~SJ2K ( )
virtual

Member Function Documentation

◆ changeLocation()

void SJ2K::changeLocation ( const std::string &  newlocation)
overridevirtual

Implements Simulacrum::SIO.

◆ clear()

void SJ2K::clear ( )
overridevirtual

Implements Simulacrum::SResource.

◆ decodeBuffer()

bool SJ2K::decodeBuffer ( const char *  srcdata,
long unsigned  srcsize,
SSpace target,
int  type = J2KStream 
)
static

◆ encodeBuffer()

bool SJ2K::encodeBuffer ( const SSpace ,
SIO::imgStreamData ,
int  type = J2KStream 
)
static

◆ getExtent()

const SCoordinate & SJ2K::getExtent ( )
overridevirtual

Implements Simulacrum::SIO.

◆ getInfo()

std::string SJ2K::getInfo ( const std::string &  path = "")
overridevirtual

Reimplemented from Simulacrum::SIO.

◆ getLocation()

const std::string & SJ2K::getLocation ( ) const
overridevirtual

Implements Simulacrum::SIO.

◆ hasSSpace()

bool SJ2K::hasSSpace ( const std::string &  path = "")
overridevirtual

Reimplemented from Simulacrum::SIO.

◆ isValid()

bool SJ2K::isValid ( ) const
overridevirtual

Implements Simulacrum::SIO.

◆ loadSSpace()

int SJ2K::loadSSpace ( SSpace target)
overridevirtual

Reimplemented from Simulacrum::SIO.

◆ resourceType()

const std::string & SJ2K::resourceType ( )
overridevirtual

Reimplemented from Simulacrum::SResource.

◆ setLocation()

int SJ2K::setLocation ( const std::string &  newfile)
overridevirtual

Implements Simulacrum::SIO.

◆ storeSSpace()

int SJ2K::storeSSpace ( SSpace target)
overridevirtual

Reimplemented from Simulacrum::SIO.

Member Data Documentation

◆ 

enum { ... } Simulacrum::SJ2K::J2KType

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