RTI Connext C# API
7.0.0
|
Abstract base class for all the DDS objects that support QoS policies, status events, and a status condition. More...
Public Member Functions | |
void | Enable () |
Enables this Entity (by default entities are automatically enabled after creation) More... | |
abstract void | ResetEvents (StatusMask eventsToRemove=StatusMask.All) |
Stop notifying of events and remove their event handlers. The actual events are defined in each derived entity class. More... | |
EntityLock | Lock () |
Locks the Entity using its internal lock. More... | |
void | Dispose () |
Releases the resources used by this Entity and disposes its contained entities as well (if any). More... | |
Properties | |
InstanceHandle | InstanceHandle [get] |
Gets the InstanceHandle that identifies this Entity More... | |
StatusMask | StatusChanges [get] |
Retrieves the list of communication statuses in this Entity that are triggered. More... | |
StatusCondition | StatusCondition [get] |
Gets the StatusCondition associated with this Entity. More... | |
bool | Enabled [get] |
Indicates whether this Entity is enabled. More... | |
bool | Disposed [get] |
Indicates whether this Entity has already been disposed. More... | |
Abstract base class for all the DDS objects that support QoS policies, status events, and a status condition.
The full documentation is available in the C API: DDS_Entity
void Dispose | ( | ) |
Releases the resources used by this Entity and disposes its contained entities as well (if any).
PreconditionNotMetException | When the entity cannot be disposed. For example, a topic cannot be disposed if a DataReader or a DataWriter is using it; a DataReader can't be disposed when a LoanedSamples returned by the DataReader is still in use. |
void Enable | ( | ) |
EntityLock Lock | ( | ) |
|
pure virtual |
Stop notifying of events and remove their event handlers. The actual events are defined in each derived entity class.
eventsToRemove | Selects which events will stop receiving notifications. StatusMask.All (the default) removes all event handlers. |
Implemented in Topic< T >, Subscriber, AnyDataReader, Publisher, AnyDataWriter, and DomainParticipant.
|
get |
Indicates whether this Entity has already been disposed.
|
get |
Indicates whether this Entity is enabled.
Gets the InstanceHandle that identifies this Entity
The full documentation is available in the C API: DDS_Entity_get_instance_handle
|
get |
Gets the StatusCondition associated with this Entity.
The full documentation is available in the C API: DDS_Entity_get_statuscondition