actorpp
latest
Contents:
Readme Files
API
Class Hierarchy
File Hierarchy
Full API
Namespaces
Classes and Structs
Struct ActorImpl
Template Struct ChannelImpl
Class Actor
Template Class ActorThread
Template Class Channel
Class IActorThread
Class RecvThread
Enums
Functions
Defines
actorpp
API
Template Struct ChannelImpl
Edit on GitHub
Template Struct ChannelImpl
Defined in
File actor.hpp
Struct Documentation
template
<
typename
T
>
struct
ChannelImpl
Public Functions
inline
ChannelImpl
(
std
::
shared_ptr
<
ActorImpl
>
actor_impl
)
inline
void
push
(
const
T
&
item
)
inline
void
push
(
T
&
&
item
)
template
<
class
...
Args
>
inline
void
emplace
(
Args
&
&
...
args
)
inline
T
pop
(
)
inline
T
read
(
)
inline
void
clear
(
)
inline
bool
readable
(
)
inline
bool
readable_with_lock
(
)
Public Members
std
::
shared_ptr
<
detail
::
ActorImpl
>
actor_impl
std
::
queue
<
T
>
elements