MethodObserver Class Reference

#include <Ample.h>

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

List of all members.

Public Types

typedef Observable
< MethodObserver
ObservableType

Public Member Functions

virtual void onCall (Method &method, const MethodArgumentList &arguments)
virtual void onSetName (Method &method, const std::string &name)
virtual void onDestroy (Method &method)
void detachObservables (void)

Friends

class Observable< T >

Detailed Description

Observer interface for object node methods.


Member Typedef Documentation

typedef Observable<MethodObserver > ObservableType [inherited]

Member Function Documentation

void detachObservables ( void   )  [inline, inherited]

Detaches all observed objects from this observer.

virtual void onCall ( Method method,
const MethodArgumentList arguments 
) [virtual]

Called when a call has been issued to an observed object method.

Parameters:
method The method which has been called.
arguments The arguments passed to the called method.
virtual void onDestroy ( Method method  )  [virtual]

Called before an observed method is destroyed.

Parameters:
method The method to be destroyed.
virtual void onSetName ( Method method,
const std::string &  name 
) [virtual]

Friends And Related Function Documentation

friend class Observable< MethodObserver > [friend, inherited]

Generated on Thu Nov 19 20:19:28 2009 for Ample by  doxygen 1.6.1