TagObserver Class Reference

#include <Ample.h>

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

List of all members.

Public Types

typedef Observable< TagObserverObservableType

Public Member Functions

virtual void onSetType (Tag &tag, VNTagType type, const VNTag &value)
virtual void onSetValue (Tag &tag, const VNTag &value)
virtual void onSetName (Tag &tag, const std::string name)
virtual void onDestroy (Tag &tag)
void detachObservables (void)

Friends

class Observable< T >

Detailed Description

Observer interface for tags.


Member Typedef Documentation

typedef Observable<TagObserver > ObservableType [inherited]

Member Function Documentation

void detachObservables ( void   )  [inline, inherited]

Detaches all observed objects from this observer.

virtual void onDestroy ( Tag tag  )  [virtual]

Called before an observed tag is destroyed.

Parameters:
tag The tag to be destroyed.
virtual void onSetName ( Tag tag,
const std::string  name 
) [virtual]

Called before an observed tag has its name changed.

Parameters:
tag The observed tag.
name The new name of the tag.
virtual void onSetType ( Tag tag,
VNTagType  type,
const VNTag &  value 
) [virtual]
virtual void onSetValue ( Tag tag,
const VNTag &  value 
) [virtual]

Friends And Related Function Documentation

friend class Observable< TagObserver > [friend, inherited]

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