fw4spl
fwCore::LogicStamp Class Reference

Provides a Logical timestamp system. More...

#include <LogicStamp.hpp>

+ Inheritance diagram for fwCore::LogicStamp:
+ Collaboration diagram for fwCore::LogicStamp:

Public Types

typedef unsigned long LogicStampType
 Type used in logical typestamp.
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWCORE_API void modified ()
 Increment global Logical counter and copy it to this LogicStamp.
 
FWCORE_API LogicStampType getLogicStamp () const
 
FWCORE_API bool operator> (const LogicStamp &ls) const
 Greater than operator for LogicStamp. More...
 
FWCORE_API bool operator< (const LogicStamp &ls) const
 Lesser than operator for LogicStamp. More...
 
FWCORE_API operator LogicStampType () const
 Cast operator for LogicStamp.
 
Constructor/Destructor
FWCORE_API LogicStamp ()
 
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwCore::BaseObject
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
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

virtual const std::string & getLeafClassname () const override
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
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
 

Detailed Description

Provides a Logical timestamp system.

Definition at line 22 of file LogicStamp.hpp.

Member Function Documentation

FWCORE_API LogicStampType fwCore::LogicStamp::getLogicStamp ( ) const
inline
Returns
LogicStamp's current value

Definition at line 54 of file LogicStamp.hpp.

FWCORE_API bool fwCore::LogicStamp::operator< ( const LogicStamp ls) const
inline

Lesser than operator for LogicStamp.

Parameters
lsLogicStamp to compare to

Definition at line 75 of file LogicStamp.hpp.

FWCORE_API bool fwCore::LogicStamp::operator> ( const LogicStamp ls) const
inline

Greater than operator for LogicStamp.

Parameters
lsLogicStamp to compare to

Definition at line 65 of file LogicStamp.hpp.


The documentation for this class was generated from the following files: