22 #ifndef CO_QUEUESLAVE_H
23 #define CO_QUEUESLAVE_H
26 #include <co/object.h>
31 namespace detail {
class QueueSlave; }
57 CO_API
QueueSlave(
const uint32_t prefetchMark = LB_UNDEFINED_UINT32,
58 const uint32_t prefetchAmount = LB_UNDEFINED_UINT32 );
82 detail::QueueSlave*
const _impl;
84 CO_API
void attach(
const uint128_t&
id,
85 const uint32_t instanceID )
override;
90 #endif // CO_QUEUESLAVE_H
CO_API ObjectICommand pop(const uint32_t timeout=LB_TIMEOUT_INDEFINITE)
Dequeue an item.
virtual CO_API ~QueueSlave()
Destruct this queue consumer.
Defines export visibility macros for Collage.
CO_API QueueSlave(const uint32_t prefetchMark=LB_UNDEFINED_UINT32, const uint32_t prefetchAmount=LB_UNDEFINED_UINT32)
Construct a new queue consumer.
ChangeType
Object change handling characteristics, see Programming Guide.
The consumer end of a distributed queue.
A std::ostream-like interface for object serialization.
non-versioned, unbuffered, static object.
void getInstanceData(co::DataOStream &) override
Serialize all instance information of this distributed object.
void applyInstanceData(co::DataIStream &is) override
Deserialize the instance data.
A std::istream-like input data stream for binary data.
An input command specialization for objects.
ChangeType getChangeType() const override