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

This class provides the base setup information for Zoidcom's data replication features. Replicator implementations can derive from it to add additional info, like e.g. extrapolation error treshold or whatever else is needed.
Only use this class to store sharable setup information. Don't store any data specific to single replication items, which has to be stored inside the ZCom_Replicator itself instead.
Public Member Functions | |
| virtual ZCom_ReplicatorSetup * | Duplicate () |
| Create a duplication of this object. | |
| zU8 | getFlags () const |
| Get the flags(ZCOM_REPFLAG_*). | |
| zU8 | getInterceptID () const |
| Get the interceptor id. | |
| zS16 | getMaxDelay () const |
| Get maximum delay. | |
| zS16 | getMinDelay () const |
| Get minimum delay. | |
| zU8 | getRules () const |
| Get the rules(ZCOM_REPRULE_*). | |
| void | operator delete (void *_p) |
| Overloaded memory operator ensuring that always Zoidcom's delete gets called. | |
| void * | operator new (size_t _size) |
| Overloaded memory operator ensuring that always Zoidcom's new gets called. | |
| void | setInterceptID (zU8 _id) |
| Set the intercept id. | |
| void | setMaxDelay (zS16 _dly) |
| Set maximum delay. | |
| void | setMinDelay (zS16 _dly) |
| Set minimum delay. | |
| ZCom_ReplicatorSetup (zU8 _flags, zU8 _rules, zU8 _intercept_id, zS16 _min_delay, zS16 _max_delay) | |
| constructor | |
| ZCom_ReplicatorSetup (zU8 _flags, zU8 _rules) | |
| constructor | |
| virtual | ~ZCom_ReplicatorSetup () |
| destructor | |
Protected Attributes | |
| zU8 | m_flags |
| zU8 | m_intercept_id |
| interceptor id, 0 = default | |
| zS16 | m_maxdelay |
| Maximum delay between updates. | |
| zS16 | m_mindelay |
| Minimum delay between updates. | |
| zU8 | m_rules |
|
||||||||||||
|
constructor
|
|
||||||||||||||||||||||||
|
constructor
|
|
|
destructor
|
|
|
Create a duplication of this object.
|
|
|
Get the interceptor id.
|
|
|
Set the intercept id.
|
|
|
Get minimum delay.
|
|
|
Set minimum delay.
|
|
|
Get maximum delay.
|
|
|
Set maximum delay.
|
|
|
Get the rules(ZCOM_REPRULE_*).
|
|
|
Get the flags(ZCOM_REPFLAG_*).
|
|
|
Overloaded memory operator ensuring that always Zoidcom's new gets called.
|
|
|
Overloaded memory operator ensuring that always Zoidcom's delete gets called.
|
|
|
Holds replication flags (ZCOM_REPFLAG_*). Never ever modify these during operation. |
|
|
Holds replication rules (ZCOM_REPRULE_*) Never ever modify these during operation. |
|
|
interceptor id, 0 = default
|
|
|
Minimum delay between updates. It is not allowed to change these value from -1 to >= 0 once a replicator is actively using this setup. All other changes are allowed. |
|
|
Maximum delay between updates. It is not allowed to change these value from -1 to >= 0 once a replicator is actively using this setup. All other changes are allowed. |
1.4.6-NO