Define Base class for FW4SPL objects and services.
More...
#include <Object.hpp>
|
|
virtual bool | isA (const std::string &type) const override |
| |
|
virtual const std::string & | getLeafClassname () const |
| | return object's classname without its namespace, i.e. BaseObject
|
| |
|
|
static bool | isTypeOf (const std::string &type) |
| |
|
static bool | isTypeOf (const std::string &type) |
| |
|
static const std::string & | leafClassname () |
| | return object's classname without its namespace, i.e. BaseObject
|
| |
|
static const std::string & | classname () |
| | return object's classname without its namespace, i.e. BaseObject
|
| |
|
| enum | Policy { EMPTY = 1,
GENERATE,
MUST_EXIST
} |
| |
|
typedef std::string | IDType |
| |
| FWTOOLS_API bool | hasID () const |
| | Return true if the object has an id set. More...
|
| |
| FWTOOLS_API IDType | getID (Policy policy=GENERATE) const |
| | Returns the id of the object. If it is not set and the policy value is. More...
|
| |
| virtual FWTOOLS_API void | setID (IDType newID) |
| | Set a newID for the object, (newID must not exist in fwID), the oldest one is released. More...
|
| |
| FWTOOLS_API void | resetID () |
| | Release the id for the object. More...
|
| |
|
| fwID () |
| | Constructor : does nothing.
|
| |
|
virtual const std::string & | getLeafClassname () const |
| | return object's classname without its namespace, i.e. BaseObject
|
| |
|
static bool | isTypeOf (const std::string &type) |
| |
| static FWTOOLS_API bool | exist (IDType _id) |
| |
| static FWTOOLS_API std::shared_ptr< ::fwTools::Object > | getObject (IDType requestID) |
| | Retrieve the object attached to the given id. Return a null sptr if no correspondence exist. More...
|
| |
|
static const std::string & | leafClassname () |
| | return object's classname without its namespace, i.e. BaseObject
|
| |
|
static const std::string & | classname () |
| | return object's classname without its namespace, i.e. BaseObject
|
| |
Define Base class for FW4SPL objects and services.
Definition at line 23 of file SrcLib/core/fwTools/include/fwTools/Object.hpp.
The documentation for this class was generated from the following files: