![]() |
||||||||
|
|
||||||||


| T | Type of data to replicate. Supported are zU32, zS32, zFloat, zU32*, zS32* and zFloat* | |
| SIZE | Size of array to replicate. 1 for single values. Supported size is up to 12. |
Public Member Functions | |
| ZCOM_TAPI zU8 | getSize () const |
| Get size of array. | |
| ZCOM_TAPI TYPE * | getValue () |
| Get pointer to internal value array. | |
| ZCOM_TAPI TYPE | getValue (zU8 _idx) |
| Get value from array. | |
| ZCOM_TAPI void * | peekData () |
| Peeking implementation. | |
| ZCOM_TAPI void | setValue (TYPE *_val) |
| Set single value in array. | |
| ZCOM_TAPI void | setValue (zU8 _idx, TYPE _val) |
| Set single value in array. | |
| ZCOM_TAPI | ZCom_Replicate_Numeric (TYPE *_data, zU8 _rbits, zU8 _flags, zU8 _rules, zU8 _intercept_id=0, zS16 _mindelay=-1, zS16 _maxdelay=-1) |
| constructor, builds the replicatorsetup automatically | |
| ZCOM_TAPI | ZCom_Replicate_Numeric (TYPE *_data, ZCom_RSetupNumeric *_setup) |
| constructor, taking a ZCom_ReplicatorSetup pointer | |
Protected Attributes | |
| zU8 | m_flags |
| Additional replicator flags. ZCom_Replicator() c'tor will set this to 0. (ZCOM_REPLICATOR_*). | |
| ZCom_ReplicatorSetup * | m_setup |
| pointing to an instance of the setup class - all replication parameters are stored here | |
|
||||||||||||||||
|
constructor, taking a ZCom_ReplicatorSetup pointer
|
|
||||||||||||||||||||||||||||||||||||
|
constructor, builds the replicatorsetup automatically
|
|
|||||||||
|
Peeking implementation.
Implements ZCom_Replicator. |
|
|||||||||
|
Get size of array.
|
|
||||||||||
|
Get value from array.
|
|
|||||||||
|
Get pointer to internal value array.
|
|
||||||||||||||||
|
Set single value in array.
|
|
||||||||||
|
Set single value in array.
|
|
|
Overloaded memory operator ensuring that always Zoidcom's new gets called.
|
|
|
Overloaded memory operator ensuring that always Zoidcom's delete gets called.
|
|
|
Get stream currently processed for peeking the data.
This will only return a valid result when called from inside the above mentioned interceptor callback. |
|
|
Store pointer to allocated peekbuffer, so it can be deleted again.
When you call peekDataStore() more than once with a pointer != NULL, clearPeekData() will get called automatically. Thread Local Storage means, there is one variable for each thread of the program. Replicators could as well declare a member variable used for that purpose instead, but that would waste a lot of memory when peeking interceptors are not used. |
|
|
Retrieve the peekbuffer pointer currently stored.
|
|
|
Additional replicator flags. ZCom_Replicator() c'tor will set this to 0. (ZCOM_REPLICATOR_*).
|
|
|
pointing to an instance of the setup class - all replication parameters are stored here
|
1.4.6-NO