qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
Pipe.h File Reference

Actor communication channel for the QB Actor Framework. More...

#include "ActorId.h"
#include "Event.h"
Include dependency graph for Pipe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  qb::Pipe
 Represents a communication channel between actors. More...

Typedefs

using qb::pipe = Pipe
 Alias for the Pipe class.

Detailed Description

Actor communication channel for the QB Actor Framework.

This file defines the Pipe class which provides a communication channel between actors in the QB Actor Framework. Pipes enable actors to send events to each other in a type-safe and efficient manner, maintaining the actor model's isolation properties while facilitating message passing.

Each pipe has a source actor and a destination actor, and provides methods for pushing events to the destination actor with optional pre-allocated sizes for improved performance with larger messages.

Author
qb - C++ Actor Framework

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.