|
The Vish Visualization Shell 0.3
Vish
|
Define that we are expecting a certain number of bytes from an VSocketAction::Receiver object. More...
#include <ocean/streams/VSocketAction.hpp>
Public Member Functions | |
| Expectation (unsigned long expected_bytes) | |
| Constructor - gimme the number of bytes that you expect. | |
| unsigned long | expected () const |
| We expect how many bytes to arrive here? | |
| double | percentage () const |
| How much has been transferred already? | |
| virtual bool | received (socket_t fd)=0 |
| Callback functions once all and everything is retrieved. | |
| virtual void | transfer () const |
| Callback function that is called once some data drip in. | |
Public Member Functions inherited from MemCore::ReferenceBase< Expectation > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< Expectation, Expectation > &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 (Expectation *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. | |
Additional Inherited Members | |
Public Types inherited from MemCore::ReferenceBase< Expectation > | |
| using | reference_domain_t = Expectation |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< Expectation, Expectation > |
| Type for a pointer to this object itself. | |
Protected Member Functions inherited from MemCore::ReferenceBase< Expectation > | |
| 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. | |
Define that we are expecting a certain number of bytes from an VSocketAction::Receiver object.