SubjectImp.h File Reference

#include "SafeSlot.h"
#include "TypesFile.h"
#include <boost/any.hpp>
#include <list>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

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

Defines

#define SUBJECTADAPTEREXTENSION_CLASSES
#define SUBJECTADAPTER_METHODS(impClass)


Define Documentation

#define SUBJECTADAPTER_METHODS ( impClass   ) 

Value:

bool attach(const std::string& signal, const Slot& slot) \
   { \
      return impClass::attach(signal, slot); \
   } \
   bool detach(const std::string& signal, const Slot& slot) \
   { \
      return impClass::detach(signal, slot); \
   } \
   private: \
   void enableSignals(bool enabled) \
   { \
      impClass::enableSignals(enabled); \
   } \
   public: \
   bool signalsEnabled() const \
   { \
      return impClass::signalsEnabled(); \
   }

Definition at line 94 of file SubjectImp.h.

#define SUBJECTADAPTEREXTENSION_CLASSES

Definition at line 92 of file SubjectImp.h.


Software Development Kit - Opticks 4.9.0 Build 16218