VObject-local management of threads.
More...
#include </home/werner/origo/vish/ocean/plankton/VThread.hpp>
List of all members.
Classes
Public Member Functions
-
bool add (const RefPtr< VTask > &what, const string &TaskName="")
-
Ageable & age ()
- Return the age of this value.
-
const Ageable & age () const
- Return the age of this value, constant version.
-
override RefPtr< VValueBase > copy () const
- Create a copy of the respective value.
-
RefPtr< VTask > findTask (const string &TaskName="") const
- override const type_info & getType () const
- Implement the virtual function to query the type ID of this value.
- override bool getValue (VThreadManager &Variable) const
- Implement the virtual function to get the current value.
-
override WeakPtr< VValueCreator > getValueCreator () const
-
override bool getValueFrom (const WeakPtr< VValueBase > &V)
-
bool isrunning (const string &TaskName="") const
-
bool isrunning (const RefPtr< VTask > &what) const
-
int iterate (Iterator &) const
-
int nThreads () const
- The number of currently running threads.
-
override bool request (const VRequest &request, double precision)
-
bool sendMessage (const RefPtr< VTask > &what, const RefPtr< VTaskMessage > &msg)
- override bool setValue (const VThreadManager &Variable)
- Implement the assignment of the current value.
-
bool setValueFromText (const string &s)
-
override RefPtr< VManagedObject > source ()
- In case this object is memory-managed, return its container.
-
bool start (const string &TaskName="")
-
bool start (const RefPtr< VTask > &what)
-
bool suspend (const string &TaskName="")
-
bool suspend (const RefPtr< VTask > &what) const
-
string Text () const
- VValue (const VValue &V)
- Copy constructor: copies just the value, all reference pointing stuff is not duplicated.
-
VValue (VThreadManager &V)
-
bool wait (const string &TaskName="")
-
bool wait (const RefPtr< VTask > &what) const
Detailed Description
VObject-local management of threads.
Constructor & Destructor Documentation
Copy constructor: copies just the value, all reference pointing stuff is not duplicated.
Also, the age of the new object is recent.
Exported members from the source type will be exported here as well.
Member Function Documentation
Implement the virtual function to query the type ID of this value.
For this value, the type is fixed throughout its lifetime and corresponds to the type of the template argument.
Reimplemented from Wizt::VTypedValueBase< VThreadManager >.
Implement the virtual function to get the current value.
- Returns:
- True on successfull retrieval, which is always the case in the default implementation of a stored value. However, derived values which implement a procedural value might return false here as well.
- Parameters:
-
Variable | The external storage space where to assign this value. |
Implement the assignment of the current value.
- Parameters:
-
Variable | The external storage space from where to assign this value. |
The documentation for this class was generated from the following files:
- ocean/plankton/VThread.hpp
- ocean/plankton/VThread.cpp