VR-Vantage 3.2 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
makVrv::event_signal< Signature, Combiner, Group, GroupCompare, SlotFunction > Class Template Reference

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

Inherits signal< Signature, Combiner, Group, GroupCompare, SlotFunction >.

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

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
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

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.

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:


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)