25 #include <lunchbox/refPtr.h>
26 #include <lunchbox/types.h>
27 #include <pression/types.h>
35 #define CO_SEPARATOR '#'
37 #define CO_INSTANCE_MAX LB_MAX_UINT32
38 #define CO_INSTANCE_NONE 0xfffffffdu
39 #define CO_INSTANCE_INVALID 0xfffffffeu
40 #define CO_INSTANCE_ALL 0xffffffffu
46 class ConnectionDescription;
47 class ConnectionListener;
59 class ObjectDataICommand;
60 class ObjectDataIStream;
61 class ObjectDataOCommand;
74 using lunchbox::Array;
75 using lunchbox::Strings;
76 using lunchbox::StringsCIter;
77 using lunchbox::a_ssize_t;
78 using lunchbox::f_bool_t;
79 using lunchbox::uint128_t;
80 #ifdef LUNCHBOX_USE_V1_API
99 typedef lunchbox::RefPtr< const ConnectionDescription >
105 typedef std::vector< NodePtr >
Nodes;
148 class MasterCMCommand;
151 typedef lunchbox::RefPtr< Buffer > BufferPtr;
152 typedef lunchbox::RefPtr< const Buffer > ConstBufferPtr;
154 typedef std::vector< ObjectVersion > ObjectVersions;
155 typedef ObjectVersions::const_iterator ObjectVersionsCIter;
156 typedef std::deque< ObjectDataIStream* > ObjectDataIStreamDeque;
157 typedef std::vector< ObjectDataIStream* > ObjectDataIStreams;
std::vector< ConnectionPtr > Connections
A vector of ConnectionPtr's.
lunchbox::RefPtr< ConnectionDescription > ConnectionDescriptionPtr
A reference pointer for ConnectionDescription pointers.
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.
std::vector< ICommand > ICommands
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.
std::vector< Barrier * > Barriers
A vector of barriers.
std::vector< ConnectionListener * > ConnectionListeners
A vector of ConnectionListener.
Objects::iterator ObjectsIter
A iterator for a vector of objects.
lunchbox::RefPtr< Node > NodePtr
A reference pointer for Node pointers.
lunchbox::RefPtr< const LocalNode > ConstLocalNodePtr
A reference pointer for const LocalNode pointers.
A worker thread processing items out of a CommandQueue.
Object-oriented network library.
lunchbox::RefPtr< const Node > ConstNodePtr
A reference pointer for const Node pointers.
Includes compile-time defines of Collage.
ConnectionDescriptions::iterator ConnectionDescriptionsIter
An iterator for a vector of ConnectionDescriptionPtr's.
std::vector< Object * > Objects
A vector of objects.
std::vector< NodeID > NodeIDs
A vector of NodeID's.
Objects::const_iterator ObjectsCIter
A const iterator for a vector of objects.
std::vector< ConnectionDescriptionPtr > ConnectionDescriptions
A vector of ConnectionDescriptionPtr's.
Connections::iterator ConnectionsIter
An iterator for a vector of ConnectionPtr's.
Barriers::iterator BarriersIter
Barriers iterator.
Nodes::iterator NodesIter
An iterator for a vector of nodes.
std::vector< NodePtr > Nodes
A vector of NodePtr's.
ConnectionDescriptions::const_iterator ConnectionDescriptionsCIter
A const iterator for a vector of ConnectionDescriptionPtr's.
Barriers::const_iterator BarriersCIter
Barriers const iterator.
Connections::const_iterator ConnectionsCIter
A const iterator for a vector of ConnectionPtr's.
lunchbox::RefPtr< const ConnectionDescription > ConstConnectionDescriptionPtr
A reference pointer for const ConnectionDescription pointers.
lunchbox::RefPtr< Connection > ConnectionPtr
A reference pointer for Connection pointers.
A listener interface to buffer state changes.