Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
tbb::flow::interface7::overwrite_node< T > Class Template Reference
Inheritance diagram for tbb::flow::interface7::overwrite_node< T >:
tbb::flow::interface7::graph_node tbb::flow::interface7::receiver< T > tbb::flow::interface7::sender< T > tbb::flow::interface7::write_once_node< T >

Public Types

typedef T input_type
 
typedef T output_type
 
typedef sender< input_typepredecessor_type
 
typedef receiver< output_typesuccessor_type
 
- Public Types inherited from tbb::flow::interface7::receiver< T >
typedef T input_type
 The input type of this receiver.
 
typedef sender< T > predecessor_type
 The predecessor type for this node.
 
- Public Types inherited from tbb::flow::interface7::sender< T >
typedef T output_type
 The output type of this sender.
 
typedef receiver< T > successor_type
 The successor type for this node.
 

Public Member Functions

 overwrite_node (graph &g)
 
 overwrite_node (const overwrite_node &src)
 
void set_name (const char *name)
 
bool register_successor (successor_type &s)
 Add a new successor to this node.
 
bool remove_successor (successor_type &s)
 Removes a successor from this node.
 
bool try_get (T &v)
 Request an item from the sender.
 
bool is_valid ()
 
void clear ()
 
- Public Member Functions inherited from tbb::flow::interface7::graph_node
 graph_node (graph &g)
 
- Public Member Functions inherited from tbb::flow::interface7::receiver< T >
virtual ~receiver ()
 Destructor.
 
bool try_put (const T &t)
 Put an item to the receiver.
 
virtual bool register_predecessor (predecessor_type &)
 Add a predecessor to the node.
 
virtual bool remove_predecessor (predecessor_type &)
 Remove a predecessor from the node.
 
- Public Member Functions inherited from tbb::flow::interface7::sender< T >
virtual bool try_reserve (T &)
 Reserves an item in the sender.
 
virtual bool try_release ()
 Releases the reserved item.
 
virtual bool try_consume ()
 Consumes the reserved item.
 

Protected Member Functions

task * try_put_task (const T &v)
 
void reset ()
 
void reset_receiver ()
 
- Protected Member Functions inherited from tbb::flow::interface7::receiver< T >
virtual bool is_continue_receiver ()
 

Protected Attributes

spin_mutex my_mutex
 
internal::broadcast_cache< T,
null_rw_mutex
my_successors
 
my_buffer
 
bool my_buffer_is_valid
 
- Protected Attributes inherited from tbb::flow::interface7::graph_node
graphmy_graph
 
graph_nodenext
 
graph_nodeprev
 

Friends

template<typename R , typename B >
class run_and_put_task
 
template<typename X , typename Y >
class internal::broadcast_cache
 
template<typename X , typename Y >
class internal::round_robin_cache
 

The documentation for this class was generated from the following file:

Copyright © 2005-2014 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.