VMware Tanzu GemFire Native C++ Reference
10.1.5
|
Go to the documentation of this file.
20 #ifndef GEODE_REGIONEVENT_H_
21 #define GEODE_REGIONEVENT_H_
25 #include "internal/geode_globals.hpp"
40 const std::shared_ptr<Serializable>
49 const std::shared_ptr<Serializable>& aCallbackArgument,
50 const bool remoteOrigin);
56 inline std::shared_ptr<Region>
getRegion()
const {
return m_region; }
64 return m_callbackArgument;
79 #endif // GEODE_REGIONEVENT_H_
const std::shared_ptr< Region > m_region
Region for this event.
Definition: RegionEvent.hpp:39
std::shared_ptr< Serializable > getCallbackArgument() const
Returns the callbackArgument passed to the method that generated this event.
Definition: RegionEvent.hpp:63
const bool m_remoteOrigin
True if from a remote process.
Definition: RegionEvent.hpp:42
bool remoteOrigin() const
If the event originated in a remote process, returns true.
Definition: RegionEvent.hpp:68
std::shared_ptr< Region > getRegion() const
Return the region this event occurred in.
Definition: RegionEvent.hpp:56
Declares region events.
Definition: RegionEvent.hpp:37
const std::shared_ptr< Serializable > m_callbackArgument
Callback argument for this event, if any.
Definition: RegionEvent.hpp:41
RegionEvent(const std::shared_ptr< Region > ®ion, const std::shared_ptr< Serializable > &aCallbackArgument, const bool remoteOrigin)
Constructor, given the values.
~RegionEvent()
Destructor.
RegionEvent()
Constructor.
Apache Geode C++ Cache API Documentation