Lines Matching defs:object
50 // This templated helper class allows an object to provide the execution
52 // execution object will be kept to provide the semantics when the process is
54 // of an object that might be used for this helper function would be void
60 // sc_spawn_object(T object, const char* name, const sc_spawn_options* opt_p)
61 // This is the object instance constructor for this class. It makes a
62 // copy of the supplied object. The tp_call constructor is called
63 // with an indication that this object instance should be reclaimed when
65 // object = object whose () operator will be called to provide
67 // name_p = optional name for object instance, or zero.
77 sc_spawn_object( T object) : m_object(object)
92 //"sc_spawn - semantic object with no return value"
95 // for the process being spawned will be provided by the supplied object
98 // object = object instance providing the execution semantics via its
100 // name_p = optional name for object instance, or zero.
105 T object,
113 spawn_p = new sc_spawn_object<T>(object);
141 // This templated helper class allows an object to provide the execution
143 // object will be kept to provide the semantics when the process is scheduled
145 // location specified by the supplied pointer. An example of an object that
153 // name_p = optional name for object instance, or zero.
155 // This is the object instance constructor for this class. It makes a
156 // copy of the supplied object. The tp_call constructor is called
157 // with an indication that this object instance should be reclaimed when
160 // object = object whose () operator will be called to provide
169 //"sc_spawn_object_v - semantic object with return value"
172 // for the process being spawned will be provided by the supplied object
177 // object = object instance providing the execution semantics via its ()
180 // name_p = optional name for object instance, or zero.
189 sc_spawn_object_v( typename T::result_type* r_p, T object ) :
190 m_object(object), m_result_p(r_p)
207 T object,
216 spawn_p = new sc_spawn_object_v<T>(r_p, object);
242 sc_spawn_object_v( R* r_p, T object) :
243 m_object(object), m_result_p(r_p)
260 T object,
269 spawn_p = new sc_spawn_object_v<T,R>(r_p, object);