Gecode::LocalObject Class Reference
[Support for shared objects and handles]
Local (space-shared) object. More...
#include <core.hpp>
Public Member Functions | |
LocalObject * | fwd (Space &home, bool share) |
Return forwarding pointer. | |
Protected Member Functions | |
LocalObject (Home home) | |
Constructor for creation. | |
LocalObject (Space &home, bool share, LocalObject &l) | |
Copy constructor. | |
Static Protected Member Functions | |
static LocalObject * | cast (ActorLink *al) |
Static cast for a non-null pointer (to give a hint to optimizer). | |
static const LocalObject * | cast (const ActorLink *al) |
Static cast for a non-null pointer (to give a hint to optimizer). |
Detailed Description
Local (space-shared) object.
Local objects must inherit from this base class.
Definition at line 1183 of file core.hpp.
Constructor & Destructor Documentation
Gecode::LocalObject::LocalObject | ( | Home | home | ) | [inline, protected] |
Gecode::LocalObject::LocalObject | ( | Space & | home, | |
bool | share, | |||
LocalObject & | l | |||
) | [inline, protected] |
Member Function Documentation
LocalObject * Gecode::LocalObject::cast | ( | ActorLink * | al | ) | [inline, static, protected] |
Static cast for a non-null pointer (to give a hint to optimizer).
Reimplemented from Gecode::Actor.
const LocalObject * Gecode::LocalObject::cast | ( | const ActorLink * | al | ) | [inline, static, protected] |
Static cast for a non-null pointer (to give a hint to optimizer).
Reimplemented from Gecode::Actor.
LocalObject * Gecode::LocalObject::fwd | ( | Space & | home, | |
bool | share | |||
) | [inline] |
The documentation for this class was generated from the following files:
- gecode/kernel/core.hpp (Revision: 14471)
- gecode/kernel/core.cpp (Revision: 14336)