Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
TestBasicConnectionTrackerInterface Class Reference

Test that reimplmenting ConnectionTrackerInterface actually works. More...

#include <signal-helper.h>

Inheritance diagram for TestBasicConnectionTrackerInterface:
Inheritance graph
[legend]
Collaboration diagram for TestBasicConnectionTrackerInterface:
Collaboration graph
[legend]

Public Member Functions

 TestBasicConnectionTrackerInterface ()
 
 ~TestBasicConnectionTrackerInterface ()
 
void VoidSlotVoid ()
 An example slot. More...
 
virtual std::size_t GetConnectionCount () const
  More...
 
virtual void SignalConnected (SlotObserver *slotObserver, CallbackBase *callback)
  More...
 
virtual void SignalDisconnected (SlotObserver *slotObserver, CallbackBase *callback)
  More...
 
void RemoveNullCallback ()
 RemoveNullCallback, testing what occurs when we pass a callback that doesn't exist. More...
 

Public Attributes

bool mCallbackHandled
 

Private Member Functions

 TestBasicConnectionTrackerInterface (const TestBasicConnectionTrackerInterface &)
 undefined copy constructor More...
 
TestBasicConnectionTrackerInterfaceoperator= (const TestBasicConnectionTrackerInterface &)
 undefined assignment operator More...
 

Private Attributes

CallbackBase * mCallback
 callback, has ownership More...
 
SlotObserver * mSlotObserver
 a pointer to the slot observer (not owned) More...
 

Detailed Description

Test that reimplmenting ConnectionTrackerInterface actually works.

This basic connection tracker only allows one callback to be connected.

Definition at line 899 of file signal-helper.h.

Constructor & Destructor Documentation

TestBasicConnectionTrackerInterface::TestBasicConnectionTrackerInterface ( )
inline

Definition at line 903 of file signal-helper.h.

TestBasicConnectionTrackerInterface::~TestBasicConnectionTrackerInterface ( )
inline

Definition at line 910 of file signal-helper.h.

References mCallback, and mSlotObserver.

TestBasicConnectionTrackerInterface::TestBasicConnectionTrackerInterface ( const TestBasicConnectionTrackerInterface )
private

undefined copy constructor

Member Function Documentation

virtual std::size_t TestBasicConnectionTrackerInterface::GetConnectionCount ( ) const
inlinevirtual

Definition at line 931 of file signal-helper.h.

References mCallback.

Referenced by UtcDaliSignalCustomConnectionTracker().

Here is the caller graph for this function:

TestBasicConnectionTrackerInterface& TestBasicConnectionTrackerInterface::operator= ( const TestBasicConnectionTrackerInterface )
private

undefined assignment operator

void TestBasicConnectionTrackerInterface::RemoveNullCallback ( )
inline

RemoveNullCallback, testing what occurs when we pass a callback that doesn't exist.

Definition at line 969 of file signal-helper.h.

References mSlotObserver.

Referenced by UtcDaliSignalCustomConnectionTracker().

Here is the caller graph for this function:

virtual void TestBasicConnectionTrackerInterface::SignalConnected ( SlotObserver *  slotObserver,
CallbackBase *  callback 
)
inlinevirtual

Definition at line 944 of file signal-helper.h.

References DALI_ASSERT_ALWAYS, mCallback, and mSlotObserver.

virtual void TestBasicConnectionTrackerInterface::SignalDisconnected ( SlotObserver *  slotObserver,
CallbackBase *  callback 
)
inlinevirtual

Definition at line 955 of file signal-helper.h.

References mCallback, and mSlotObserver.

void TestBasicConnectionTrackerInterface::VoidSlotVoid ( )
inline

An example slot.

Definition at line 923 of file signal-helper.h.

References mCallbackHandled.

Referenced by UtcDaliSignalCustomConnectionTracker().

Here is the caller graph for this function:

Member Data Documentation

CallbackBase* TestBasicConnectionTrackerInterface::mCallback
private

callback, has ownership

Definition at line 985 of file signal-helper.h.

Referenced by GetConnectionCount(), SignalConnected(), SignalDisconnected(), and ~TestBasicConnectionTrackerInterface().

bool TestBasicConnectionTrackerInterface::mCallbackHandled

Definition at line 981 of file signal-helper.h.

Referenced by UtcDaliSignalCustomConnectionTracker(), and VoidSlotVoid().

SlotObserver* TestBasicConnectionTrackerInterface::mSlotObserver
private

a pointer to the slot observer (not owned)

Definition at line 986 of file signal-helper.h.

Referenced by RemoveNullCallback(), SignalConnected(), SignalDisconnected(), and ~TestBasicConnectionTrackerInterface().


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali