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 () |
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.
| sc_core::sc_spawn_object_v< T >::sc_spawn_object_v | ( | typename T::result_type * | r_p, | |
| T | object | |||
| ) | [inline] |
Definition at line 223 of file sc_spawn.h.
| virtual void sc_core::sc_spawn_object_v< T >::semantics | ( | ) | [inline, virtual] |
Definition at line 228 of file sc_spawn.h.
T sc_core::sc_spawn_object_v< T >::m_object [protected] |
Definition at line 234 of file sc_spawn.h.
T::result_type* sc_core::sc_spawn_object_v< T >::m_result_p [protected] |
Definition at line 235 of file sc_spawn.h.
1.6.1