| 
    SystemC
    Recoding Infrastructure for SystemC v0.6.0 derived from Accellera SystemC 2.3.1
    
   Accellera SystemC proof-of-concept library 
   | 
 
Semantic object with return value. More...
#include <sysc/kernel/sc_spawn.h>


Public Member Functions | |
| sc_spawn_object_v (typename T::result_type *r_p, T object) | |
| virtual void | semantics () | 
  Public Member Functions inherited from sc_core::sc_process_host | |
| sc_process_host () | |
| virtual | ~sc_process_host () | 
| void | defunct () | 
Protected Attributes | |
| T | m_object | 
| T::result_type * | m_result_p | 
Semantic object with return value.
This inline function spawns a process for execution. The execution semantics for the process being spawned will be provided by the supplied object instance via its () operator. (E.g., a SC_BOOST bound function) That operator returns a value, which will be placed in the supplied return location.
After creating the process it is registered with the simulator.
   object   =  object instance providing the execution semantics via its () 
               operator.
   r_p      -> where to place the value of the () operator.
   name_p   =  optional name for object instance, or zero.
   opt_p    -> optional spawn options for process, or zero for the default.
 
Definition at line 221 of file sc_spawn.h.
      
  | 
  inline | 
Definition at line 223 of file sc_spawn.h.
      
  | 
  inlinevirtual | 
Definition at line 228 of file sc_spawn.h.
      
  | 
  protected | 
Definition at line 234 of file sc_spawn.h.
      
  | 
  protected | 
Definition at line 235 of file sc_spawn.h.
 1.8.5