The Vish Visualization Shell 0.3
Vish
MemCore::LoaderRequest Class Referenceabstract

Control structure that describes a network connection to a certain URL. More...

#include <elementary/memcore/Loader.hpp>

Inheritance diagram for MemCore::LoaderRequest:
MemCore::ReferenceBase< LoaderRequest >

Public Member Functions

sockets_t & ConnectionIDs ()
 Return a (writable) set of socket ID's available for this connection.
const sockets_t & ConnectionIDs () const
 Return the set of socket ID's available for this connection.
 LoaderRequest (const string &URL)
 Construct a loader request.
virtual bool retrieve (socket_t whichone)=0
 Virtual callback function that is to be called when data are ready on the specified ID.
const string & URL () const
 Return the URL that was used go generate this request.
Public Member Functions inherited from MemCore::ReferenceBase< LoaderRequest >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
bool isIdentical (const WeakPtr< LoaderRequest, LoaderRequest > &PossibleSelf) const noexcept
 Check if this object is identical to the one used by the given pointer.
void mkAutoDestructive ()
 Marks this object as being automatically destructed, e.g.
refcount_t refcount () const noexcept
 The strong reference count.
 ReferenceBase (LoaderRequest *that) noexcept
 Constructor, initializes reference counter to zero.
const auto & self () const
 Return weak pointer to the object self.
refcount_t wrefcount () const noexcept
 The weak reference count.

Protected Member Functions

virtual ~LoaderRequest ()
 Destructor.
Protected Member Functions inherited from MemCore::ReferenceBase< LoaderRequest >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
ReferenceBase & operator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
void suicide ()
 Delete this.
virtual ~ReferenceBase ()
 Virtual destructor.

Additional Inherited Members

Public Types inherited from MemCore::ReferenceBase< LoaderRequest >
using reference_domain_t
 The type of the base class.
using SelfPtr_t
 Type for a pointer to this object itself.

Detailed Description

Control structure that describes a network connection to a certain URL.

Note that this may well include many open socket connection that are derived from the same URL.