Homepage Demos Overview Downloads Tutorials Reference
Credits

DataEvent< T > Class Template Reference

#include <DataEvent.h>

Inheritance diagram for DataEvent< T >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class DataEvent< T >

for passing around data (or pointers to data)

Definition at line 9 of file DataEvent.h.

Public Member Functions

void setData (const T &d)
 assigns d to the internal data
const T & getData () const
 returns data
T & getData ()
 returns data
Constructors
 DataEvent ()
 DataEvent (const T &d, EventGeneratorID_t gid, unsigned int sid, EventTypeID_t tid, unsigned int dur=0)
 DataEvent (const T &d, EventGeneratorID_t gid, unsigned int sid, EventTypeID_t tid, unsigned int dur, const std::string &n, float mag)

Protected Attributes

data
 the data being communicated

Private Member Functions

 DataEvent (const DataEvent &fbk)
 don't call
const DataEventoperator= (const DataEvent &fbk)
 don't call


Constructor & Destructor Documentation

template<class T>
DataEvent< T >::DataEvent  )  [inline]
 

Definition at line 13 of file DataEvent.h.

template<class T>
DataEvent< T >::DataEvent const T &  d,
EventGeneratorID_t  gid,
unsigned int  sid,
EventTypeID_t  tid,
unsigned int  dur = 0
[inline]
 

Definition at line 14 of file DataEvent.h.

template<class T>
DataEvent< T >::DataEvent const T &  d,
EventGeneratorID_t  gid,
unsigned int  sid,
EventTypeID_t  tid,
unsigned int  dur,
const std::string &  n,
float  mag
[inline]
 

Definition at line 15 of file DataEvent.h.

template<class T>
DataEvent< T >::DataEvent const DataEvent< T > &  fbk  )  [private]
 

don't call


Member Function Documentation

template<class T>
T& DataEvent< T >::getData  )  [inline]
 

returns data

Definition at line 20 of file DataEvent.h.

template<class T>
const T& DataEvent< T >::getData  )  const [inline]
 

returns data

Definition at line 19 of file DataEvent.h.

Referenced by MicrophoneServer::processEvent(), and LookForSoundBehavior::processEvent().

template<class T>
const DataEvent& DataEvent< T >::operator= const DataEvent< T > &  fbk  )  [private]
 

don't call

template<class T>
void DataEvent< T >::setData const T &  d  )  [inline]
 

assigns d to the internal data

Definition at line 18 of file DataEvent.h.


Member Data Documentation

template<class T>
T DataEvent< T >::data [protected]
 

the data being communicated

Definition at line 23 of file DataEvent.h.

Referenced by DataEvent< T >::DataEvent(), and DataEvent< T >::setData().


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

Tekkotsu v2.2.1
Generated Tue Nov 23 16:37:44 2004 by Doxygen 1.3.9.1