30 #ifndef ENGINE_BUFFHTABLE_OBSOLETE_H 31 #define ENGINE_BUFFHTABLE_OBSOLETE_H 72 typedef pair<PHa const,PBu const> Chunk;
95 just_satisfy_the_compiler() { }
99 vector<BuffHaXXXX> hTab_;
100 vector<BuffHandle::PBuff> pTab_;
110 ~
BuffTableStorage() { ASSERT (0==level_,
"buffer management logic broken."); }
123 ASSERT (pTab_.size() == hTab_.size());
124 REQUIRE (level_+slots <= hTab_.size());
126 size_t prev_level (level_);
128 return std::make_pair (&hTab_[prev_level],
135 ASSERT (slots <= level_);
136 REQUIRE (level_ <= hTab_.size());
137 REQUIRE (level_ <= pTab_.size());
143 level_check (BuffTable::Chunk& prev_level)
145 return prev_level.first == &hTab_[level_]
146 && prev_level.second == &pTab_[level_];
163 BuffTable::Chunk tab_;
168 : siz_(wd.nrI + wd.nrO),
169 tab_(storage.
claim (siz_)),
172 const uint nrO(wd.nrO);
175 this->outHandle = &tab_.first[ 0 ];
176 this->inHandle = &tab_.first[nrO];
177 this->outBuff = &tab_.second[ 0 ];
178 this->inBuff = &tab_.second[nrO];
184 ASSERT ( sto_.level_check (tab_),
185 "buffer management logic broken.");
Interface to the processing nodes and the render nodes network.
Obsolete, to be rewritten /////TICKET #826 to be allocated on the stack while evaluating a ProcNode::...
Obsolete, to be rewritten /////TICKET #826.
Any copy and copy construction prohibited.
BuffTable::Chunk claim(uint slots)
allocate the given number of slots starting at current level to be used by the newly created BuffTabl...
Steam-Layer implementation namespace root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
An opaque descriptor to identify the type and further properties of a data buffer.
Lumiera error handling (C++ interface).
Handle for a buffer for processing data, abstracting away the actual implementation.
Representation of the Media type of a data channel used within the engine.
just a placeholder to decouple the existing code from the reworked BuffHandle logic.
Obsolete, to be rewritten /////TICKET #826.
placeholder type for the contents of a data buffer.
Interface: Description of the input and output ports, processing function and predecessor nodes for a...