VR-Vantage
Loading...
Searching...
No Matches
makVrv::event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction > Class Template Reference

a event_signal, the signal queues events into an event queue More...

Inherits boost::signalslib::signal< Signature, boost::signals2::last_value< typename boost::function_traits< Signature >::result_type >, int, std::less< int >, boost::function< Signature > >.

Public Types

typedef event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction > this_type
typedef boost::function_traits< Signature > traits

Public Member Functions

template<typename ClassType>
 event_signal (this_type &(ClassType::*accessor)(), DtEventQueueInterface &i)
 CTOR which takes this instance's accessor function and an interface pointer.
template<typename ClassType>
 event_signal (this_type ClassType::*asMemberPointer, DtEventQueueInterface &i)
 CTOR which takes a pointer to itself as a member and an interface pointer.

Detailed Description

template<typename Signature, typename Combiner = boost::signals2::last_value<typename boost::function_traits<Signature>::result_type>, typename Group = int, typename GroupCompare = std::less<Group>, typename SlotFunction = boost::function<Signature>>
class makVrv::event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction >

a event_signal, the signal queues events into an event queue

class ClassType { static ClassType* findInstance( DtEventQueueInterface*);

event_signal< void () > signal_example;

ClassType(DtEventQueueInterface* eqi) : signal_example( &ClassType::signal_example, eqi) { } };

Member Typedef Documentation

◆ this_type

template<typename Signature, typename Combiner = boost::signals2::last_value<typename boost::function_traits<Signature>::result_type>, typename Group = int, typename GroupCompare = std::less<Group>, typename SlotFunction = boost::function<Signature>>
typedef event_signal<Signature,Combiner,Group,GroupCompare,SlotFunction> makVrv::event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction >::this_type

◆ traits

template<typename Signature, typename Combiner = boost::signals2::last_value<typename boost::function_traits<Signature>::result_type>, typename Group = int, typename GroupCompare = std::less<Group>, typename SlotFunction = boost::function<Signature>>
typedef boost::function_traits<Signature> makVrv::event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction >::traits

Constructor & Destructor Documentation

◆ event_signal() [1/2]

template<typename Signature, typename Combiner = boost::signals2::last_value<typename boost::function_traits<Signature>::result_type>, typename Group = int, typename GroupCompare = std::less<Group>, typename SlotFunction = boost::function<Signature>>
template<typename ClassType>
makVrv::event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction >::event_signal ( this_type &(ClassType::* accessor )(),
DtEventQueueInterface & i )

CTOR which takes this instance's accessor function and an interface pointer.

◆ event_signal() [2/2]

template<typename Signature, typename Combiner, typename Group, typename GroupCompare, typename SlotFunction>
template<typename ClassType>
makVrv::event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction >::event_signal ( this_type ClassType::* asMemberPointer,
DtEventQueueInterface & i )

CTOR which takes a pointer to itself as a member and an interface pointer.


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