Public Member Functions | |
BlobStreamingService () | |
void | read (const coral::Blob &blobData, void *addressOfContainer, Reflex::Type const &classDictionary) override |
Reads an object from a Blob and fills-in the container. More... | |
boost::shared_ptr< coral::Blob > | write (const void *addressOfInputData, Reflex::Type const &classDictionary, bool useCompression=true) override |
virtual | ~BlobStreamingService () |
Public Member Functions inherited from ora::IBlobStreamingService | |
virtual | ~IBlobStreamingService () |
Empty destructor. More... | |
Private Types | |
typedef std::pair< unsigned long long, unsigned long long > | uuid |
enum | Variant { OLD, COMPRESSED_TBUFFER, COMPRESSED_CHARS } |
Static Private Member Functions | |
static boost::shared_ptr < coral::Blob > | compress (const void *addr, size_t isize) |
static boost::shared_ptr < coral::Blob > | expand (const coral::Blob &blobIn) |
static Variant | findVariant (const void *address) |
static int | isVectorChar (Reflex::Type const &classDictionary) |
Private Attributes | |
boost::shared_ptr < ora::IBlobStreamingService > | rootService |
Static Private Attributes | |
static const size_t | m_idsize =sizeof(uuid) |
static const size_t | m_offset = m_idsize + sizeof(unsigned long long) |
static const size_t | nVariants =3 |
static uuid const | variantIds [nVariants] |
Definition at line 23 of file BlobStreamingService.cc.
|
private |
Definition at line 38 of file BlobStreamingService.cc.
|
private |
Enumerator | |
---|---|
OLD | |
COMPRESSED_TBUFFER | |
COMPRESSED_CHARS |
Definition at line 44 of file BlobStreamingService.cc.
cond::BlobStreamingService::BlobStreamingService | ( | ) |
Definition at line 61 of file BlobStreamingService.cc.
|
virtual |
Definition at line 63 of file BlobStreamingService.cc.
|
staticprivate |
Definition at line 183 of file BlobStreamingService.cc.
References m_idsize, m_offset, and spu::zerr().
Referenced by write().
|
staticprivate |
Definition at line 201 of file BlobStreamingService.cc.
References compareJSON::const, m_idsize, m_offset, and spu::zerr().
Referenced by read().
|
staticprivate |
Definition at line 176 of file BlobStreamingService.cc.
References compareJSON::const, spr::find(), nVariants, OLD, findQualityFiles::v, and variantIds.
Referenced by read().
|
staticprivate |
Definition at line 167 of file BlobStreamingService.cc.
References edmStreamStallGrapher::t.
Referenced by read(), and write().
|
overridevirtual |
Reads an object from a Blob and fills-in the container.
Implements ora::IBlobStreamingService.
Definition at line 111 of file BlobStreamingService.cc.
References COMPRESSED_CHARS, COMPRESSED_TBUFFER, expand(), findVariant(), isVectorChar(), roll_playback::k, m_offset, OLD, rootService, and findQualityFiles::v.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
|
overridevirtual |
Implements ora::IBlobStreamingService.
Definition at line 65 of file BlobStreamingService.cc.
References compress(), COMPRESSED_CHARS, COMPRESSED_TBUFFER, isVectorChar(), roll_playback::k, rootService, findQualityFiles::v, and variantIds.
Referenced by pkg.AbstractPkg::generate().
|
staticprivate |
Definition at line 40 of file BlobStreamingService.cc.
Referenced by compress(), and expand().
|
staticprivate |
Definition at line 41 of file BlobStreamingService.cc.
Referenced by compress(), expand(), and read().
|
staticprivate |
Definition at line 42 of file BlobStreamingService.cc.
Referenced by findVariant().
|
private |
Definition at line 56 of file BlobStreamingService.cc.
|
staticprivate |
Definition at line 45 of file BlobStreamingService.cc.
Referenced by findVariant(), and write().