SubjectAdapter Class Reference

Implementation of the interface for generalized registration of objects intereseted in mutations of the subclasses of this interface. More...

#include <SubjectAdapter.h>

Inheritance diagram for SubjectAdapter:

Inheritance graph

List of all members.

Public Member Functions

virtual const std::string & getObjectType () const
virtual bool isKindOf (const std::string &name) const


Detailed Description

Implementation of the interface for generalized registration of objects intereseted in mutations of the subclasses of this interface.

Definition at line 22 of file SubjectAdapter.h.


Member Function Documentation

virtual const std::string& SubjectAdapter::getObjectType (  )  const [virtual]

Inherited obligation from TypeAwareObject.

Allow observers to determine the type of mutating object notifying them.

Returns:
The name of the subclass of this interface.

Implements TypeAwareObject.

virtual bool SubjectAdapter::isKindOf ( const std::string &  name  )  const [virtual]

Inherited obligation from TypeAwareObject.

Allow observers to determine the type of mutating object notifying them.

Parameters:
name Name of the class which is being inquired about.
Returns:
True if the subclass matches of this interface matches or is a parent of the class identified in the argument.

Implements TypeAwareObject.


Software Development Kit - Opticks 4.9.0 Build 16218