#include <mcas_buffer.h>
|
| Node (T val) |
|
| ~Node () |
|
T | value () |
|
void * | complete (void *current, std::atomic< void * > *address) |
| This method is implemented by each sub class and must guarantee that upon return that the descriptor no longer exists at the address it was placed. More...
|
|
void * | get_logical_value () |
| This method is implemented by each sub class. More...
|
|
| Descriptor () |
|
virtual | ~Descriptor () |
|
virtual bool | on_watch (std::atomic< void * > *, void *) |
| This method is optional to implement for each sub class. More...
|
|
virtual void | on_unwatch () |
| This method must be implemented if on_watch is implemented, and is optional otherwise. More...
|
|
virtual bool | on_is_watched () |
| This method is optional to implement for each sub class. More...
|
|
This method is implemented by each sub class and must guarantee that upon return that the descriptor no longer exists at the address it was placed.
- Parameters
-
current | the reference to this object as it is at the address, |
address | the location this object was read from |
Implements tervel::util::Descriptor.
This method is implemented by each sub class.
It returns the logical value of the past address. If the associated operation is still in progress then it will generally return the value that was replaced by this descriptor. Otherwise it will generally return the result of the operation for the specified address.
It can only be called from the static function which protects the object from being reused during the function.
Implements tervel::util::Descriptor.
The documentation for this class was generated from the following file: