23 #ifndef ENGINE_FEED_MANIFOLD_OBSOLETE_H 24 #define ENGINE_FEED_MANIFOLD_OBSOLETE_H 64 typedef pair<PHa const,PBu const> Chunk;
87 just_satisfy_the_compiler() { }
91 vector<BuffHaXXXX> hTab_;
92 vector<BuffHandle::PBuff> pTab_;
102 ~
BuffTableStorage() { ASSERT (0==level_,
"buffer management logic broken."); }
115 ASSERT (pTab_.size() == hTab_.size());
116 REQUIRE (level_+slots <= hTab_.size());
118 size_t prev_level (level_);
120 return std::make_pair (&hTab_[prev_level],
127 ASSERT (slots <= level_);
128 REQUIRE (level_ <= hTab_.size());
129 REQUIRE (level_ <= pTab_.size());
135 level_check (FeedManifold::Chunk& prev_level)
137 return prev_level.first == &hTab_[level_]
138 && prev_level.second == &pTab_[level_];
155 FeedManifold::Chunk tab_;
160 : siz_(wd.nrI + wd.nrO),
161 tab_(storage.
claim (siz_)),
164 const uint nrO(wd.nrO);
167 this->outHandle = &tab_.first[ 0 ];
168 this->inHandle = &tab_.first[nrO];
169 this->outBuff = &tab_.second[ 0 ];
170 this->inBuff = &tab_.second[nrO];
176 ASSERT ( sto_.level_check (tab_),
177 "buffer management logic broken.");
Obsolete, to be rewritten /////TICKET #826 to be allocated on the stack while evaluating a ProcNode::...
Obsolete, to be rewritten /////TICKET #826.
Obsolete, to be rewritten /////TICKET #826.
Any copy and copy construction prohibited.
An opaque descriptor to identify the type and further properties of a data buffer.
Representation of the Media type of a data channel used within the engine.
Steam-Layer implementation namespace root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
FeedManifold::Chunk claim(uint slots)
allocate the given number of slots starting at current level to be used by the newly created BuffTabl...
Lumiera error handling (C++ interface).
Handle for a buffer for processing data, abstracting away the actual implementation.
Interface: Description of the input and output ports, processing function and predecessor nodes for a...
just a placeholder to decouple the existing code from the reworked BuffHandle logic.
placeholder type for the contents of a data buffer.