#include <GenericNotification.h>
Public Types | |
typedef _Subject | Subject |
typedef _NoteTime | NoteTime |
typedef _Tag | Tag |
Public Member Functions | |
GenericNotification () | |
GenericNotification (Subject *src, Tag t) | |
template<typename T> | |
GenericNotification (Subject *src, Tag t, T val) | |
GenericNotification (Subject *src, Tag t, NoteTime time) | |
template<typename T> | |
GenericNotification (Subject *src, Tag t, T v, NoteTime time) | |
template<typename T> | |
boost::call_traits< T >::reference | get () |
template<typename T> | |
boost::call_traits< T >::const_reference | get () const |
template<typename T> | |
void | set (typename boost::call_traits< T >::const_reference t) |
template<typename T> | |
T * | getArray () |
template<typename T> | |
T const * | getArray () const |
template<typename T> | |
void | setArray (T const *t, unsigned n) |
NoteTime const & | timeStamp () const |
void | setTimeStamp (NoteTime const &n) const |
void * | buffer () |
void const * | buffer () const |
unsigned int | bufferSize () const |
void | clearBuffer () |
Subject * | source () const |
Tag | tag () const |
bool | isValid () const |
Private Member Functions | |
BOOST_STATIC_ASSERT (totalSize >=sizeof(Subject *)+sizeof(Tag)+sizeof(NoteTime)+sizeof(unsigned char *)) | |
Private Attributes | |
_Subject * | _subject |
Tag | _tag |
NoteTime | _timeStamp |
unsigned char | _buf [_buffBytes] |
Static Private Attributes | |
static const unsigned | _buffBytes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: |
|
|
|
|
|
|