DDS::ICopyable< T > Interface Template Reference

<<eXtension>> <<interface>> Interface for all the user-defined data type classes that support copy. More...

#include <managed_sequence.h>

Inheritance diagram for DDS::ICopyable< T >:

DDS::Bytes DDS::DynamicData DDS::KeyedBytes DDS::KeyedString DDS::ParticipantBuiltinTopicData DDS::PublicationBuiltinTopicData DDS::SubscriptionBuiltinTopicData DDS::TopicBuiltinTopicData Foo Foo

List of all members.


Detailed Description

template<typename T>
interface DDS::ICopyable< T >

<<eXtension>> <<interface>> Interface for all the user-defined data type classes that support copy.

A class implements the DDS::ICopyable interface to indicate that it allows its entire state to be replaced with the state of another object. This state copy is a deep copy, such that subsequent changes to any part of one object will not be observed in the other.

Therefore, in general, object references in this object cannot simply be reassigned to those in the source object. (Strings are an exception to this rule, because they are immutable.)

Examples:

HelloWorld.cpp.


RTI Data Distribution Service .Net APIs Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc