10 #ifndef DtSubjectBinder_H_
11 #define DtSubjectBinder_H_
14 #include <boost/function.hpp>
boost::function< void(DtDe &)> BindFunction
Definition: DtSubjectBinder.h:41
BindFunctionList myBindFunctionList
Definition: DtSubjectBinder.h:44
std::list< BindFunction > BindFunctionList
Definition: DtSubjectBinder.h:42
Base class for DtSubjectObservers that allow "delayed virtual construction via functors". Basically, this class is has a list of functors that get executed after the creation of the DtSubjectObserver. In this way, it acts as if you could have virtual functions in your ctor. This was neccessary in order to have the DtSubjectObservers automatically connect to activated subjects. To do that, we needed to call a the virtual method slot_activate() after the contruction of the observer. The observer adds the functor to this list and the logic calls bind() after creation. The logic's ctor is protected and can only be created via a creator method that calls bind().
Definition: DtSubjectBinder.h:29
binderNoArgs< _Fn > bind(const _Fn &_Func, const _Ty &_Left)
Definition: DtSTLUtilities.h:76
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Contains DLL export macros.