25 #include <lunchbox/refPtr.h> 26 #include <lunchbox/types.h> 27 #include <pression/data/types.h> 28 #include <servus/types.h> 36 #define CO_SEPARATOR '#' 38 #define CO_INSTANCE_MAX LB_MAX_UINT32 39 #define CO_INSTANCE_NONE 0xfffffffdu 40 #define CO_INSTANCE_INVALID 0xfffffffeu 41 #define CO_INSTANCE_ALL 0xffffffffu 47 class ConnectionDescription;
48 class ConnectionListener;
60 class ObjectDataICommand;
61 class ObjectDataIStream;
62 class ObjectDataOCommand;
75 using lunchbox::Array;
76 using lunchbox::Strings;
77 using lunchbox::StringsCIter;
78 using lunchbox::a_ssize_t;
79 using lunchbox::f_bool_t;
80 using servus::uint128_t;
97 typedef lunchbox::RefPtr<const ConnectionDescription>
146 class MasterCMCommand;
149 typedef lunchbox::RefPtr<Buffer> BufferPtr;
150 typedef lunchbox::RefPtr<const Buffer> ConstBufferPtr;
152 typedef std::vector<ObjectVersion> ObjectVersions;
153 typedef ObjectVersions::const_iterator ObjectVersionsCIter;
154 typedef std::deque<ObjectDataIStream*> ObjectDataIStreamDeque;
155 typedef std::vector<ObjectDataIStream*> ObjectDataIStreams;
157 typedef std::unique_ptr<pression::data::Compressor> CompressorPtr;
158 using pression::data::CompressorInfo;
std::vector< ConnectionDescriptionPtr > ConnectionDescriptions
A vector of ConnectionDescriptionPtr's.
std::vector< ConnectionListener * > ConnectionListeners
A vector of ConnectionListener.
Nodes::const_iterator NodesCIter
A const iterator for a vector of nodes.
uint128_t NodeID
A unique identifier for nodes.
ICommands::const_iterator ICommandsCIter
A const iterator for a vector of input commands.
lunchbox::RefPtr< LocalNode > LocalNodePtr
A reference pointer for LocalNode pointers.
A helper struct bundling an object identifier and version.
ICommands::iterator ICommandsIter
A iterator for a vector of input commands.
Objects::iterator ObjectsIter
A iterator for a vector of objects.
A worker thread processing items out of a CommandQueue.
Object-oriented network library.
Includes compile-time defines of Collage.
ConnectionDescriptions::iterator ConnectionDescriptionsIter
An iterator for a vector of ConnectionDescriptionPtr's.
lunchbox::RefPtr< const LocalNode > ConstLocalNodePtr
A reference pointer for const LocalNode pointers.
std::vector< NodePtr > Nodes
A vector of NodePtr's.
lunchbox::RefPtr< const ConnectionDescription > ConstConnectionDescriptionPtr
A reference pointer for const ConnectionDescription pointers.
std::vector< NodeID > NodeIDs
A vector of NodeID's.
std::vector< Barrier * > Barriers
A vector of barriers.
Objects::const_iterator ObjectsCIter
A const iterator for a vector of objects.
std::vector< Object * > Objects
A vector of objects.
Connections::iterator ConnectionsIter
An iterator for a vector of ConnectionPtr's.
lunchbox::RefPtr< const Node > ConstNodePtr
A reference pointer for const Node pointers.
lunchbox::RefPtr< ConnectionDescription > ConnectionDescriptionPtr
A reference pointer for ConnectionDescription pointers.
lunchbox::RefPtr< Connection > ConnectionPtr
A reference pointer for Connection pointers.
Barriers::iterator BarriersIter
Barriers iterator.
Nodes::iterator NodesIter
An iterator for a vector of nodes.
std::vector< ConnectionPtr > Connections
A vector of ConnectionPtr's.
ConnectionDescriptions::const_iterator ConnectionDescriptionsCIter
A const iterator for a vector of ConnectionDescriptionPtr's.
Barriers::const_iterator BarriersCIter
Barriers const iterator.
lunchbox::RefPtr< Node > NodePtr
A reference pointer for Node pointers.
std::vector< ICommand > ICommands
A vector of input commands.
Connections::const_iterator ConnectionsCIter
A const iterator for a vector of ConnectionPtr's.
A listener interface to buffer state changes.