TAO_CosNotification
2.3.1
|
Base class abstraction for Events flowing through the EventChannel. More...
#include <Event.h>
Public Types | |
enum | { MARSHAL_ANY =1, MARSHAL_STRUCTURED =2 } |
typedef TAO_Notify_Refcountable_Guard_T < TAO_Notify_Event > | Ptr |
![]() | |
typedef TAO_Notify_Refcountable_Guard_T < TAO_Notify_Refcountable > | Ptr |
Public Member Functions | |
TAO_Notify_Event (void) | |
Constructor. More... | |
virtual | ~TAO_Notify_Event () |
Destructor. More... | |
virtual const TAO_Notify_EventType & | type (void) const =0 |
Get the event type. More... | |
virtual CORBA::Boolean | do_match (CosNotifyFilter::Filter_ptr filter) const =0 |
Returns true if the filter matches. More... | |
virtual void | convert (CosNotification::StructuredEvent ¬ification) const =0 |
Convert to CosNotification::Structured type. More... | |
virtual void | push (TAO_Notify_Consumer *consumer) const =0 |
Push event to consumer. More... | |
virtual void | push (Event_Forwarder::StructuredProxyPushSupplier_ptr forwarder) const =0 |
Push event to the Event_Forwarder interface. More... | |
virtual void | push_no_filtering (Event_Forwarder::StructuredProxyPushSupplier_ptr forwarder) const =0 |
Push event to the Event_Forwarder interface. More... | |
virtual void | push (Event_Forwarder::ProxyPushSupplier_ptr forwarder) const =0 |
Push event to the Event_Forwarder interface. More... | |
virtual void | push_no_filtering (Event_Forwarder::ProxyPushSupplier_ptr forwarder) const =0 |
Push event to the Event_Forwarder interface. More... | |
TAO_Notify_Event * | queueable_copy (void) const |
virtual void | marshal (TAO_OutputCDR &cdr) const =0 |
marshal this event into a CDR buffer (for persistence) More... | |
const TAO_Notify_Property_Short & | priority (void) const |
const TAO_Notify_Property_Time & | timeout (void) const |
Timeout. More... | |
const TAO_Notify_Property_Boolean & | reliable (void) const |
Reliable. More... | |
const ACE_Time_Value & | creation_time (void) const |
Event creation time. More... | |
![]() | |
TAO_Notify_Refcountable (void) | |
Constructor. More... | |
virtual | ~TAO_Notify_Refcountable () |
CORBA::ULong | _incr_refcnt (void) |
CORBA::ULong | _decr_refcnt (void) |
Static Public Member Functions | |
static void | translate (const CORBA::Any &any, CosNotification::StructuredEvent ¬ification) |
Translate Any to Structured. More... | |
static void | translate (const CosNotification::StructuredEvent ¬ification, CORBA::Any &any) |
Translate Structured to Any. More... | |
static TAO_Notify_Event * | unmarshal (TAO_InputCDR &cdr) |
Unmarshal an event from a CDR. (for persistence) More... | |
Protected Attributes | |
TAO_Notify_Property_Short | priority_ |
= QoS properties More... | |
TAO_Notify_Property_Time | timeout_ |
Timeout. More... | |
TAO_Notify_Property_Boolean | reliable_ |
Reliability. More... | |
Private Member Functions | |
virtual TAO_Notify_Event * | copy (void) const =0 |
Return a pointer to a copy of this event on the heap. More... | |
virtual void | release (void) |
The release method is called when the refcount reaches 0. More... | |
![]() | |
ACE_Copy_Disabled (void) | |
Private Attributes | |
Ptr | clone_ |
bool | is_on_heap_ |
ACE_Time_Value | time_ |
Base class abstraction for Events flowing through the EventChannel.
TAO_Notify_Event::TAO_Notify_Event | ( | void | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Convert to CosNotification::Structured type.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
|
privatepure virtual |
Return a pointer to a copy of this event on the heap.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
const ACE_Time_Value & TAO_Notify_Event::creation_time | ( | void | ) | const |
Event creation time.
|
pure virtual |
Returns true if the filter matches.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
|
pure virtual |
marshal this event into a CDR buffer (for persistence)
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
const TAO_Notify_Property_Short & TAO_Notify_Event::priority | ( | void | ) | const |
= Accessors Priority
|
pure virtual |
Push event to consumer.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
|
pure virtual |
Push event to the Event_Forwarder interface.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
|
pure virtual |
Push event to the Event_Forwarder interface.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
|
pure virtual |
Push event to the Event_Forwarder interface.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
|
pure virtual |
Push event to the Event_Forwarder interface.
Implemented in TAO_Notify_AnyEvent_No_Copy, and TAO_Notify_StructuredEvent_No_Copy.
TAO_Notify_Event * TAO_Notify_Event::queueable_copy | ( | void | ) | const |
Return a pointer to a copy of this event on the heap. The event is not owned by the caller, so it should not be deleted or released.
|
privatevirtual |
The release method is called when the refcount reaches 0.
Implements TAO_Notify_Refcountable.
const TAO_Notify_Property_Boolean & TAO_Notify_Event::reliable | ( | void | ) | const |
Reliable.
const TAO_Notify_Property_Time & TAO_Notify_Event::timeout | ( | void | ) | const |
Timeout.
|
static |
Translate Any to Structured.
|
static |
Translate Structured to Any.
|
pure virtual |
Get the event type.
Implemented in TAO_Notify_StructuredEvent_No_Copy, and TAO_Notify_AnyEvent_No_Copy.
|
static |
Unmarshal an event from a CDR. (for persistence)
|
mutableprivate |
|
private |
|
protected |
= QoS properties
Priority.
|
protected |
Reliability.
|
private |
|
protected |
Timeout.