OpenDDS::DCPS Namespace Reference


Classes

struct  AssociationData
class  BitPubListenerImpl
class  BuiltinTopicKeyLess
class  BIT_Helper_1
class  Cached_Allocator_With_Overflow
 A fixed-size allocator that caches items for quicker access but if the pool is exhausted it will use the heap. More...
struct  WriterCoherentSample
struct  CoherentChangeControl
 End Coherent Change message. More...
class  ComparatorBase
class  FieldComparator
class  StructComparator
class  ConditionImpl
class  ContentFilteredTopicImpl
class  DataCollector
 Collect data in a buffer. More...
class  DataDurabilityCache
 Underlying data cache for both OpenDDS TRANSIENT and PERSISTENT DURABILITY implementations.. More...
class  DataReaderCallbacks
 Defines the interface for Discovery callbacks into the DataReader. More...
class  WriterStats
 Elements stored for managing statistical data. More...
class  AbstractSamples
class  EndHistoricSamplesMissedSweeper
class  DataReaderImpl
 Implements the DDS::DataReader interface. More...
class  DataReaderImpl_T
class  DataSampleElement
struct  DataSampleHeader
class  DataWriterCallbacks
 Defines the interface for Discovery callbacks into the DataWriter. More...
class  DataWriterImpl
 Implements the OpenDDS::DCPS::DataWriterRemote interfaces and DDS::DataWriter interfaces. More...
class  DataWriterImpl_T
class  PartitionName
class  SequenceNumber
 Sequence number abstraction. Only allows positive 64 bit values. More...
struct  Objref_Servant_Pair
 This struct holds both object reference and the corresponding servant. More...
struct  VarLess
class  Discovery
 Discovery Strategy interface class. More...
struct  DcpsUpcalls
class  EndpointManager
class  LocalParticipant
class  PeerDiscovery
class  DiscoveryListener
 Defines the interface that allows DataWriters (and lower levels) to inform discovery. More...
class  DisjointSequence
class  DomainParticipantFactoryImpl
 Implements the OpenDDS::DCPS::DomainParticipantFactory interfaces. More...
class  DomainParticipantImpl
 Implements the OpenDDS::DCPS::DomainParticipant interfaces. More...
class  DurabilityArray
 Array class that provides a means to reset the underlying ACE_Allocator. More...
class  DurabilityQueue
 Queue class that provides a means to reset the underlying ACE_Allocator. More...
class  Dynamic_Cached_Allocator_With_Overflow
 A size-based allocator that caches blocks for quicker access, but if the pool is exhausted it will use the heap. More...
class  EntityImpl
 Implements the OpenDDS::DCPS::Entity interfaces. More...
struct  Value
class  FilterEvaluator
class  MetaStruct
class  GroupRakeData
class  GuidBuilder
class  GuidConverter
 Conversion processing and value testing utilities for RTPS GUID_t types. More...
struct  LogGuid
struct  GUID_tKeyLessThan
struct  GuidPrefixEqual
struct  EntityIdConverter
interface  DataReaderRemote
class  DataReaderRemoteImpl
 Implements the OpenDDS::DCPS::ReaderRemote interface that is used to add and remove associations. More...
interface  DataWriterRemote
class  DataWriterRemoteImpl
 Implements the OpenDDS::DCPS::DataWriterRemote interface. More...
class  FailoverListener
exception  Invalid_Domain
exception  Invalid_Participant
exception  Invalid_Publication
exception  Invalid_Subscription
exception  Invalid_Topic
interface  DCPSInfo
class  InfoRepoDiscovery
 Discovery Strategy class that implements InfoRepo discovery. More...
class  IRDiscoveryLoader
class  InstanceDataSampleList
class  InstanceHandleGenerator
class  InstanceState
 manage the states of a received data instance. More...
class  LocalObject
class  LocalObject_NoRefCount
class  Marked_Default_Qos
class  AllocHeader
class  FreeHeader
class  FreeIndexNode
class  FreeIndex
class  MemoryPool
class  MessageTracker
class  Monitor
class  MonitorFactory
 Null implementation of the MonitorFactory. More...
class  MultiTopicDataReader_T
class  MultiTopicDataReaderBase
class  MultiTopicImpl
class  OfferedDeadlineWatchdog
 Watchdog responsible calling the DataWriterListener when the deadline period expires. More...
class  OwnershipManager
class  PoolAllocationBase
class  PublicationInstance
 Struct that has information about an instance and the instance sample list. More...
class  PublisherImpl
 Implements the OpenDDS::DCPS::Publisher interfaces. More...
class  Qos_Helper
 This class implements methods that verify whether a qos is valid, consistent and changeable. More...
class  QOS_XML_Loader
class  QOS_XML_File_Handler
class  QueryConditionImpl
struct  RakeData
class  RakeResults
class  RawDataSample
class  RcHandle
class  RcObject
class  ReactorInterceptor
class  ReadConditionImpl
class  ReceivedDataElement
class  ReceivedDataFilter
class  ReceivedDataOperation
class  ReceivedDataElementList
class  ReceivedDataStrategy
class  ReceptionDataStrategy
class  SourceDataStrategy
class  RecorderListener
 Listener for handling callbacks from the Recorder. More...
class  Recorder
class  RecorderImpl
 Implementation of Recorder functionality. More...
class  Data_Types_Register
class  RemoveAssociationSweeper
class  ReplayerListener
 Listener for handling callbacks from the Replayer. More...
class  Replayer
 Send raw data samples in the system. More...
class  ReplayerImpl
 Implementation of Replayer functionality. More...
class  RepoIdBuilder
class  RepoIdConverter
 Conversion processing and value testing utilities for DCPS Information Repository identifiers. More...
class  RequestedDeadlineWatchdog
 Watchdog responsible calling the DataReaderListener when the deadline period expires. More...
struct  SendStateDataSampleListIterator
 SendStateDataSampleList STL-style iterator implementation. More...
struct  SendStateDataSampleListConstIterator
 SendStateDataSampleList STL-style const iterator implementation. More...
class  SendStateDataSampleList
class  Serializer
 Class to serialize and deserialize data for DDS. More...
struct  KeyOnly
class  Service_Participant
 Service entrypoint. More...
class  EndpointRegistry
struct  StaticDiscoveredParticipantData
class  StaticEndpointManager
class  StaticParticipant
class  StaticDiscovery
class  Stats
 Accumulates average, n, variance, minimum, and maximum statistics. More...
class  StatusConditionImpl
class  SubscriberImpl
class  SubscriptionInstance
 Struct that has information about an instance and the instance sample list. More...
class  TopicDescriptionImpl
 Implements the DDS::TopicDescription interface. More...
class  TopicImpl
 Implements the DDS::Topic interface. More...
class  Transient_Kludge
class  BasicQueue
class  BasicQueueLink
class  BasicQueueLinkAllocator
struct  BasicQueueLinkChunk
class  BasicQueueLinkPool
class  BasicQueueVisitor
class  BuildChainVisitor
class  CopyChainVisitor
class  DataLink
class  DataLinkCleanupTask
 Active Object responsible for cleaning up DataLink resources. More...
class  DataLinkSet
class  DataLinkWatchdog
class  DirectPriorityMapper
 map TRANSPORT_PRIORITY values directly. More...
struct  HostnameInfo
struct  NetworkAddress
 Defines a wrapper around address info which is used for advertise. More...
class  NullSynch
class  NullSynchStrategy
class  PacketRemoveVisitor
class  PerConnectionSynch
class  PerConnectionSynchStrategy
class  PoolSynch
class  PoolSynchStrategy
class  PriorityKey
 Encapsulate a priority value and internet address as a key. More...
class  PriorityMapper
 Encapsulate a TRANSPORT_PRIORITY value. More...
class  QueueRemoveVisitor
class  QueueTaskBase
 A simple ACE task that manages a queue of request. More...
class  ReactorSynch
 Send thread synchronization utilizing a reactor. More...
class  ReactorSynchStrategy
 strategy to construct ReactorSynch implementations of ThreadSynch. More...
class  ReceivedDataSample
 Holds a data sample received by the transport. More...
class  ReceiveListenerSet
class  ReceiveListenerSetMap
class  RemoveAllVisitor
class  ScheduleOutputHandler
 event handler used to enable and disable output processing. More...
class  SendResponseListener
 Simple listener to discard response samples. More...
struct  SendRequest
class  ThreadPerConnectionSendTask
 Execute the requests of sending a sample or control message. More...
class  ThreadPerConRemoveVisitor
class  ThreadSynch
class  ThreadSynchResource
class  ThreadSynchStrategy
class  ThreadSynchWorker
class  TransportClient
 Mix-in class for DDS entities which directly use the transport layer. More...
class  TransportConfig
class  TransportControlElement
class  TransportCustomizedElement
struct  TransportHeader
 Defines class that represents a transport packet header. More...
class  TransportImpl
class  TransportInst
 Base class to hold configuration settings for TransportImpls. More...
class  TransportQueueElement
 Base wrapper class around a data/control sample to be sent. More...
class  TransportReactorTask
class  TransportReassembly
class  TransportReceiveListener
class  TransportReceiveStrategy
class  TransportRegistry
class  TransportReplacedElement
class  TransportRetainedElement
class  TransportSendBuffer
class  SingleSendBuffer
class  TransportSendControlElement
class  TransportSendElement
class  TransportSendListener
class  TransportSendStrategy
class  TransportStrategy
class  TransportType
 Base class for concrete transports to provide new objects. More...
class  BestEffortSession
class  BestEffortSessionFactory
class  MulticastInitializer
class  MulticastDataLink
class  MulticastInst
class  MulticastType
class  MulticastLoader
class  MulticastReceiveStrategy
class  MulticastSendStrategy
class  SynWatchdog
class  MulticastSession
class  MulticastSessionFactory
class  MulticastTransport
class  NakWatchdog
class  ReliableSession
class  ReliableSessionFactory
class  RtpsCustomizedElement
class  RtpsSampleHeader
 Adapt the TransportReceiveStrategy for RTPS's "sample" (submessage) Header. More...
struct  RtpsTransportHeader
 Adapt the TransportReceiveStrategy for RTPS's "transport" (message) Header. More...
class  RtpsUdpInitializer
class  RtpsUdpDataLink
class  RtpsUdpInst
class  RtpsUdpType
class  RtpsUdpLoader
class  RtpsUdpReceiveStrategy
class  RtpsUdpSendStrategy
class  RtpsUdpTransport
class  ShmemInitializer
struct  ShmemData
class  ShmemDataLink
class  ShmemInst
class  ShmemType
class  ShmemLoader
class  ShmemReceiveStrategy
class  ShmemSendStrategy
class  ShmemTransport
class  Tcp_Initializer
class  TcpAcceptor
class  TcpConnection
class  TcpConnectionReplaceTask
 Active Object managing a queue of connection info objects. More...
class  TcpDataLink
class  TcpInst
class  TcpType
class  TcpLoader
class  TcpReceiveStrategy
class  TcpReconnectTask
 Active Object managing a queue of reconnecting request. More...
class  TcpSendStrategy
class  TcpSynchResource
class  TcpTransport
class  UdpInitializer
class  UdpDataLink
class  UdpInst
class  UdpType
class  UdpLoader
class  UdpReceiveStrategy
class  UdpSendStrategy
class  UdpTransport
class  TypeSupportImpl
class  TypeSupportImpl_T
class  V8TypeConverter
class  Watchdog
 Watchdog abstract base class. More...
class  WriteDataContainer
 A container for instances sample data. More...
class  WriterDataSampleList
class  WriterInfoListener
class  WriterInfo
 Keeps track of a DataWriter's liveliness for a DataReader. More...
class  FirstTimeFastAllocator
struct  EntityId_t
struct  GUID_t
struct  TransportLocator
struct  IncompatibleQosStatus
struct  AddDomainStatus
struct  WriterAssociation
struct  ReaderAssociation
struct  Locator_t
struct  ContentFilterProperty_t
struct  ReaderProxy_t
struct  DiscoveredReaderData
struct  WriterProxy_t
struct  DiscoveredWriterData
struct  PublicationLostStatus
interface  DataWriterListener
struct  SubscriptionLostStatus
struct  BudgetExceededStatus
struct  LatencyStatistics
 Collection of latency statistics for a single association. More...
interface  DataReaderListener
interface  DataReaderEx
interface  TypeSupport
class  DPMonitorImpl
class  DRMonitorImpl
class  DRPeriodicMonitorImpl
class  DWMonitorImpl
class  DWPeriodicMonitorImpl
struct  Statistics
union  ValueUnion
struct  NameValuePair
struct  ServiceParticipantReport
struct  DomainParticipantReport
struct  TopicReport
struct  PublisherReport
struct  SubscriberReport
struct  DataWriterAssociation
struct  DataWriterReport
struct  DataWriterAssociationPeriodic
struct  DataWriterPeriodicReport
struct  DataReaderAssociation
struct  DataReaderReport
struct  DataReaderAssociationPeriodic
struct  DataReaderPeriodicReport
struct  TransportReport
union  GenericReport
interface  ProcessMonitor
class  MonitorFactoryImpl
 Full implementation of the MonitorFactoryImpl. More...
class  PublisherMonitorImpl
class  SPMonitorImpl
class  SubscriberMonitorImpl
class  TopicMonitorImpl
class  TransportMonitorImpl

Namespaces

namespace  FilterExpressionGrammar
namespace  GrammarUtils
namespace  TopicExpressionGrammar
namespace  Transport

Typedefs

typedef yard::TreeBuildingParser<
char >::Node 
AstNode
typedef std::pair< OPENDDS_STRING,
ACE_Configuration_Section_Key > 
SubsectionPair
typedef Cached_Allocator_With_Overflow<
OpenDDS::DCPS::ReceivedDataElement,
ACE_Null_Mutex > 
ReceivedDataAllocator
typedef Cached_Allocator_With_Overflow<
DataSampleElement, ACE_Null_Mutex > 
DataSampleElementAllocator
typedef Dynamic_Cached_Allocator_With_Overflow<
ACE_Thread_Mutex > 
TransportSendElementAllocator
typedef Dynamic_Cached_Allocator_With_Overflow<
ACE_Thread_Mutex > 
TransportCustomizedElementAllocator
typedef ACE_Message_Block DataSample
typedef ACE_UINT16 CoherencyGroup
typedef RepoId PublicationId
typedef RepoId SubscriptionId
typedef std::pair< SequenceNumber,
SequenceNumber
SequenceRange
typedef Cached_Allocator_With_Overflow<
ACE_Message_Block, ACE_Thread_Mutex > 
MessageBlockAllocator
typedef Cached_Allocator_With_Overflow<
ACE_Data_Block, ACE_Thread_Mutex > 
DataBlockAllocator
typedef Cached_Allocator_With_Overflow<
DataSampleHeader, ACE_Null_Mutex > 
DataSampleHeaderAllocator
typedef RcHandle< DiscoveryDiscovery_rch
typedef RcHandle< InfoRepoDiscoveryInfoRepoDiscovery_rch
typedef CORBA::LocalObject_ptr LocalObject_ptr
typedef CORBA::LocalObject_var LocalObject_var
typedef RcHandle< RecorderListenerRecorderListener_rch
typedef RecorderRecorder_ptr
typedef TAO_Objref_Var_T<
Recorder
Recorder_var
typedef RcHandle< ReplayerListenerReplayerListener_rch
typedef ReplayerReplayer_ptr
typedef TAO_Objref_Var_T<
Replayer
Replayer_var
typedef ::CORBA::Long ParticipantId
typedef ACE_Allocator SafetyProfilePool
typedef RcHandle< StaticDiscoveryStaticDiscovery_rch
typedef RcHandle< DataLinkDataLink_rch
 The type definition for the smart-pointer to the underlying type.
typedef RcHandle< DataLinkSetDataLinkSet_rch
 The type definition for the smart-pointer to the underlying type.
typedef RcHandle< ReceiveListenerSetReceiveListenerSet_rch
 The type definition for the smart-pointer to the underlying type.
typedef RcHandle< ThreadSynchStrategyThreadSynchStrategy_rch
typedef RcHandle< TransportConfigTransportConfig_rch
typedef ACE_UINT64 DataLinkIdType
 Identifier type for DataLink objects.
typedef Cached_Allocator_With_Overflow<
ACE_Message_Block, RECEIVE_SYNCH > 
TransportMessageBlockAllocator
typedef Cached_Allocator_With_Overflow<
ACE_Data_Block, RECEIVE_SYNCH > 
TransportDataBlockAllocator
typedef Cached_Allocator_With_Overflow<
char[RECEIVE_DATA_BUFFER_SIZE],
RECEIVE_SYNCH > 
TransportDataAllocator
typedef ACE_CDR::Long Priority
typedef RcHandle< TransportImplTransportImpl_rch
 The type definition for the smart-pointer to the underlying type.
typedef RcHandle< TransportInstTransportInst_rch
 The type definition for the smart-pointer to the underlying type.
typedef std::pair< TransportQueueElement *,
TransportQueueElement * > 
ElementPair
typedef RcHandle< TransportReactorTaskTransportReactorTask_rch
 The type definition for the smart-pointer to the underlying type.
typedef RcHandle< TransportReceiveStrategyTransportReceiveStrategy_rch
 The type definition for the smart-pointer to the underlying type.
typedef Cached_Allocator_With_Overflow<
TransportReplacedElement,
ACE_SYNCH_NULL_MUTEX > 
TransportReplacedElementAllocator
typedef Cached_Allocator_With_Overflow<
TransportRetainedElement,
ACE_SYNCH_NULL_MUTEX > 
TransportRetainedElementAllocator
typedef Cached_Allocator_With_Overflow<
TransportSendControlElement,
ACE_SYNCH_NULL_MUTEX > 
TransportSendControlElementAllocator
typedef ACE_Message_Block DataSample
typedef RcHandle< DataLinkSetDataLinkSet_rch
typedef RcHandle< TransportSendStrategyTransportSendStrategy_rch
 The type definition for the smart-pointer to the underlying type.
typedef RcHandle< TransportStrategyTransportStrategy_rch
typedef RcHandle< TransportTypeTransportType_rch
typedef RcHandle< MulticastDataLinkMulticastDataLink_rch
typedef RcHandle< MulticastInstMulticastInst_rch
typedef RcHandle< MulticastReceiveStrategyMulticastReceiveStrategy_rch
typedef RcHandle< MulticastSendStrategyMulticastSendStrategy_rch
typedef RcHandle< MulticastSessionMulticastSession_rch
typedef RcHandle< MulticastSessionFactoryMulticastSessionFactory_rch
typedef ACE_INT64 MulticastPeer
typedef Dynamic_Cached_Allocator_With_Overflow<
ACE_Thread_Mutex > 
RtpsCustomizedElementAllocator
typedef RcHandle< RtpsUdpDataLinkRtpsUdpDataLink_rch
typedef RcHandle< RtpsUdpInstRtpsUdpInst_rch
typedef RcHandle< RtpsUdpReceiveStrategyRtpsUdpReceiveStrategy_rch
typedef RcHandle< RtpsUdpSendStrategyRtpsUdpSendStrategy_rch
typedef ACE_Shared_Memory_Pool ShmemPool
typedef int ShmemSharedSemaphore
typedef ACE_Malloc_T< ShmemPool,
ACE_Process_Mutex, ACE_PI_Control_Block > 
ShmemAllocator
typedef RcHandle< ShmemDataLinkShmemDataLink_rch
typedef RcHandle< ShmemInstShmemInst_rch
typedef RcHandle< ShmemReceiveStrategyShmemReceiveStrategy_rch
typedef RcHandle< ShmemSendStrategyShmemSendStrategy_rch
typedef RcHandle< TcpConnectionTcpConnection_rch
typedef RcHandle< TcpDataLinkTcpDataLink_rch
typedef RcHandle< TcpInstTcpInst_rch
typedef RcHandle< TcpReceiveStrategyTcpReceiveStrategy_rch
typedef RcHandle< TcpSendStrategyTcpSendStrategy_rch
typedef RcHandle< TcpTransportTcpTransport_rch
typedef RcHandle< UdpDataLinkUdpDataLink_rch
typedef RcHandle< UdpInstUdpInst_rch
typedef RcHandle< UdpReceiveStrategyUdpReceiveStrategy_rch
typedef RcHandle< UdpSendStrategyUdpSendStrategy_rch
typedef octet GuidVendorId_t [2]
typedef octet GuidPrefix_t [12]
typedef octet EntityKey_t [3]
typedef sequence< GUID_tGUIDSeq
typedef GUID_t RepoId
typedef DDS::OctetSeq TransportBLOB
typedef sequence< TransportLocatorTransportLocatorSeq
typedef sequence< RepoIdWriterIdSeq
typedef sequence< RepoIdReaderIdSeq
typedef octet OctetArray16 [16]
typedef sequence< Locator_tLocatorSeq
typedef string< 256 > String256
typedef PublicationLostStatus PublicationDisconnectedStatus
typedef PublicationLostStatus PublicationReconnectedStatus
typedef PublicationLostStatus DisassociationStatus
typedef SubscriptionLostStatus SubscriptionDisconnectedStatus
typedef SubscriptionLostStatus SubscriptionReconnectedStatus
typedef sequence< LatencyStatisticsLatencyStatisticsSeq
typedef sequence< NameValuePairNVPSeq
typedef sequence< DataWriterAssociationDWAssociations
typedef sequence< DataWriterAssociationPeriodicDWAssociationsPeriodic
typedef sequence< DataReaderAssociationDRAssociations
typedef sequence< DataReaderAssociationPeriodicDRAssociationsPeriodic

Enumerations

enum  MarshalingType { FULL_MARSHALING, KEY_ONLY_MARSHALING }
enum  MessageId {
  SAMPLE_DATA, DATAWRITER_LIVELINESS, INSTANCE_REGISTRATION, UNREGISTER_INSTANCE,
  DISPOSE_INSTANCE, GRACEFUL_DISCONNECT, REQUEST_ACK, SAMPLE_ACK,
  END_COHERENT_CHANGES, TRANSPORT_CONTROL, DISPOSE_UNREGISTER_INSTANCE, END_HISTORIC_SAMPLES,
  MESSAGE_ID_MAX
}
 One byte message id (<256). More...
enum  SubMessageId {
  SUBMESSAGE_NONE, MULTICAST_SYN, MULTICAST_SYNACK, MULTICAST_NAK,
  MULTICAST_NAKACK, SUBMESSAGE_ID_MAX
}
enum  DataSampleHeaderFlag {
  BYTE_ORDER_FLAG, COHERENT_CHANGE_FLAG, HISTORIC_SAMPLE_FLAG, LIFESPAN_DURATION_FLAG,
  GROUP_COHERENT_FLAG, CONTENT_FILTER_FLAG, SEQUENCE_REPAIR_FLAG, MORE_FRAGMENTS_FLAG
}
enum  DataSampleHeaderFlag2 { CDR_ENCAP_FLAG, KEY_ONLY_FLAG }
enum  EntityKind {
  KIND_UNKNOWN, KIND_PARTICIPANT, KIND_WRITER, KIND_READER,
  KIND_TOPIC, KIND_PUBLISHER, KIND_SUBSCRIBER, KIND_USER
}
 Summary kinds of entities within the service. More...
enum  Operation_t { DDS_OPERATION_READ, DDS_OPERATION_TAKE }
enum  SendStrategyOpType {
  SEND_START, SEND, SEND_STOP, REMOVE_SAMPLE,
  REMOVE_ALL_CONTROL_SAMPLES
}
enum  SendControlStatus { SEND_CONTROL_ERROR, SEND_CONTROL_OK }
 Return code type for send_control() operations. More...
enum  AttachStatus { ATTACH_BAD_TRANSPORT, ATTACH_ERROR, ATTACH_INCOMPATIBLE_QOS, ATTACH_OK }
 Return code type for attach_transport() operations. More...
enum  { MAX_SEND_BLOCKS = 50 }
 Controls the maximum size of the iovec array used for a send packet. More...
enum  { RECEIVE_DATA_BUFFER_SIZE = 65536 }
 Allocators used for transport receiving logic. More...
enum  {
  DEFAULT_CONFIG_QUEUE_MESSAGES_PER_POOL = 10, DEFAULT_CONFIG_QUEUE_INITIAL_POOLS = 5, DEFAULT_CONFIG_MAX_PACKET_SIZE = 2147481599, DEFAULT_CONFIG_MAX_SAMPLES_PER_PACKET = 10,
  DEFAULT_CONFIG_OPTIMUM_PACKET_SIZE = 4096
}
 Default TransportInst settings. More...
enum  RemoveResult { REMOVE_ERROR, REMOVE_NOT_FOUND, REMOVE_FOUND, REMOVE_RELEASED }
 used by DataLink::remove_sample(), TransportSendStrategy, *RemoveVisitor More...
enum  { SHMEM_DATA_FREE = 0, SHMEM_DATA_IN_USE = 1, SHMEM_DATA_RECV_DONE = 2, SHMEM_DATA_END_OF_ALLOC = -1 }
enum  ReconnectOpType { DO_RECONNECT }
enum  Coherent_State { NOT_COMPLETED_YET, COMPLETED, REJECTED }
enum  TopicStatus {
  CREATED, ENABLED, FOUND, NOT_FOUND,
  REMOVED, CONFLICTING_TYPENAME, PRECONDITION_NOT_MET, INTERNAL_ERROR
}
enum  ValueEnumType {
  INTEGER_TYPE, DOUBLE_TYPE, STRING_TYPE, STATISTICS_TYPE,
  STRING_LIST_TYPE
}
enum  ReportType {
  SERVICE_PARTICIPANT_REPORT_TYPE, DOMAIN_PARTICIPANT_REPORT_TYPE, TOPIC_REPORT_TYPE, PUBLISHER_REPORT_TYPE,
  SUBSCRIBER_REPORT_TYPE, DATA_WRITER_REPORT_TYPE, DATA_WRITER_PERIODIC_REPORT_TYPE, DATA_READER_REPORT_TYPE,
  DATA_READER_PERIODIC_REPORT_TYPE, TRANSPORT_REPORT_TYPE
}

Functions

void reportErrors (yard::SimpleTextParser &parser, const char *input)
 called after parsing has failed, throws std::exception with details
OPENDDS_STRING toString (yard::TreeBuildingParser< char >::Node *iter)
template<typename TopicType>
DDS::BuiltinTopicKey_t keyFromSample (TopicType *sample)
template<>
DDS::BuiltinTopicKey_t keyFromSample< DDS::ParticipantBuiltinTopicData > (DDS::ParticipantBuiltinTopicData *sample)
template<>
DDS::BuiltinTopicKey_t keyFromSample< DDS::TopicBuiltinTopicData > (DDS::TopicBuiltinTopicData *sample)
template<>
DDS::BuiltinTopicKey_t keyFromSample< DDS::SubscriptionBuiltinTopicData > (DDS::SubscriptionBuiltinTopicData *sample)
template<>
DDS::BuiltinTopicKey_t keyFromSample< DDS::PublicationBuiltinTopicData > (DDS::PublicationBuiltinTopicData *sample)
ACE_CDR::Boolean operator<< (OpenDDS::DCPS::Serializer &serializer, OpenDDS::DCPS::CoherentChangeControl &value)
 Marshal/Insertion into a buffer.
ACE_CDR::Boolean operator>> (Serializer &serializer, CoherentChangeControl &value)
OpenDDS_Dcps_Export std::ostream & operator<< (std::ostream &str, const CoherentChangeControl &value)
 Message header insertion onto an ostream.
typedef OPENDDS_MAP_CMP (PublicationId, WriterCoherentSample, GUID_tKeyLessThan) GroupCoherentSamples
template<class Sample, class Field>
ComparatorBase::Ptr make_field_cmp (Field Sample::*mp, ComparatorBase::Ptr next)
template<class Sample, class Field>
ComparatorBase::Ptr make_struct_cmp (Field Sample::*mp, ComparatorBase::Ptr delegate, ComparatorBase::Ptr next)
int pullValues (ACE_Configuration_Heap &cf, const ACE_Configuration_Section_Key &key, ValueMap &values)
int processSections (ACE_Configuration_Heap &cf, const ACE_Configuration_Section_Key &key, KeyList &subsections)
typedef OPENDDS_MAP (OPENDDS_STRING, OPENDDS_STRING) ValueMap
 Helper types and functions for config file parsing.
typedef OPENDDS_LIST (SubsectionPair) KeyList
template<typename T>
bool convertToInteger (const OPENDDS_STRING &s, T &value)
bool string_equal (const char *a, const char *b)
template<typename DatumType>
std::ostream & operator<< (std::ostream &str, const DataCollector< DatumType > &value)
 Insert collected data onto an ostream.
bool operator<< (ACE_Message_Block &, const DataSampleHeader &value)
 Marshal/Insertion into a buffer.
const char * to_string (const MessageId value)
const char * to_string (const SubMessageId value)
OPENDDS_STRING to_string (const DataSampleHeader &value)
std::ostream & operator<< (std::ostream &str, const MessageId value)
 Message Id enumeration insertion onto an ostream.
std::ostream & operator<< (std::ostream &os, const SubMessageId rhs)
 Sub-Message Id enumeration insertion onto an ostream.
OpenDDS_Dcps_Export std::ostream & operator<< (std::ostream &str, const DataSampleHeader &value)
 Message header insertion onto an ostream.
bool is_wildcard (const char *str)
bool matches_name (const DDS::PartitionQosPolicy &qos, const PartitionName &name)
bool matches_default (const DDS::PartitionQosPolicy &qos)
bool matching_partitions (const DDS::PartitionQosPolicy &pub, const DDS::PartitionQosPolicy &sub)
void increment_incompatibility_count (OpenDDS::DCPS::IncompatibleQosStatus *status, DDS::QosPolicyId_t incompatible_policy)
bool compatibleTransports (const OpenDDS::DCPS::TransportLocatorSeq &s1, const OpenDDS::DCPS::TransportLocatorSeq &s2)
bool compatibleQOS (OpenDDS::DCPS::IncompatibleQosStatus *writerStatus, OpenDDS::DCPS::IncompatibleQosStatus *readerStatus, const OpenDDS::DCPS::TransportLocatorSeq &pubTLS, const OpenDDS::DCPS::TransportLocatorSeq &subTLS, DDS::DataWriterQos const *const writerQos, DDS::DataReaderQos const *const readerQos, DDS::PublisherQos const *const pubQos, DDS::SubscriberQos const *const subQos)
bool compatibleQOS (const DDS::PublisherQos *pubQos, const DDS::SubscriberQos *subQos, OpenDDS::DCPS::IncompatibleQosStatus *writerStatus, OpenDDS::DCPS::IncompatibleQosStatus *readerStatus)
bool compatibleQOS (const DDS::DataWriterQos *writerQos, const DDS::DataReaderQos *readerQos, OpenDDS::DCPS::IncompatibleQosStatus *writerStatus, OpenDDS::DCPS::IncompatibleQosStatus *readerStatus)
bool should_check_association_upon_change (const DDS::DataReaderQos &qos1, const DDS::DataReaderQos &qos2)
bool should_check_association_upon_change (const DDS::DataWriterQos &qos1, const DDS::DataWriterQos &qos2)
bool should_check_association_upon_change (const DDS::SubscriberQos &qos1, const DDS::SubscriberQos &qos2)
bool should_check_association_upon_change (const DDS::PublisherQos &qos1, const DDS::PublisherQos &qos2)
bool should_check_association_upon_change (const DDS::TopicQos &, const DDS::TopicQos &)
bool should_check_association_upon_change (const DDS::DomainParticipantQos &, const DDS::DomainParticipantQos &)
OpenDDS_Dcps_Export void set_DCPS_debug_level (unsigned int lvl)
ACE_CDR::Boolean operator<< (Serializer &s, const SequenceNumber &x)
ACE_CDR::Boolean operator>> (Serializer &s, SequenceNumber &x)
SequenceNumber operator+ (const SequenceNumber &lhs, int rhs)
SequenceNumber operator+= (SequenceNumber &lhs, int rhs)
SequenceNumber operator+ (int lhs, const SequenceNumber &rhs)
void gen_find_size (const SequenceNumber &, size_t &size, size_t &padding)
void assign (DCPS::EntityKey_t &lhs, unsigned int rhs)
static size_t arity (const FilterEvaluator::AstNodeWrapper &node)
static FilterEvaluator::AstNodeWrapper child (const FilterEvaluator::AstNodeWrapper &node, size_t idx)
template<typename Visitor, typename Val>
Visitor::result_type visit (Visitor &vis, Val &val)
template<typename T>
const MetaStructgetMetaStruct ()
std::ostream & operator<< (std::ostream &os, const GuidConverter &rhs)
OPENDDS_STRING to_string (const GUID_t &guid)
std::ostream & operator<< (std::ostream &os, const GUID_t &rhs)
std::istream & operator>> (std::istream &is, GUID_t &rhs)
typedef OPENDDS_SET_CMP (RepoId, GUID_tKeyLessThan) RepoIdSet
size_t gen_max_marshaled_size (const GUID_t &)
bool operator== (const GUID_t &lhs, const GUID_t &rhs)
bool operator!= (const GUID_t &lhs, const GUID_t &rhs)
bool operator== (const EntityId_t &lhs, const EntityId_t &rhs)
bool operator!= (const EntityId_t &lhs, const EntityId_t &rhs)
DDS::DataReader_var getDataReader (DataReaderCallbacks *callbacks)
DDS::DataWriter_var getDataWriter (DataWriterCallbacks *callbacks)
DCPSInfo_ptr get_repo (const char *ior, CORBA::ORB_ptr orb)
 ACE_FACTORY_DEFINE (OpenDDS_InfoRepoDiscovery, IRDiscoveryLoader)
const DDS::InstanceHandle_t HANDLE_UNKNOWN (0)
TypeSupport_ptr findTypeSupport (DomainParticipantImpl *participant, const char *type_name)
ACE_INLINE OpenDDS_Dcps_Export
ACE_Time_Value 
time_to_time_value (const DDS::Time_t &t)
ACE_INLINE OpenDDS_Dcps_Export
DDS::Time_t 
time_value_to_time (const ACE_Time_Value &tv)
ACE_INLINE OpenDDS_Dcps_Export
ACE_Time_Value 
duration_to_time_value (const DDS::Duration_t &t)
ACE_INLINE OpenDDS_Dcps_Export
ACE_Time_Value 
duration_to_absolute_time_value (const DDS::Duration_t &t, const ACE_Time_Value &now=ACE_OS::gettimeofday())
ACE_INLINE OpenDDS_Dcps_Export
DDS::Duration_t 
time_value_to_duration (const ACE_Time_Value &tv)
ACE_INLINE OpenDDS_Dcps_Export
DDS::Duration_t 
time_to_duration (const DDS::Time_t &t)
ACE_INLINE OpenDDS_Dcps_Export
CORBA::Long 
get_instance_sample_list_depth (DDS::HistoryQosPolicyKind history, long history_depth, long max_samples_per_instance)
ACE_INLINE OpenDDS_Dcps_Export
bool 
valid_duration (DDS::Duration_t const &t)
ACE_INLINE OpenDDS_Dcps_Export
bool 
non_negative_duration (const DDS::Duration_t &t)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::Duration_t &t1, const DDS::Duration_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::Duration_t &t1, const DDS::Duration_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator< (const DDS::Duration_t &t1, const DDS::Duration_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator<= (const DDS::Duration_t &t1, const DDS::Duration_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator> (const DDS::Duration_t &t1, const DDS::Duration_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator>= (const DDS::Duration_t &t1, const DDS::Duration_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator! (const DDS::Time_t &t)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator< (const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator<= (const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator> (const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator>= (const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
DDS::Time_t 
operator- (const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::UserDataQosPolicy &qos1, const DDS::UserDataQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::TopicDataQosPolicy &qos1, const DDS::TopicDataQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::GroupDataQosPolicy &qos1, const DDS::GroupDataQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::TransportPriorityQosPolicy &qos1, const DDS::TransportPriorityQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::LifespanQosPolicy &qos1, const DDS::LifespanQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DurabilityQosPolicy &qos1, const DDS::DurabilityQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DurabilityServiceQosPolicy &qos1, const DDS::DurabilityServiceQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::PresentationQosPolicy &qos1, const DDS::PresentationQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DeadlineQosPolicy &qos1, const DDS::DeadlineQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::LatencyBudgetQosPolicy &qos1, const DDS::LatencyBudgetQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::OwnershipQosPolicy &qos1, const DDS::OwnershipQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::OwnershipStrengthQosPolicy &qos1, const DDS::OwnershipStrengthQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::LivelinessQosPolicy &qos1, const DDS::LivelinessQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::TimeBasedFilterQosPolicy &qos1, const DDS::TimeBasedFilterQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::PartitionQosPolicy &qos1, const DDS::PartitionQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::ReliabilityQosPolicy &qos1, const DDS::ReliabilityQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DestinationOrderQosPolicy &qos1, const DDS::DestinationOrderQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::HistoryQosPolicy &qos1, const DDS::HistoryQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::ResourceLimitsQosPolicy &qos1, const DDS::ResourceLimitsQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::EntityFactoryQosPolicy &qos1, const DDS::EntityFactoryQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::WriterDataLifecycleQosPolicy &qos1, const DDS::WriterDataLifecycleQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::ReaderDataLifecycleQosPolicy &qos1, const DDS::ReaderDataLifecycleQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DomainParticipantQos &qos1, const DDS::DomainParticipantQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::TopicQos &qos1, const DDS::TopicQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DataWriterQos &qos1, const DDS::DataWriterQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::PublisherQos &qos1, const DDS::PublisherQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DataReaderQos &qos1, const DDS::DataReaderQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::SubscriberQos &qos1, const DDS::SubscriberQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator== (const DDS::DomainParticipantFactoryQos &qos1, const DDS::DomainParticipantFactoryQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::UserDataQosPolicy &qos1, const DDS::UserDataQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::TopicDataQosPolicy &qos1, const DDS::TopicDataQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::GroupDataQosPolicy &qos1, const DDS::GroupDataQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::TransportPriorityQosPolicy &qos1, const DDS::TransportPriorityQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::LifespanQosPolicy &qos1, const DDS::LifespanQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DurabilityQosPolicy &qos1, const DDS::DurabilityQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DurabilityServiceQosPolicy &qos1, const DDS::DurabilityServiceQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::PresentationQosPolicy &qos1, const DDS::PresentationQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DeadlineQosPolicy &qos1, const DDS::DeadlineQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::LatencyBudgetQosPolicy &qos1, const DDS::LatencyBudgetQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::OwnershipQosPolicy &qos1, const DDS::OwnershipQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::OwnershipStrengthQosPolicy &qos1, const DDS::OwnershipStrengthQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::LivelinessQosPolicy &qos1, const DDS::LivelinessQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::TimeBasedFilterQosPolicy &qos1, const DDS::TimeBasedFilterQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::PartitionQosPolicy &qos1, const DDS::PartitionQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::ReliabilityQosPolicy &qos1, const DDS::ReliabilityQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DestinationOrderQosPolicy &qos1, const DDS::DestinationOrderQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::HistoryQosPolicy &qos1, const DDS::HistoryQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::ResourceLimitsQosPolicy &qos1, const DDS::ResourceLimitsQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::EntityFactoryQosPolicy &qos1, const DDS::EntityFactoryQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::WriterDataLifecycleQosPolicy &qos1, const DDS::WriterDataLifecycleQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::ReaderDataLifecycleQosPolicy &qos1, const DDS::ReaderDataLifecycleQosPolicy &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DomainParticipantQos &qos1, const DDS::DomainParticipantQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::TopicQos &qos1, const DDS::TopicQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DataWriterQos &qos1, const DDS::DataWriterQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::PublisherQos &qos1, const DDS::PublisherQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DataReaderQos &qos1, const DDS::DataReaderQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::SubscriberQos &qos1, const DDS::SubscriberQos &qos2)
ACE_INLINE OpenDDS_Dcps_Export
bool 
operator!= (const DDS::DomainParticipantFactoryQos &qos1, const DDS::DomainParticipantFactoryQos &qos2)
template<typename T>
void swap (RcHandle< T > &lhs, RcHandle< T > &rhs)
template<typename T, typename U>
RcHandle< T > static_rchandle_cast (const RcHandle< U > &h)
template<typename T, typename U>
RcHandle< T > const_rchandle_cast (const RcHandle< U > &h)
template<typename T, typename U>
RcHandle< T > dynamic_rchandle_cast (const RcHandle< U > &h)
typedef OPENDDS_MAP (OPENDDS_STRING, TypeSupport_var) TypeSupportMap
typedef OPENDDS_MAP (DDS::DomainParticipant_ptr, TypeSupportMap) ParticipantMap
typedef OPENDDS_VECTOR (RawDataSample) RawDataSampleList
OPENDDS_STRING to_dds_string (::CORBA::UShort to_convert)
OPENDDS_STRING to_dds_string (int to_convert)
OPENDDS_STRING to_dds_string (unsigned int to_convert, bool as_hex)
OPENDDS_STRING to_dds_string (long to_convert)
OPENDDS_STRING to_dds_string (long long to_convert)
OPENDDS_STRING to_dds_string (unsigned long long to_convert, bool as_hex)
OPENDDS_STRING to_dds_string (unsigned long to_convert, bool as_hex)
template<typename T>
OPENDDS_STRING to_dds_string (const T *to_convert)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::Short &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::UShort &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::Long &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::ULong &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::LongLong &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::ULongLong &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::LongDouble &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::Float &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_CDR::Double &x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_OutputCDR::from_boolean x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_OutputCDR::from_char x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_OutputCDR::from_wchar x)
OpenDDS_Dcps_Export size_t gen_max_marshaled_size (const ACE_OutputCDR::from_octet x)
OpenDDS_Dcps_Export size_t max_marshaled_size_boolean ()
 predefined type max_marshaled_size method explicit disambiguators.
OpenDDS_Dcps_Export size_t max_marshaled_size_char ()
OpenDDS_Dcps_Export size_t max_marshaled_size_wchar ()
OpenDDS_Dcps_Export size_t max_marshaled_size_octet ()
OpenDDS_Dcps_Export size_t max_marshaled_size_ulong ()
 lengths of strings and sequences are ulong
OpenDDS_Dcps_Export void find_size_ulong (size_t &size, size_t &padding)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::Char x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::Short x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::UShort x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::Long x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::ULong x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::LongLong x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::ULongLong x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::LongDouble x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::Float x)
ACE_INLINE bool operator<< (Serializer &s, ACE_CDR::Double x)
ACE_INLINE bool operator<< (Serializer &s, const ACE_CDR::Char *x)
ACE_INLINE bool operator<< (Serializer &s, const ACE_CDR::WChar *x)
ACE_INLINE bool operator<< (Serializer &s, ACE_OutputCDR::from_boolean x)
ACE_INLINE bool operator<< (Serializer &s, ACE_OutputCDR::from_char x)
ACE_INLINE bool operator<< (Serializer &s, ACE_OutputCDR::from_wchar x)
ACE_INLINE bool operator<< (Serializer &s, ACE_OutputCDR::from_octet x)
ACE_INLINE bool operator<< (Serializer &s, ACE_OutputCDR::from_string x)
ACE_INLINE bool operator<< (Serializer &s, ACE_OutputCDR::from_wstring x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::Char &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::Short &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::UShort &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::Long &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::ULong &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::LongLong &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::ULongLong &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::LongDouble &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::Float &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::Double &x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::Char *&x)
ACE_INLINE bool operator>> (Serializer &s, ACE_CDR::WChar *&x)
ACE_INLINE bool operator>> (Serializer &s, ACE_InputCDR::to_boolean x)
ACE_INLINE bool operator>> (Serializer &s, ACE_InputCDR::to_char x)
ACE_INLINE bool operator>> (Serializer &s, ACE_InputCDR::to_wchar x)
ACE_INLINE bool operator>> (Serializer &s, ACE_InputCDR::to_octet x)
ACE_INLINE bool operator>> (Serializer &s, ACE_InputCDR::to_string x)
ACE_INLINE bool operator>> (Serializer &s, ACE_InputCDR::to_wstring x)
static ACE_TString config_fname (ACE_TEXT(""))
unsigned char hextobyte (unsigned char c)
unsigned char fromhex (const OPENDDS_STRING &x, size_t idx)
void parse_second (CORBA::Long &x, const OPENDDS_STRING &value)
void parse_nanosecond (CORBA::ULong &x, const OPENDDS_STRING &value)
bool parse_bool (CORBA::Boolean &x, const OPENDDS_STRING &value)
void parse_list (DDS::PartitionQosPolicy &x, const OPENDDS_STRING &value)
template<typename Seq>
void set_to_seq (const RepoIdSet &rids, Seq &seq)
std::ostream & operator<< (std::ostream &str, const DataLink &value)
typedef OPENDDS_MAP_CMP (RepoId, DataLinkSet_rch, GUID_tKeyLessThan) DataLinkSetMap
OPENDDS_STRING get_fully_qualified_hostname (ACE_INET_Addr *addr)
void get_interface_addrs (OPENDDS_VECTOR(ACE_INET_Addr)&addrs)
bool set_socket_multicast_ttl (const ACE_SOCK_Dgram &socket, const unsigned char &ttl)
bool open_appropriate_socket_type (ACE_SOCK_Dgram &socket, const ACE_INET_Addr &local_address)
typedef OPENDDS_VECTOR (HostnameInfo) HostnameInfoVector
void swap (ReceivedDataSample &, ReceivedDataSample &)
void swap (ReceiveListenerHandle &lhs, ReceiveListenerHandle &rhs)
bool operator<< (ACE_Message_Block &buffer, const TransportHeader &value)
static const ACE_UINT32 TRANSPORT_HDR_SERIALIZED_SZ (28)
void join_err (const char *detail)
void handle_message (const bool dropped, ACE_Message_Block *const msg, TransportSendListener *const listener, const bool dropped_by_transport)
void handle_message (const bool dropped, const DataSampleElement *const elem, const bool dropped_by_transport)
static bool get_remote_reliability (const TransportImpl::RemoteTransport &remote)
void add_timestamp (RTPS::SubmessageSeq &subm, ACE_CDR::Octet flags, const DataSampleHeader &header)
void add_key_hash (RTPS::ParameterList &plist, const ACE_Message_Block *data)
void write (ACE_Message_Block *mb, ACE_CDR::UShort s, bool swap_bytes)
void write (ACE_Message_Block *mb, ACE_CDR::ULong i, bool swap_bytes)
void peek (ACE_CDR::UShort &target, const char *src, bool swap_bytes)
void peek (ACE_CDR::ULong &target, const char *src, bool swap_bytes)
ACE_Message_Block * submsgs_to_msgblock (const RTPS::SubmessageSeq &subm)
 ACE_FACTORY_DEFINE (OpenDDS_Rtps_Udp, RtpsUdpLoader)
 ACE_FACTORY_DEFINE (OpenDDS_Shmem, ShmemLoader)
 ACE_FACTORY_DEFINE (OpenDDS_Udp, UdpLoader)
template<typename Container, typename FirstType, typename SecondType>
int bind (Container &c, const FirstType &first, const SecondType &second)
template<typename Container>
int unbind (Container &c, const typename Container::key_type &k, typename Container::mapped_type &v)
template<typename Container>
int unbind (Container &c, const typename Container::key_type &k)
template<typename Container, typename Key>
int find (Container &c, const Key &key, typename Container::mapped_type *&value)
template<typename Container, typename Key>
int find (const Container &c, const Key &key, typename Container::mapped_type &value)
template<typename Container, typename ValueType>
int insert (Container &c, const ValueType &v)
template<typename Container, typename ValueType>
int remove (Container &c, const ValueType &v)
template<typename Seq>
void push_back (Seq &seq, const typename Seq::value_type &val)
 std::vector-style push_back() for CORBA Sequences
bool resend_data_expired (DataSampleElement const &element, DDS::LifespanQosPolicy const &lifespan)
typedef OPENDDS_MAP (DDS::InstanceHandle_t, PublicationInstance *) PublicationInstanceMapType

Variables

const char *const BUILT_IN_PARTICIPANT_TOPIC = "DCPSParticipant"
const char *const BUILT_IN_PARTICIPANT_TOPIC_TYPE = "PARTICIPANT_BUILT_IN_TOPIC_TYPE"
const char *const BUILT_IN_TOPIC_TOPIC = "DCPSTopic"
const char *const BUILT_IN_TOPIC_TOPIC_TYPE = "TOPIC_BUILT_IN_TOPIC_TYPE"
const char *const BUILT_IN_SUBSCRIPTION_TOPIC = "DCPSSubscription"
const char *const BUILT_IN_SUBSCRIPTION_TOPIC_TYPE = "SUBSCRIPTION_BUILT_IN_TOPIC_TYPE"
const char *const BUILT_IN_PUBLICATION_TOPIC = "DCPSPublication"
const char *const BUILT_IN_PUBLICATION_TOPIC_TYPE = "PUBLICATION_BUILT_IN_TOPIC_TYPE"
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_PARTICIPANT_TOPIC
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_PARTICIPANT_TOPIC_TYPE
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_TOPIC_TOPIC
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_TOPIC_TOPIC_TYPE
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_SUBSCRIPTION_TOPIC
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_SUBSCRIPTION_TOPIC_TYPE
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_PUBLICATION_TOPIC
OpenDDS_Dcps_Export const
char *const 
BUILT_IN_PUBLICATION_TOPIC_TYPE
const CORBA::ULong MAX_READERS_PER_ELEM = 5
OpenDDS_Dcps_Export unsigned
int 
DCPS_debug_level = 0
const GuidVendorId_t VENDORID_OCI = { 0x01, 0x03 }
 Vendor Id value specified for OCI is used for OpenDDS.
const GuidPrefix_t GUIDPREFIX_UNKNOWN = { 0 }
 Nil value for the GUID prefix (participant identifier).
const EntityId_t ENTITYID_UNKNOWN = { {0x00,0x00,0x00}, 0x00}
 Entity Id values specified in Version 2.1 of RTPS specification.
const EntityId_t ENTITYID_PARTICIPANT = { {0x00,0x00,0x01}, 0xc1}
const EntityId_t ENTITYID_SEDP_BUILTIN_TOPIC_WRITER = { {0x00,0x00,0x02}, 0xc2}
const EntityId_t ENTITYID_SEDP_BUILTIN_TOPIC_READER = { {0x00,0x00,0x02}, 0xc7}
const EntityId_t ENTITYID_SEDP_BUILTIN_PUBLICATIONS_WRITER = { {0x00,0x00,0x03}, 0xc2}
const EntityId_t ENTITYID_SEDP_BUILTIN_PUBLICATIONS_READER = { {0x00,0x00,0x03}, 0xc7}
const EntityId_t ENTITYID_SEDP_BUILTIN_SUBSCRIPTIONS_WRITER = { {0x00,0x00,0x04}, 0xc2}
const EntityId_t ENTITYID_SEDP_BUILTIN_SUBSCRIPTIONS_READER = { {0x00,0x00,0x04}, 0xc7}
const EntityId_t ENTITYID_SPDP_BUILTIN_PARTICIPANT_WRITER = { {0x00,0x01,0x00}, 0xc2}
const EntityId_t ENTITYID_SPDP_BUILTIN_PARTICIPANT_READER = { {0x00,0x01,0x00}, 0xc7}
const EntityId_t ENTITYID_P2P_BUILTIN_PARTICIPANT_MESSAGE_WRITER = { {0x00,0x02,0x00}, 0xc2}
const EntityId_t ENTITYID_P2P_BUILTIN_PARTICIPANT_MESSAGE_READER = { {0x00,0x02,0x00}, 0xc7}
const GUID_t GUID_UNKNOWN = { {0,0,0,0,0,0,0,0,0,0,0,0}, { {0,0,0}, 0} }
 Nil value for GUID.
const ACE_TCHAR REPO_SECTION_NAME [] = ACE_TEXT("repository")
static InfoRepoDiscovery::StaticInitializer initialize_inforepodisco
int const INVALID_ENUM_VALUE = 999
static int OpenDDS_Requires_MonitorFactory_Initializer
const int MAX_READERS_TO_RESEND = 5
const size_t DEFAULT_NUM_CHUNKS = 20
const size_t DEFAULT_CHUNK_MULTIPLIER = 10
const int DEFAULT_FEDERATION_RECOVERY_DURATION = 900
const int DEFAULT_FEDERATION_INITIAL_BACKOFF_SECONDS = 1
const int DEFAULT_FEDERATION_BACKOFF_MULTIPLIER = 2
const int DEFAULT_FEDERATION_LIVELINESS = 60
const int BIT_LOOKUP_DURATION_MSEC = 2000
static const ACE_TCHAR DEFAULT_REPO_IOR [] = ACE_TEXT("file://repo.ior")
static const ACE_CString DEFAULT_PERSISTENT_DATA_DIR = "OpenDDS-durable-data-dir"
static const ACE_TCHAR COMMON_SECTION_NAME [] = ACE_TEXT("common")
static const ACE_TCHAR DOMAIN_SECTION_NAME [] = ACE_TEXT("domain")
static const ACE_TCHAR REPO_SECTION_NAME [] = ACE_TEXT("repository")
static const ACE_TCHAR RTPS_SECTION_NAME [] = ACE_TEXT("rtps_discovery")
static bool got_debug_level = false
static bool got_use_rti_serialization = false
static bool got_info = false
static bool got_chunks = false
static bool got_chunk_association_multiplier = false
static bool got_liveliness_factor = false
static bool got_bit_transport_port = false
static bool got_bit_transport_ip = false
static bool got_bit_lookup_duration_msec = false
static bool got_global_transport_config = false
static bool got_bit_flag = false
static bool got_publisher_content_filter = false
static bool got_transport_debug_level = false
static bool got_pending_timeout = false
static bool got_persistent_data_dir = false
static bool got_default_discovery = false
static bool got_log_fname = false
static bool got_log_verbose = false
static bool got_default_address = false
const char DEFAULT_ORB_NAME [] = "OpenDDS_DCPS"
const ACE_TCHAR TOPIC_SECTION_NAME [] = ACE_TEXT("topic")
const ACE_TCHAR DATAWRITERQOS_SECTION_NAME [] = ACE_TEXT("datawriterqos")
const ACE_TCHAR DATAREADERQOS_SECTION_NAME [] = ACE_TEXT("datareaderqos")
const ACE_TCHAR PUBLISHERQOS_SECTION_NAME [] = ACE_TEXT("publisherqos")
const ACE_TCHAR SUBSCRIBERQOS_SECTION_NAME [] = ACE_TEXT("subscriberqos")
const ACE_TCHAR ENDPOINT_SECTION_NAME [] = ACE_TEXT("endpoint")
OpenDDS_Dcps_Export unsigned
int 
Transport_debug_level = 0
 Transport Logging verbosity level.
static const ACE_TCHAR TRANSPORT_SECTION_NAME [] = ACE_TEXT("transport")
static const ACE_TCHAR CONFIG_SECTION_NAME [] = ACE_TEXT("config")
static const size_t MIN_FRAG = 68
static MulticastInitializer multicast_init
const size_t FRAG_START_OFFSET = 24
const size_t FRAG_SAMPLE_SIZE_OFFSET = 32
static RtpsUdpInitializer rtps_udp_init
static ShmemInitializer shmem_init
static Tcp_Initializer tcp_initializer
static UdpInitializer udp_init
const octet ENTITYKIND_BUILTIN_UNKNOWN = 0xc0
const octet ENTITYKIND_BUILTIN_PARTICIPANT = 0xc1
const octet ENTITYKIND_BUILTIN_WRITER_WITH_KEY = 0xc2
const octet ENTITYKIND_BUILTIN_WRITER_NO_KEY = 0xc3
const octet ENTITYKIND_BUILTIN_READER_NO_KEY = 0xc4
const octet ENTITYKIND_BUILTIN_READER_WITH_KEY = 0xc7
const octet ENTITYKIND_USER_UNKNOWN = 0x00
const octet ENTITYKIND_USER_WRITER_WITH_KEY = 0x02
const octet ENTITYKIND_USER_WRITER_NO_KEY = 0x03
const octet ENTITYKIND_USER_READER_NO_KEY = 0x04
const octet ENTITYKIND_USER_READER_WITH_KEY = 0x07
const octet ENTITYKIND_OPENDDS_SUBSCRIBER = 0x41
const octet ENTITYKIND_OPENDDS_PUBLISHER = 0x42
const octet ENTITYKIND_OPENDDS_TOPIC = 0x45
const octet ENTITYKIND_OPENDDS_USER = 0x4a
const octet ENTITYKIND_OPENDDS_NIL_WRITER = 0x4e
const DDS::StatusMask ALL_STATUS_MASK = 0xffffffff
const DDS::StatusMask NO_STATUS_MASK = 0x00000000
const DDS::StatusMask DEFAULT_STATUS_MASK = ALL_STATUS_MASK
const long MONITOR_DOMAIN_ID = -999
const long MONITOR_TRANSPORT_ID = 999
const string SERVICE_PARTICIPANT_MONITOR_TOPIC = "Service Participant Monitor"
const string DOMAIN_PARTICIPANT_MONITOR_TOPIC = "Domain Participant Monitor"
const string TOPIC_MONITOR_TOPIC = "Topic Monitor"
const string PUBLISHER_MONITOR_TOPIC = "Publisher Monitor"
const string SUBSCRIBER_MONITOR_TOPIC = "Subscriber Monitor"
const string DATA_WRITER_MONITOR_TOPIC = "Data Writer Monitor"
const string DATA_WRITER_PERIODIC_MONITOR_TOPIC = "Data Writer Periodic Monitor"
const string DATA_READER_MONITOR_TOPIC = "Data Reader Monitor"
const string DATA_READER_PERIODIC_MONITOR_TOPIC = "Data Reader Periodic Monitor"
const string TRANSPORT_MONITOR_TOPIC = "Transport Monitor"
static int OpenDDS_Requires_MonitorFactoryImpl_Initializer


Typedef Documentation

typedef yard::TreeBuildingParser<char>::Node OpenDDS::DCPS::AstNode

Definition at line 22 of file AstNodeWrapper.h.

typedef std::pair<OPENDDS_STRING, ACE_Configuration_Section_Key> OpenDDS::DCPS::SubsectionPair

Definition at line 23 of file ConfigUtils.h.

typedef Cached_Allocator_With_Overflow<OpenDDS::DCPS::ReceivedDataElement, ACE_Null_Mutex> OpenDDS::DCPS::ReceivedDataAllocator

Definition at line 67 of file DataReaderImpl.h.

typedef Cached_Allocator_With_Overflow<DataSampleElement, ACE_Null_Mutex> OpenDDS::DCPS::DataSampleElementAllocator

Definition at line 23 of file DataSampleElement.h.

typedef Dynamic_Cached_Allocator_With_Overflow<ACE_Thread_Mutex> OpenDDS::DCPS::TransportSendElementAllocator

Definition at line 28 of file DataSampleElement.h.

typedef Dynamic_Cached_Allocator_With_Overflow<ACE_Thread_Mutex> OpenDDS::DCPS::TransportCustomizedElementAllocator

Definition at line 30 of file DataSampleElement.h.

typedef ACE_Message_Block OpenDDS::DCPS::DataSample

Currently we contain entire messages in a single ACE_Message_Block chain.

Definition at line 35 of file DataSampleElement.h.

typedef ACE_UINT16 OpenDDS::DCPS::CoherencyGroup

Definition at line 47 of file Definitions.h.

typedef RepoId OpenDDS::DCPS::PublicationId

Definition at line 48 of file Definitions.h.

typedef RepoId OpenDDS::DCPS::SubscriptionId

Definition at line 49 of file Definitions.h.

typedef std::pair<SequenceNumber, SequenceNumber> OpenDDS::DCPS::SequenceRange

Definition at line 224 of file Definitions.h.

typedef Cached_Allocator_With_Overflow<ACE_Message_Block, ACE_Thread_Mutex> OpenDDS::DCPS::MessageBlockAllocator

Definition at line 227 of file Definitions.h.

typedef Cached_Allocator_With_Overflow<ACE_Data_Block, ACE_Thread_Mutex> OpenDDS::DCPS::DataBlockAllocator

Definition at line 229 of file Definitions.h.

typedef Cached_Allocator_With_Overflow<DataSampleHeader, ACE_Null_Mutex> OpenDDS::DCPS::DataSampleHeaderAllocator

Definition at line 230 of file Definitions.h.

typedef RcHandle<Discovery> OpenDDS::DCPS::Discovery_rch

Definition at line 239 of file Discovery.h.

typedef RcHandle<InfoRepoDiscovery> OpenDDS::DCPS::InfoRepoDiscovery_rch

Definition at line 276 of file InfoRepoDiscovery.h.

typedef CORBA::LocalObject_ptr OpenDDS::DCPS::LocalObject_ptr

Definition at line 19 of file LocalObject.h.

typedef CORBA::LocalObject_var OpenDDS::DCPS::LocalObject_var

Definition at line 20 of file LocalObject.h.

typedef RcHandle<RecorderListener> OpenDDS::DCPS::RecorderListener_rch

Definition at line 51 of file Recorder.h.

typedef Recorder* OpenDDS::DCPS::Recorder_ptr

Definition at line 53 of file Recorder.h.

typedef TAO_Objref_Var_T<Recorder> OpenDDS::DCPS::Recorder_var

Definition at line 54 of file Recorder.h.

typedef RcHandle<ReplayerListener> OpenDDS::DCPS::ReplayerListener_rch

Definition at line 40 of file Replayer.h.

typedef Replayer* OpenDDS::DCPS::Replayer_ptr

Definition at line 44 of file Replayer.h.

typedef TAO_Objref_Var_T<Replayer> OpenDDS::DCPS::Replayer_var

Definition at line 45 of file Replayer.h.

typedef ::CORBA::Long OpenDDS::DCPS::ParticipantId

Definition at line 26 of file RepoIdConverter.h.

typedef ACE_Allocator OpenDDS::DCPS::SafetyProfilePool

Definition at line 97 of file SafetyProfilePool.h.

typedef RcHandle<StaticDiscovery> OpenDDS::DCPS::StaticDiscovery_rch

Definition at line 29 of file StaticDiscovery.h.

typedef RcHandle<DataLink> OpenDDS::DCPS::DataLink_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 32 of file DataLink_rch.h.

typedef RcHandle<DataLinkSet> OpenDDS::DCPS::DataLinkSet_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 31 of file DataLinkSet_rch.h.

typedef RcHandle<ReceiveListenerSet> OpenDDS::DCPS::ReceiveListenerSet_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 32 of file ReceiveListenerSet_rch.h.

typedef RcHandle<ThreadSynchStrategy> OpenDDS::DCPS::ThreadSynchStrategy_rch

Definition at line 16 of file ThreadSynchStrategy_rch.h.

typedef RcHandle<TransportConfig> OpenDDS::DCPS::TransportConfig_rch

Definition at line 22 of file TransportConfig_rch.h.

typedef ACE_UINT64 OpenDDS::DCPS::DataLinkIdType

Identifier type for DataLink objects.

Definition at line 168 of file TransportDefs.h.

typedef Cached_Allocator_With_Overflow<ACE_Message_Block, RECEIVE_SYNCH> OpenDDS::DCPS::TransportMessageBlockAllocator

Definition at line 206 of file TransportDefs.h.

typedef Cached_Allocator_With_Overflow<ACE_Data_Block, RECEIVE_SYNCH> OpenDDS::DCPS::TransportDataBlockAllocator

Definition at line 209 of file TransportDefs.h.

typedef Cached_Allocator_With_Overflow<char[RECEIVE_DATA_BUFFER_SIZE], RECEIVE_SYNCH> OpenDDS::DCPS::TransportDataAllocator

Definition at line 213 of file TransportDefs.h.

typedef ACE_CDR::Long OpenDDS::DCPS::Priority

Definition at line 229 of file TransportDefs.h.

typedef RcHandle<TransportImpl> OpenDDS::DCPS::TransportImpl_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 32 of file TransportImpl_rch.h.

typedef RcHandle<TransportInst> OpenDDS::DCPS::TransportInst_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 32 of file TransportInst_rch.h.

typedef std::pair<TransportQueueElement*, TransportQueueElement*> OpenDDS::DCPS::ElementPair

Definition at line 28 of file TransportQueueElement.h.

typedef RcHandle<TransportReactorTask> OpenDDS::DCPS::TransportReactorTask_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 32 of file TransportReactorTask_rch.h.

typedef RcHandle<TransportReceiveStrategy> OpenDDS::DCPS::TransportReceiveStrategy_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 32 of file TransportReceiveStrategy_rch.h.

typedef Cached_Allocator_With_Overflow<TransportReplacedElement, ACE_SYNCH_NULL_MUTEX> OpenDDS::DCPS::TransportReplacedElementAllocator

Definition at line 18 of file TransportReplacedElement.h.

typedef Cached_Allocator_With_Overflow<TransportRetainedElement, ACE_SYNCH_NULL_MUTEX> OpenDDS::DCPS::TransportRetainedElementAllocator

Definition at line 18 of file TransportRetainedElement.h.

typedef Cached_Allocator_With_Overflow<TransportSendControlElement, ACE_SYNCH_NULL_MUTEX> OpenDDS::DCPS::TransportSendControlElementAllocator

Definition at line 26 of file TransportSendControlElement.h.

typedef ACE_Message_Block OpenDDS::DCPS::DataSample

Definition at line 25 of file TransportSendListener.h.

typedef RcHandle<DataLinkSet> OpenDDS::DCPS::DataLinkSet_rch

Definition at line 28 of file TransportSendListener.h.

typedef RcHandle<TransportSendStrategy> OpenDDS::DCPS::TransportSendStrategy_rch

The type definition for the smart-pointer to the underlying type.

Definition at line 32 of file TransportSendStrategy_rch.h.

typedef RcHandle<TransportStrategy> OpenDDS::DCPS::TransportStrategy_rch

Definition at line 16 of file TransportStrategy_rch.h.

typedef RcHandle<TransportType> OpenDDS::DCPS::TransportType_rch

Definition at line 21 of file TransportType_rch.h.

typedef RcHandle<MulticastDataLink> OpenDDS::DCPS::MulticastDataLink_rch

Definition at line 16 of file MulticastDataLink_rch.h.

typedef RcHandle<MulticastInst> OpenDDS::DCPS::MulticastInst_rch

Definition at line 16 of file MulticastInst_rch.h.

typedef RcHandle<MulticastReceiveStrategy> OpenDDS::DCPS::MulticastReceiveStrategy_rch

Definition at line 16 of file MulticastReceiveStrategy_rch.h.

typedef RcHandle<MulticastSendStrategy> OpenDDS::DCPS::MulticastSendStrategy_rch

Definition at line 16 of file MulticastSendStrategy_rch.h.

typedef RcHandle<MulticastSession> OpenDDS::DCPS::MulticastSession_rch

Definition at line 16 of file MulticastSession_rch.h.

typedef RcHandle<MulticastSessionFactory> OpenDDS::DCPS::MulticastSessionFactory_rch

Definition at line 16 of file MulticastSessionFactory_rch.h.

typedef ACE_INT64 OpenDDS::DCPS::MulticastPeer

Definition at line 16 of file MulticastTypes.h.

typedef Dynamic_Cached_Allocator_With_Overflow<ACE_Thread_Mutex> OpenDDS::DCPS::RtpsCustomizedElementAllocator

Definition at line 44 of file RtpsCustomizedElement.h.

typedef RcHandle<RtpsUdpDataLink> OpenDDS::DCPS::RtpsUdpDataLink_rch

Definition at line 16 of file RtpsUdpDataLink_rch.h.

typedef RcHandle<RtpsUdpInst> OpenDDS::DCPS::RtpsUdpInst_rch

Definition at line 16 of file RtpsUdpInst_rch.h.

typedef RcHandle<RtpsUdpReceiveStrategy> OpenDDS::DCPS::RtpsUdpReceiveStrategy_rch

Definition at line 16 of file RtpsUdpReceiveStrategy_rch.h.

typedef RcHandle<RtpsUdpSendStrategy> OpenDDS::DCPS::RtpsUdpSendStrategy_rch

Definition at line 16 of file RtpsUdpSendStrategy_rch.h.

typedef ACE_Shared_Memory_Pool OpenDDS::DCPS::ShmemPool

Definition at line 34 of file ShmemDataLink.h.

typedef int OpenDDS::DCPS::ShmemSharedSemaphore

Definition at line 49 of file ShmemDataLink.h.

typedef ACE_Malloc_T<ShmemPool, ACE_Process_Mutex, ACE_PI_Control_Block> OpenDDS::DCPS::ShmemAllocator

Definition at line 53 of file ShmemDataLink.h.

typedef RcHandle<ShmemDataLink> OpenDDS::DCPS::ShmemDataLink_rch

Definition at line 16 of file ShmemDataLink_rch.h.

typedef RcHandle<ShmemInst> OpenDDS::DCPS::ShmemInst_rch

Definition at line 16 of file ShmemInst_rch.h.

typedef RcHandle<ShmemReceiveStrategy> OpenDDS::DCPS::ShmemReceiveStrategy_rch

Definition at line 16 of file ShmemReceiveStrategy_rch.h.

typedef RcHandle<ShmemSendStrategy> OpenDDS::DCPS::ShmemSendStrategy_rch

Definition at line 16 of file ShmemSendStrategy_rch.h.

typedef RcHandle<TcpConnection> OpenDDS::DCPS::TcpConnection_rch

Definition at line 16 of file TcpConnection_rch.h.

typedef RcHandle<TcpDataLink> OpenDDS::DCPS::TcpDataLink_rch

Definition at line 16 of file TcpDataLink_rch.h.

typedef RcHandle<TcpInst> OpenDDS::DCPS::TcpInst_rch

Definition at line 16 of file TcpInst_rch.h.

typedef RcHandle<TcpReceiveStrategy> OpenDDS::DCPS::TcpReceiveStrategy_rch

Definition at line 17 of file TcpReceiveStrategy_rch.h.

typedef RcHandle<TcpSendStrategy> OpenDDS::DCPS::TcpSendStrategy_rch

Definition at line 16 of file TcpSendStrategy_rch.h.

typedef RcHandle<TcpTransport> OpenDDS::DCPS::TcpTransport_rch

Definition at line 16 of file TcpTransport_rch.h.

typedef RcHandle<UdpDataLink> OpenDDS::DCPS::UdpDataLink_rch

Definition at line 16 of file UdpDataLink_rch.h.

typedef RcHandle<UdpInst> OpenDDS::DCPS::UdpInst_rch

Definition at line 16 of file UdpInst_rch.h.

typedef RcHandle<UdpReceiveStrategy> OpenDDS::DCPS::UdpReceiveStrategy_rch

Definition at line 16 of file UdpReceiveStrategy_rch.h.

typedef RcHandle<UdpSendStrategy> OpenDDS::DCPS::UdpSendStrategy_rch

Definition at line 16 of file UdpSendStrategy_rch.h.

typedef octet OpenDDS::DCPS::GuidVendorId_t[2]

Definition at line 16 of file DdsDcpsGuid.idl.

typedef octet OpenDDS::DCPS::GuidPrefix_t[12]

Definition at line 19 of file DdsDcpsGuid.idl.

typedef octet OpenDDS::DCPS::EntityKey_t[3]

Definition at line 22 of file DdsDcpsGuid.idl.

typedef sequence<GUID_t> OpenDDS::DCPS::GUIDSeq

Definition at line 81 of file DdsDcpsGuid.idl.

typedef GUID_t OpenDDS::DCPS::RepoId

Definition at line 19 of file DdsDcpsInfoUtils.idl.

typedef DDS::OctetSeq OpenDDS::DCPS::TransportBLOB

Definition at line 21 of file DdsDcpsInfoUtils.idl.

typedef sequence<TransportLocator> OpenDDS::DCPS::TransportLocatorSeq

Definition at line 31 of file DdsDcpsInfoUtils.idl.

typedef sequence<RepoId> OpenDDS::DCPS::WriterIdSeq

Definition at line 75 of file DdsDcpsInfoUtils.idl.

typedef sequence<RepoId> OpenDDS::DCPS::ReaderIdSeq

Definition at line 77 of file DdsDcpsInfoUtils.idl.

typedef octet OpenDDS::DCPS::OctetArray16[16]

Definition at line 79 of file DdsDcpsInfoUtils.idl.

typedef sequence<Locator_t> OpenDDS::DCPS::LocatorSeq

Definition at line 89 of file DdsDcpsInfoUtils.idl.

typedef string<256> OpenDDS::DCPS::String256

Definition at line 91 of file DdsDcpsInfoUtils.idl.

typedef PublicationLostStatus OpenDDS::DCPS::PublicationDisconnectedStatus

Definition at line 181 of file DdsDcpsPublication.idl.

typedef PublicationLostStatus OpenDDS::DCPS::PublicationReconnectedStatus

Definition at line 182 of file DdsDcpsPublication.idl.

typedef PublicationLostStatus OpenDDS::DCPS::DisassociationStatus

Definition at line 183 of file DdsDcpsPublication.idl.

typedef SubscriptionLostStatus OpenDDS::DCPS::SubscriptionDisconnectedStatus

Definition at line 26 of file DdsDcpsSubscriptionExt.idl.

typedef SubscriptionLostStatus OpenDDS::DCPS::SubscriptionReconnectedStatus

Definition at line 27 of file DdsDcpsSubscriptionExt.idl.

typedef sequence<LatencyStatistics> OpenDDS::DCPS::LatencyStatisticsSeq

Definition at line 82 of file DdsDcpsSubscriptionExt.idl.

typedef sequence<NameValuePair> OpenDDS::DCPS::NVPSeq

Definition at line 44 of file monitor.idl.

typedef sequence<DataWriterAssociation> OpenDDS::DCPS::DWAssociations

Definition at line 202 of file monitor.idl.

typedef sequence<DataWriterAssociationPeriodic> OpenDDS::DCPS::DWAssociationsPeriodic

Definition at line 238 of file monitor.idl.

typedef sequence<DataReaderAssociation> OpenDDS::DCPS::DRAssociations

Definition at line 274 of file monitor.idl.

typedef sequence<DataReaderAssociationPeriodic> OpenDDS::DCPS::DRAssociationsPeriodic

Definition at line 311 of file monitor.idl.


Enumeration Type Documentation

enum OpenDDS::DCPS::MarshalingType

Enumerator:
FULL_MARSHALING 
KEY_ONLY_MARSHALING 

Definition at line 72 of file DataReaderImpl.h.

00072                     {
00073   FULL_MARSHALING,
00074   KEY_ONLY_MARSHALING
00075 };

enum OpenDDS::DCPS::MessageId

One byte message id (<256).

Enumerator:
SAMPLE_DATA 
DATAWRITER_LIVELINESS 
INSTANCE_REGISTRATION 
UNREGISTER_INSTANCE 
DISPOSE_INSTANCE 
GRACEFUL_DISCONNECT 
REQUEST_ACK 
SAMPLE_ACK 
END_COHERENT_CHANGES 
TRANSPORT_CONTROL 
DISPOSE_UNREGISTER_INSTANCE 
END_HISTORIC_SAMPLES 
MESSAGE_ID_MAX 

Definition at line 26 of file DataSampleHeader.h.

00026                {
00027   SAMPLE_DATA,
00028   DATAWRITER_LIVELINESS,
00029   INSTANCE_REGISTRATION,
00030   UNREGISTER_INSTANCE,
00031   DISPOSE_INSTANCE,
00032   GRACEFUL_DISCONNECT,
00033   REQUEST_ACK,
00034   SAMPLE_ACK,
00035   END_COHERENT_CHANGES,
00036   TRANSPORT_CONTROL,
00037   DISPOSE_UNREGISTER_INSTANCE,
00038   END_HISTORIC_SAMPLES,
00039   MESSAGE_ID_MAX // must be the last enumerator
00040 };

enum OpenDDS::DCPS::SubMessageId

Enumerator:
SUBMESSAGE_NONE 
MULTICAST_SYN 
MULTICAST_SYNACK 
MULTICAST_NAK 
MULTICAST_NAKACK 
SUBMESSAGE_ID_MAX 

Definition at line 42 of file DataSampleHeader.h.

00042                   {
00043   SUBMESSAGE_NONE,
00044   MULTICAST_SYN,
00045   MULTICAST_SYNACK,
00046   MULTICAST_NAK,
00047   MULTICAST_NAKACK,
00048   SUBMESSAGE_ID_MAX // must be the last enumerator
00049 };

enum OpenDDS::DCPS::DataSampleHeaderFlag

Enumerator:
BYTE_ORDER_FLAG 
COHERENT_CHANGE_FLAG 
HISTORIC_SAMPLE_FLAG 
LIFESPAN_DURATION_FLAG 
GROUP_COHERENT_FLAG 
CONTENT_FILTER_FLAG 
SEQUENCE_REPAIR_FLAG 
MORE_FRAGMENTS_FLAG 

Definition at line 51 of file DataSampleHeader.h.

enum OpenDDS::DCPS::DataSampleHeaderFlag2

Enumerator:
CDR_ENCAP_FLAG 
KEY_ONLY_FLAG 

Definition at line 62 of file DataSampleHeader.h.

00062                            {
00063   CDR_ENCAP_FLAG,
00064   KEY_ONLY_FLAG
00065 };

enum OpenDDS::DCPS::EntityKind

Summary kinds of entities within the service.

Enumerator:
KIND_UNKNOWN 
KIND_PARTICIPANT 
KIND_WRITER 
KIND_READER 
KIND_TOPIC 
KIND_PUBLISHER 
KIND_SUBSCRIBER 
KIND_USER 

Definition at line 52 of file GuidUtils.h.

00052                 {     // EntityId_t.entityKind value(s)
00053   KIND_UNKNOWN,       // 0x3f & 0x00 (and all other unspecified values)
00054   KIND_PARTICIPANT,   // 0x3f & 0x01
00055   KIND_WRITER,        // 0x3f & 0x02 | 0x3f & 0x03
00056   KIND_READER,        // 0x3f & 0x04 | 0x3f & 0x07
00057   KIND_TOPIC,         // 0x3f & 0x05
00058 
00059   KIND_PUBLISHER,     // OpenDDS specific Publisher Guid values
00060   KIND_SUBSCRIBER,    // OpenDDS specific Subscriber Guid values
00061   KIND_USER           // OpenDDS specific other Guid values
00062 };

enum OpenDDS::DCPS::Operation_t

Enumerator:
DDS_OPERATION_READ 
DDS_OPERATION_TAKE 

Definition at line 25 of file RakeResults_T.h.

enum OpenDDS::DCPS::SendStrategyOpType

Enumerator:
SEND_START 
SEND 
SEND_STOP 
REMOVE_SAMPLE 
REMOVE_ALL_CONTROL_SAMPLES 

Definition at line 34 of file ThreadPerConnectionSendTask.h.

00034                         {
00035   SEND_START,
00036   SEND,
00037   SEND_STOP,
00038   REMOVE_SAMPLE,
00039   REMOVE_ALL_CONTROL_SAMPLES
00040 };

enum OpenDDS::DCPS::SendControlStatus

Return code type for send_control() operations.

Enumerator:
SEND_CONTROL_ERROR 
SEND_CONTROL_OK 

Definition at line 171 of file TransportDefs.h.

00171                        {
00172   SEND_CONTROL_ERROR,
00173   SEND_CONTROL_OK
00174 };

enum OpenDDS::DCPS::AttachStatus

Return code type for attach_transport() operations.

Enumerator:
ATTACH_BAD_TRANSPORT 
ATTACH_ERROR 
ATTACH_INCOMPATIBLE_QOS 
ATTACH_OK 

Definition at line 177 of file TransportDefs.h.

00177                   {
00178   ATTACH_BAD_TRANSPORT,
00179   ATTACH_ERROR,
00180   ATTACH_INCOMPATIBLE_QOS,
00181   ATTACH_OK
00182 };

anonymous enum

Controls the maximum size of the iovec array used for a send packet.

Enumerator:
MAX_SEND_BLOCKS 

Definition at line 196 of file TransportDefs.h.

00196 { MAX_SEND_BLOCKS = 50 };

anonymous enum

Allocators used for transport receiving logic.

Enumerator:
RECEIVE_DATA_BUFFER_SIZE 

Definition at line 203 of file TransportDefs.h.

00203 { RECEIVE_DATA_BUFFER_SIZE = 65536 };

anonymous enum

Default TransportInst settings.

Enumerator:
DEFAULT_CONFIG_QUEUE_MESSAGES_PER_POOL 
DEFAULT_CONFIG_QUEUE_INITIAL_POOLS 
DEFAULT_CONFIG_MAX_PACKET_SIZE 
DEFAULT_CONFIG_MAX_SAMPLES_PER_PACKET 
DEFAULT_CONFIG_OPTIMUM_PACKET_SIZE 

Definition at line 216 of file TransportDefs.h.

enum OpenDDS::DCPS::RemoveResult

used by DataLink::remove_sample(), TransportSendStrategy, *RemoveVisitor

Enumerator:
REMOVE_ERROR 
REMOVE_NOT_FOUND 
REMOVE_FOUND 
REMOVE_RELEASED 

Definition at line 225 of file TransportDefs.h.

anonymous enum

Enumerator:
SHMEM_DATA_FREE 
SHMEM_DATA_IN_USE 
SHMEM_DATA_RECV_DONE 
SHMEM_DATA_END_OF_ALLOC 

Definition at line 61 of file ShmemDataLink.h.

00061      { // values for ShmemData::status_
00062   SHMEM_DATA_FREE = 0,
00063   SHMEM_DATA_IN_USE = 1,
00064   SHMEM_DATA_RECV_DONE = 2,
00065   SHMEM_DATA_END_OF_ALLOC = -1
00066 };

enum OpenDDS::DCPS::ReconnectOpType

Enumerator:
DO_RECONNECT 

Definition at line 24 of file TcpReconnectTask.h.

00024                      {
00025   DO_RECONNECT
00026 };

enum OpenDDS::DCPS::Coherent_State

Enumerator:
NOT_COMPLETED_YET 
COMPLETED 
REJECTED 

Definition at line 61 of file WriterInfo.h.

00061                     {
00062   NOT_COMPLETED_YET,
00063   COMPLETED,
00064   REJECTED
00065 };

enum OpenDDS::DCPS::TopicStatus

Enumerator:
CREATED 
ENABLED 
FOUND 
NOT_FOUND 
REMOVED 
CONFLICTING_TYPENAME 
PRECONDITION_NOT_MET 
INTERNAL_ERROR 

Definition at line 47 of file DdsDcpsInfoUtils.idl.

00047                      {
00048       CREATED,
00049       ENABLED,
00050       FOUND,
00051       NOT_FOUND,
00052       REMOVED,
00053       CONFLICTING_TYPENAME,
00054       PRECONDITION_NOT_MET,
00055       INTERNAL_ERROR
00056     };

enum OpenDDS::DCPS::ValueEnumType

Enumerator:
INTEGER_TYPE 
DOUBLE_TYPE 
STRING_TYPE 
STATISTICS_TYPE 
STRING_LIST_TYPE 

Definition at line 31 of file monitor.idl.

enum OpenDDS::DCPS::ReportType

Enumerator:
SERVICE_PARTICIPANT_REPORT_TYPE 
DOMAIN_PARTICIPANT_REPORT_TYPE 
TOPIC_REPORT_TYPE 
PUBLISHER_REPORT_TYPE 
SUBSCRIBER_REPORT_TYPE 
DATA_WRITER_REPORT_TYPE 
DATA_WRITER_PERIODIC_REPORT_TYPE 
DATA_READER_REPORT_TYPE 
DATA_READER_PERIODIC_REPORT_TYPE 
TRANSPORT_REPORT_TYPE 

Definition at line 331 of file monitor.idl.


Function Documentation

void OpenDDS::DCPS::reportErrors ( yard::SimpleTextParser &  parser,
const char *  input 
) [inline]

called after parsing has failed, throws std::exception with details

Definition at line 25 of file AstNodeWrapper.h.

References OPENDDS_STRING.

Referenced by OpenDDS::DCPS::FilterEvaluator::FilterEvaluator(), and OpenDDS::DCPS::MultiTopicImpl::MultiTopicImpl().

00026 {
00027   AstNode* prev = 0;
00028   for (AstNode* iter = parser.GetAstRoot()->GetFirstChild(); iter;
00029       iter = iter->GetSibling()) {
00030     prev = iter;
00031   }
00032   ptrdiff_t pos = prev ? prev->GetLastToken() - parser.Begin() : 0;
00033   std::ostringstream oss;
00034   oss << pos;
00035   throw std::runtime_error("Invalid expression [" + OPENDDS_STRING(input)
00036     + "] at character " + oss.str());
00037 }

OPENDDS_STRING OpenDDS::DCPS::toString ( yard::TreeBuildingParser< char >::Node *  iter  )  [inline]

Definition at line 40 of file AstNodeWrapper.h.

References OPENDDS_STRING.

Referenced by OpenDDS::DCPS::FilterEvaluator::FilterEvaluator(), OpenDDS::DCPS::MultiTopicImpl::MultiTopicImpl(), and OpenDDS::DCPS::FilterEvaluator::walkOperand().

00041 {
00042   return iter ? OPENDDS_STRING(iter->GetFirstToken(), iter->GetLastToken()) : "";
00043 }

template<typename TopicType>
DDS::BuiltinTopicKey_t OpenDDS::DCPS::keyFromSample ( TopicType *  sample  )  [inline]

Definition at line 199 of file BuiltInTopicUtils.h.

References DDS::BuiltinTopicKey_t::value.

Referenced by OpenDDS::DCPS::DataReaderImpl_T< MessageType >::store_instance_data().

00200 {
00201   DDS::BuiltinTopicKey_t value;
00202   value.value[0] = value.value[1] = value.value[2] = 0;
00203   return value;
00204 }

template<>
DDS::BuiltinTopicKey_t OpenDDS::DCPS::keyFromSample< DDS::ParticipantBuiltinTopicData > ( DDS::ParticipantBuiltinTopicData sample  )  [inline]

template<>
DDS::BuiltinTopicKey_t OpenDDS::DCPS::keyFromSample< DDS::TopicBuiltinTopicData > ( DDS::TopicBuiltinTopicData sample  )  [inline]

template<>
DDS::BuiltinTopicKey_t OpenDDS::DCPS::keyFromSample< DDS::SubscriptionBuiltinTopicData > ( DDS::SubscriptionBuiltinTopicData sample  )  [inline]

template<>
DDS::BuiltinTopicKey_t OpenDDS::DCPS::keyFromSample< DDS::PublicationBuiltinTopicData > ( DDS::PublicationBuiltinTopicData sample  )  [inline]

OpenDDS_Dcps_Export ACE_CDR::Boolean OpenDDS::DCPS::operator<< ( Serializer &  serializer,
CoherentChangeControl &  value 
)

Marshal/Insertion into a buffer.

Definition at line 32 of file CoherentChangeControl.cpp.

References OpenDDS::DCPS::CoherentChangeControl::coherent_samples_, OpenDDS::DCPS::Serializer::good_bit(), OpenDDS::DCPS::CoherentChangeControl::group_coherent_, OpenDDS::DCPS::CoherentChangeControl::group_coherent_samples_, OpenDDS::DCPS::WriterCoherentSample::last_sample_, OpenDDS::DCPS::WriterCoherentSample::num_samples_, and OpenDDS::DCPS::CoherentChangeControl::publisher_id_.

00033 {
00034   serializer << value.coherent_samples_.num_samples_;
00035   serializer << value.coherent_samples_.last_sample_;
00036   serializer << ACE_OutputCDR::from_boolean(value.group_coherent_);
00037 
00038   if (value.group_coherent_) {
00039     serializer << value.publisher_id_;
00040     serializer << static_cast<ACE_UINT32>(value.group_coherent_samples_.size());
00041     GroupCoherentSamples::iterator itEnd = value.group_coherent_samples_.end();
00042     for (GroupCoherentSamples::iterator it =
00043            value.group_coherent_samples_.begin(); it != itEnd; ++it) {
00044       serializer << it->first;
00045       serializer << it->second.num_samples_;
00046       serializer << it->second.last_sample_;
00047     }
00048   }
00049 
00050   return serializer.good_bit();
00051 }

OpenDDS_Dcps_Export ACE_CDR::Boolean OpenDDS::DCPS::operator>> ( Serializer &  serializer,
CoherentChangeControl &  value 
)

Definition at line 54 of file CoherentChangeControl.cpp.

References OpenDDS::DCPS::CoherentChangeControl::coherent_samples_, OpenDDS::DCPS::Serializer::good_bit(), OpenDDS::DCPS::CoherentChangeControl::group_coherent_, OpenDDS::DCPS::CoherentChangeControl::group_coherent_samples_, GUID_UNKNOWN, OpenDDS::DCPS::WriterCoherentSample::last_sample_, OpenDDS::DCPS::WriterCoherentSample::num_samples_, and OpenDDS::DCPS::CoherentChangeControl::publisher_id_.

00055 {
00056   serializer >> value.coherent_samples_.num_samples_;
00057   if (!serializer.good_bit()) return false;
00058 
00059   serializer >> value.coherent_samples_.last_sample_;
00060   if (!serializer.good_bit()) return false;
00061 
00062   serializer >> ACE_InputCDR::to_boolean(value.group_coherent_);
00063   if (!serializer.good_bit()) return false;
00064 
00065   if (value.group_coherent_) {
00066     serializer >> value.publisher_id_;
00067     if (!serializer.good_bit()) return false;
00068 
00069     ACE_UINT32 sz = 0;
00070     serializer >> sz;
00071     if (!serializer.good_bit()) return false;
00072 
00073     for (ACE_UINT32 i = 0; i < sz; ++i) {
00074       PublicationId writer(GUID_UNKNOWN);
00075       ACE_UINT32 num_sample = 0;
00076       ACE_INT16 last_sample = 0;
00077 
00078       serializer >> writer;
00079       if (!serializer.good_bit()) return false;
00080       serializer >> num_sample;
00081       if (!serializer.good_bit()) return false;
00082       serializer >> last_sample;
00083       if (!serializer.good_bit()) return false;
00084 
00085       std::pair<GroupCoherentSamples::iterator, bool> pair =
00086         value.group_coherent_samples_.insert(GroupCoherentSamples::value_type(
00087           writer, WriterCoherentSample(num_sample, last_sample)));
00088       if (!pair.second) {
00089         return false;
00090       }
00091     }
00092   }
00093 
00094   return true;
00095 }

OpenDDS_Dcps_Export std::ostream & OpenDDS::DCPS::operator<< ( std::ostream &  str,
const CoherentChangeControl &  value 
)

Message header insertion onto an ostream.

Definition at line 99 of file CoherentChangeControl.cpp.

References OpenDDS::DCPS::CoherentChangeControl::coherent_samples_, OpenDDS::DCPS::SequenceNumber::getValue(), OpenDDS::DCPS::CoherentChangeControl::group_coherent_, OpenDDS::DCPS::CoherentChangeControl::group_coherent_samples_, OpenDDS::DCPS::WriterCoherentSample::last_sample_, OpenDDS::DCPS::WriterCoherentSample::num_samples_, OPENDDS_STRING, and OpenDDS::DCPS::CoherentChangeControl::publisher_id_.

00100 {
00101   str << "num_samples: " << std::dec << value.coherent_samples_.num_samples_
00102       << ", last_sample: " << value.coherent_samples_.last_sample_.getValue()
00103       << ", ";
00104   if (value.group_coherent_) {
00105     GuidConverter converter(value.publisher_id_);
00106     str << "publisher: " << std::dec << OPENDDS_STRING(converter).c_str() << ", ";
00107     str << "group size: " << std::dec << value.group_coherent_samples_.size()
00108         << ", ";
00109     GroupCoherentSamples::const_iterator itEnd =
00110       value.group_coherent_samples_.end();
00111     for (GroupCoherentSamples::const_iterator it =
00112            value.group_coherent_samples_.begin(); it != itEnd; ++it) {
00113       GuidConverter converter(it->first);
00114       str << "writer: " << OPENDDS_STRING(converter).c_str() << ", "
00115           << "num_samples: " << it->second.num_samples_ << ", "
00116           << "last_sample: " << it->second.last_sample_.getValue()  << std::endl;
00117     }
00118   }
00119   return str;
00120 }

typedef OpenDDS::DCPS::OPENDDS_MAP_CMP ( PublicationId  ,
WriterCoherentSample  ,
GUID_tKeyLessThan   
)

template<class Sample, class Field>
ComparatorBase::Ptr OpenDDS::DCPS::make_field_cmp ( Field Sample::*  mp,
ComparatorBase::Ptr  next 
)

Definition at line 76 of file Comparator_T.h.

00078 {
00079   return new FieldComparator<Sample, Field>(mp, next);
00080 }

template<class Sample, class Field>
ComparatorBase::Ptr OpenDDS::DCPS::make_struct_cmp ( Field Sample::*  mp,
ComparatorBase::Ptr  delegate,
ComparatorBase::Ptr  next 
)

Definition at line 118 of file Comparator_T.h.

00121 {
00122   return new StructComparator<Sample, Field>(mp, delegate, next);
00123 }

OpenDDS_Dcps_Export int OpenDDS::DCPS::pullValues ( ACE_Configuration_Heap &  cf,
const ACE_Configuration_Section_Key &  key,
ValueMap &  values 
)

Function that pulls all the values from the specified ACE Configuration Section and places them in a value map based on the field name. Returns the number of values found in the section (and added to the value map).

cf ACE_Configuration_Heap object being processed key ACE_Configuration_Section_Key object that specifies the section of the .ini file to process values Map of field names to values (both OPENDDS_STRING) that this function will add to.

Definition at line 16 of file ConfigUtils.cpp.

References DCPS_debug_level.

Referenced by OpenDDS::RTPS::RtpsDiscovery::Config::discovery_config(), OpenDDS::DCPS::InfoRepoDiscovery::Config::discovery_config(), OpenDDS::DCPS::Service_Participant::load_domain_configuration(), OpenDDS::DCPS::TransportRegistry::load_transport_configuration(), OpenDDS::DCPS::StaticDiscovery::parse_datareaderqos(), OpenDDS::DCPS::StaticDiscovery::parse_datawriterqos(), OpenDDS::DCPS::StaticDiscovery::parse_endpoints(), OpenDDS::DCPS::StaticDiscovery::parse_publisherqos(), OpenDDS::DCPS::StaticDiscovery::parse_subscriberqos(), and OpenDDS::DCPS::StaticDiscovery::parse_topics().

00018                                      {
00019     int index = 0;
00020     ACE_TString name;
00021     ACE_Configuration::VALUETYPE type;
00022 
00023     while (cf.enumerate_values( key, index, name, type ) == 0) {
00024 
00025       ACE_TString value;
00026       if (type == ACE_Configuration::STRING) {
00027         cf.get_string_value( key, name.c_str(), value );
00028         if (DCPS_debug_level > 8) {
00029           ACE_DEBUG((LM_INFO, "Configuration %s=%s\n",
00030                               name.c_str(), value.c_str()));
00031         }
00032         values[ACE_TEXT_ALWAYS_CHAR(name.c_str())] =
00033           ACE_TEXT_ALWAYS_CHAR(value.c_str());
00034       } else {
00035         ACE_DEBUG((LM_WARNING, "Unexpected value type in config file (ignored): "
00036                    "name=%s, type=%d\n", name.c_str(), type));
00037       }
00038       index++;
00039     }
00040     return index;
00041   }

OpenDDS_Dcps_Export int OpenDDS::DCPS::processSections ( ACE_Configuration_Heap &  cf,
const ACE_Configuration_Section_Key &  key,
KeyList &  subsections 
)

Function that processes the specified ACE Configuration Section for subsections. If multiple levels of subsections are found, a non-zero value is returned to indicate the error. All valid subsection will be placed into the supplied KeyList (std::pair<> of the subsection number and ACE_Configuration_Section_Key). A return value of zero indicates error-free success.

cf ACE_Configuration_Heap object being processed key ACE_Configuration_Section_Key object that specifies the section of the .ini file to process subsections List of subsections found (list contains a std::pair<> of the subsection number and ACE_Configuration_Section_Key).

Definition at line 44 of file ConfigUtils.cpp.

Referenced by OpenDDS::RTPS::RtpsDiscovery::Config::discovery_config(), OpenDDS::DCPS::InfoRepoDiscovery::Config::discovery_config(), OpenDDS::DCPS::Service_Participant::load_domain_configuration(), OpenDDS::DCPS::TransportRegistry::load_transport_configuration(), OpenDDS::DCPS::StaticDiscovery::parse_datareaderqos(), OpenDDS::DCPS::StaticDiscovery::parse_datawriterqos(), OpenDDS::DCPS::StaticDiscovery::parse_endpoints(), OpenDDS::DCPS::StaticDiscovery::parse_publisherqos(), OpenDDS::DCPS::StaticDiscovery::parse_subscriberqos(), and OpenDDS::DCPS::StaticDiscovery::parse_topics().

00046                                               {
00047     int index = 0;
00048     ACE_TString name;
00049     while (cf.enumerate_sections( key, index, name ) == 0) {
00050       ACE_Configuration_Section_Key subkey;
00051       if (cf.open_section( key, name.c_str(), 0, subkey ) != 0) {
00052         return 1;
00053       }
00054       subsections.push_back( SubsectionPair( ACE_TEXT_ALWAYS_CHAR(name.c_str()),
00055                                              subkey ) );
00056       int subindex = 0;
00057       ACE_TString subname;
00058       if (cf.enumerate_sections( subkey, subindex, subname ) == 0) {
00059         // Found additional nesting of subsections that we don't care
00060         // to allow (e.g. [transport/my/yours]), so return an error.
00061         return 1;
00062       }
00063       index++;
00064     }
00065     return 0;
00066   }

typedef OpenDDS::DCPS::OPENDDS_MAP ( OPENDDS_STRING  ,
OPENDDS_STRING   
)

Helper types and functions for config file parsing.

Referenced by OpenDDS::DCPS::RakeResults< SampleSeq >::copy_into(), OpenDDS::DCPS::RtpsUdpDataLink::deliver_held_data(), OpenDDS::DCPS::RtpsUdpDataLink::generate_nack_frags(), OpenDDS::DCPS::RtpsUdpDataLink::received(), OpenDDS::DCPS::RtpsUdpDataLink::send_heartbeats(), OpenDDS::DCPS::RtpsUdpDataLink::send_nackfrag_replies(), and OpenDDS::DCPS::PublisherImpl::wait_for_acknowledgments().

typedef OpenDDS::DCPS::OPENDDS_LIST ( SubsectionPair   ) 

Referenced by OpenDDS::DCPS::TransportReassembly::data_unavailable(), OpenDDS::DCPS::TransportReassembly::get_gaps(), OpenDDS::DCPS::TransportReassembly::insert(), and OpenDDS::DCPS::TransportRegistry::load_transport_configuration().

template<typename T>
bool OpenDDS::DCPS::convertToInteger ( const OPENDDS_STRING &  s,
T &  value 
)

Definition at line 28 of file ConfigUtils.h.

Referenced by OpenDDS::RTPS::RtpsDiscovery::Config::discovery_config(), OpenDDS::DCPS::InfoRepoDiscovery::Config::discovery_config(), OpenDDS::DCPS::Service_Participant::load_domain_configuration(), OpenDDS::DCPS::TransportRegistry::load_transport_configuration(), and OpenDDS::DCPS::StaticDiscovery::parse_endpoints().

00029   {
00030 #ifdef OPENDDS_SAFETY_PROFILE
00031     char* end;
00032     const long conv = std::strtol(s.c_str(), &end, 10);
00033     if (end == s.c_str()) return false;
00034     value = static_cast<T>(conv);
00035 #else
00036     std::stringstream istr(s.c_str());
00037     if (!(istr >> value) || (istr.peek() != EOF)) return false;
00038 #endif
00039     return true;
00040   }

bool OpenDDS::DCPS::@0::string_equal ( const char *  a,
const char *  b 
) [static]

Definition at line 48 of file ContentFilteredTopicImpl.cpp.

Referenced by OpenDDS::DCPS::ContentFilteredTopicImpl::set_expression_parameters().

00048                                                   {
00049     return std::strcmp(a, b) == 0;
00050   }

template<typename DatumType>
ACE_INLINE std::ostream & OpenDDS::DCPS::operator<< ( std::ostream &  str,
const DataCollector< DatumType > &  value 
)

Insert collected data onto an ostream.

Definition at line 15 of file DataCollector_T.inl.

References OpenDDS::DCPS::DataCollector< DatumType >::insert().

00018 {
00019   return value.insert(str);
00020 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::operator<< ( ACE_Message_Block &  buffer,
const DataSampleHeader &  value 
)

Marshal/Insertion into a buffer.

Definition at line 267 of file DataSampleHeader.cpp.

References OpenDDS::DCPS::DataSampleHeader::byte_order_, BYTE_ORDER_FLAG, CDR_ENCAP_FLAG, OpenDDS::DCPS::DataSampleHeader::cdr_encapsulation_, OpenDDS::DCPS::DataSampleHeader::coherent_change_, COHERENT_CHANGE_FLAG, OpenDDS::DCPS::DataSampleHeader::content_filter_, CONTENT_FILTER_FLAG, OpenDDS::DCPS::Serializer::good_bit(), OpenDDS::DCPS::DataSampleHeader::group_coherent_, GROUP_COHERENT_FLAG, OpenDDS::DCPS::DataSampleHeader::historic_sample_, HISTORIC_SAMPLE_FLAG, OpenDDS::DCPS::DataSampleHeader::key_fields_only_, KEY_ONLY_FLAG, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_, LIFESPAN_DURATION_FLAG, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_nanosec_, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_sec_, OpenDDS::DCPS::DataSampleHeader::message_id_, OpenDDS::DCPS::DataSampleHeader::message_length_, OpenDDS::DCPS::DataSampleHeader::more_fragments_, MORE_FRAGMENTS_FLAG, OpenDDS::DCPS::DataSampleHeader::publication_id_, OpenDDS::DCPS::DataSampleHeader::publisher_id_, OpenDDS::DCPS::DataSampleHeader::sequence_, OpenDDS::DCPS::DataSampleHeader::sequence_repair_, SEQUENCE_REPAIR_FLAG, OpenDDS::DCPS::DataSampleHeader::source_timestamp_nanosec_, OpenDDS::DCPS::DataSampleHeader::source_timestamp_sec_, and OpenDDS::DCPS::DataSampleHeader::submessage_id_.

00268 {
00269   Serializer writer(&buffer, value.byte_order_ != ACE_CDR_BYTE_ORDER);
00270 
00271   writer << value.message_id_;
00272   writer << value.submessage_id_;
00273 
00274   // Write the flags as a single byte.
00275   ACE_CDR::Octet flags = (value.byte_order_           << BYTE_ORDER_FLAG)
00276                          | (value.coherent_change_    << COHERENT_CHANGE_FLAG)
00277                          | (value.historic_sample_    << HISTORIC_SAMPLE_FLAG)
00278                          | (value.lifespan_duration_  << LIFESPAN_DURATION_FLAG)
00279                          | (value.group_coherent_     << GROUP_COHERENT_FLAG)
00280                          | (value.content_filter_     << CONTENT_FILTER_FLAG)
00281                          | (value.sequence_repair_    << SEQUENCE_REPAIR_FLAG)
00282                          | (value.more_fragments_     << MORE_FRAGMENTS_FLAG)
00283                          ;
00284   writer << ACE_OutputCDR::from_octet(flags);
00285 
00286   flags = (value.cdr_encapsulation_ << CDR_ENCAP_FLAG)
00287         | (value.key_fields_only_   << KEY_ONLY_FLAG)
00288         ;
00289   writer << ACE_OutputCDR::from_octet(flags);
00290 
00291   writer << value.message_length_;
00292   writer << value.sequence_;
00293   writer << value.source_timestamp_sec_;
00294   writer << value.source_timestamp_nanosec_;
00295 
00296   if (value.lifespan_duration_) {
00297     writer << value.lifespan_duration_sec_;
00298     writer << value.lifespan_duration_nanosec_;
00299   }
00300 
00301   writer << value.publication_id_;
00302 
00303 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE
00304   if (value.group_coherent_) {
00305     writer << value.publisher_id_;
00306   }
00307 #endif
00308 
00309   // content_filter_entries_ is deliberately not marshaled here.
00310   // It's variable sized, so it won't fit into our pre-allocated data block.
00311   // It may be customized per-datalink so it will be handled later with a
00312   // a chained (continuation) ACE_Message_Block.
00313 
00314   return writer.good_bit();
00315 }

const char * OpenDDS::DCPS::to_string ( const MessageId  value  ) 

Definition at line 460 of file DataSampleHeader.cpp.

References DATAWRITER_LIVELINESS, DISPOSE_INSTANCE, DISPOSE_UNREGISTER_INSTANCE, END_COHERENT_CHANGES, END_HISTORIC_SAMPLES, GRACEFUL_DISCONNECT, INSTANCE_REGISTRATION, REQUEST_ACK, SAMPLE_ACK, SAMPLE_DATA, TRANSPORT_CONTROL, and UNREGISTER_INSTANCE.

Referenced by OpenDDS::DCPS::DataWriterImpl::create_control_message(), OpenDDS::DCPS::DataWriterImpl::create_sample_data_message(), OpenDDS::DCPS::RecorderImpl::data_received(), OpenDDS::DCPS::DataReaderImpl::data_received(), OpenDDS::DCPS::DataLink::data_received_i(), OpenDDS::DCPS::GuidConverter::operator OPENDDS_STRING(), and to_string().

00461 {
00462   switch (value) {
00463   case SAMPLE_DATA:
00464     return "SAMPLE_DATA";
00465   case DATAWRITER_LIVELINESS:
00466     return "DATAWRITER_LIVELINESS";
00467   case INSTANCE_REGISTRATION:
00468     return "INSTANCE_REGISTRATION";
00469   case UNREGISTER_INSTANCE:
00470     return "UNREGISTER_INSTANCE";
00471   case DISPOSE_INSTANCE:
00472     return "DISPOSE_INSTANCE";
00473   case GRACEFUL_DISCONNECT:
00474     return "GRACEFUL_DISCONNECT";
00475   case REQUEST_ACK:
00476     return "REQUEST_ACK";
00477   case SAMPLE_ACK:
00478     return "SAMPLE_ACK";
00479   case END_COHERENT_CHANGES:
00480     return "END_COHERENT_CHANGES";
00481   case TRANSPORT_CONTROL:
00482     return "TRANSPORT_CONTROL";
00483   case DISPOSE_UNREGISTER_INSTANCE:
00484     return "DISPOSE_UNREGISTER_INSTANCE";
00485   case END_HISTORIC_SAMPLES:
00486     return "END_HISTORIC_SAMPLES";
00487   default:
00488     return "Unknown";
00489   }
00490 }

const char * OpenDDS::DCPS::to_string ( const SubMessageId  value  ) 

Definition at line 493 of file DataSampleHeader.cpp.

References MULTICAST_NAK, MULTICAST_NAKACK, MULTICAST_SYN, MULTICAST_SYNACK, and SUBMESSAGE_NONE.

00494 {
00495   switch (value) {
00496   case SUBMESSAGE_NONE:
00497     return "SUBMESSAGE_NONE";
00498   case MULTICAST_SYN:
00499     return "MULTICAST_SYN";
00500   case MULTICAST_SYNACK:
00501     return "MULTICAST_SYNACK";
00502   case MULTICAST_NAK:
00503     return "MULTICAST_NAK";
00504   case MULTICAST_NAKACK:
00505     return "MULTICAST_NAKACK";
00506   default:
00507     return "Unknown";
00508   }
00509 }

OPENDDS_STRING OpenDDS::DCPS::to_string ( const DataSampleHeader &  value  ) 

Definition at line 511 of file DataSampleHeader.cpp.

References OpenDDS::DCPS::DataSampleHeader::byte_order_, OpenDDS::DCPS::DataSampleHeader::cdr_encapsulation_, OpenDDS::DCPS::DataSampleHeader::coherent_change_, OpenDDS::DCPS::DataSampleHeader::content_filter_, OpenDDS::DCPS::DataSampleHeader::content_filter_entries_, OpenDDS::DCPS::SequenceNumber::getValue(), OpenDDS::DCPS::DataSampleHeader::group_coherent_, OpenDDS::DCPS::DataSampleHeader::historic_sample_, OpenDDS::DCPS::DataSampleHeader::key_fields_only_, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_nanosec_, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_sec_, OpenDDS::DCPS::DataSampleHeader::message_id_, OpenDDS::DCPS::DataSampleHeader::message_length_, OpenDDS::DCPS::DataSampleHeader::more_fragments_, OPENDDS_STRING, OpenDDS::DCPS::DataSampleHeader::publication_id_, OpenDDS::DCPS::DataSampleHeader::publisher_id_, OpenDDS::DCPS::DataSampleHeader::sequence_, OpenDDS::DCPS::DataSampleHeader::sequence_repair_, OpenDDS::DCPS::DataSampleHeader::source_timestamp_nanosec_, OpenDDS::DCPS::DataSampleHeader::source_timestamp_sec_, OpenDDS::DCPS::DataSampleHeader::submessage_id_, SUBMESSAGE_NONE, to_dds_string(), to_string(), and TRANSPORT_CONTROL.

00512 {
00513   OPENDDS_STRING ret;
00514   if (value.submessage_id_ != SUBMESSAGE_NONE) {
00515     ret += to_string(SubMessageId(value.submessage_id_));
00516     ret += " 0x";
00517     ret += to_dds_string(unsigned(value.submessage_id_), true);
00518     ret += "), ";
00519   } else {
00520     ret += to_string(MessageId(value.message_id_));
00521     ret += " (0x";
00522     ret += to_dds_string(unsigned(value.message_id_), true);
00523     ret += "), ";
00524   }
00525 
00526   ret += "Length: ";
00527   ret += to_dds_string(value.message_length_);
00528   ret += ", ";
00529 
00530   ret += "Byte order: ";
00531   ret += (value.byte_order_ == 1 ? "Little" : "Big");
00532   ret += " Endian";
00533 
00534   if (value.message_id_ != TRANSPORT_CONTROL) {
00535     ret += ", ";
00536 
00537     if (value.coherent_change_ == 1) ret += "Coherent, ";
00538     if (value.historic_sample_ == 1) ret += "Historic, ";
00539     if (value.lifespan_duration_ == 1) ret += "Lifespan, ";
00540 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE
00541     if (value.group_coherent_ == 1) ret += "Group-Coherent, ";
00542 #endif
00543     if (value.content_filter_ == 1) ret += "Content-Filtered, ";
00544     if (value.sequence_repair_ == 1) ret += "Sequence Repair, ";
00545     if (value.more_fragments_ == 1) ret += "More Fragments, ";
00546     if (value.cdr_encapsulation_ == 1) ret += "CDR Encapsulation, ";
00547     if (value.key_fields_only_ == 1) ret += "Key Fields Only, ";
00548 
00549     ret += "Sequence: 0x";
00550     ret += to_dds_string(unsigned(value.sequence_.getValue()), true);
00551     ret += ", ";
00552 
00553     ret += "Timestamp: ";
00554     ret += to_dds_string(value.source_timestamp_sec_);
00555     ret += ".";
00556     ret += to_dds_string(value.source_timestamp_nanosec_);
00557     ret += ", ";
00558 
00559     if (value.lifespan_duration_) {
00560       ret += "Lifespan: ";
00561       ret += to_dds_string(value.lifespan_duration_sec_);
00562       ret += ".";
00563       ret += to_dds_string(value.lifespan_duration_nanosec_);
00564       ret += ", ";
00565     }
00566 
00567     ret += "Publication: " + OPENDDS_STRING(GuidConverter(value.publication_id_));
00568 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE
00569     if (value.group_coherent_) {
00570       ret += ", Publisher: " + OPENDDS_STRING(GuidConverter(value.publisher_id_));
00571     }
00572 #endif
00573 
00574     if (value.content_filter_) {
00575       const CORBA::ULong len = value.content_filter_entries_.length();
00576       ret += ", Content-Filter Entries (";
00577       ret += to_dds_string(len);
00578       ret += "): [";
00579       for (CORBA::ULong i(0); i < len; ++i) {
00580         ret += OPENDDS_STRING(GuidConverter(value.content_filter_entries_[i])) + ' ';
00581       }
00582       ret += ']';
00583     }
00584   }
00585   return ret;
00586 }

OpenDDS_Dcps_Export std::ostream & OpenDDS::DCPS::operator<< ( std::ostream &  str,
const MessageId  value 
)

Message Id enumeration insertion onto an ostream.

Definition at line 590 of file DataSampleHeader.cpp.

References DATAWRITER_LIVELINESS, DISPOSE_INSTANCE, DISPOSE_UNREGISTER_INSTANCE, END_COHERENT_CHANGES, END_HISTORIC_SAMPLES, GRACEFUL_DISCONNECT, INSTANCE_REGISTRATION, REQUEST_ACK, SAMPLE_ACK, SAMPLE_DATA, TRANSPORT_CONTROL, and UNREGISTER_INSTANCE.

00591 {
00592   switch (value) {
00593   case SAMPLE_DATA:
00594     return str << "SAMPLE_DATA";
00595   case DATAWRITER_LIVELINESS:
00596     return str << "DATAWRITER_LIVELINESS";
00597   case INSTANCE_REGISTRATION:
00598     return str << "INSTANCE_REGISTRATION";
00599   case UNREGISTER_INSTANCE:
00600     return str << "UNREGISTER_INSTANCE";
00601   case DISPOSE_INSTANCE:
00602     return str << "DISPOSE_INSTANCE";
00603   case GRACEFUL_DISCONNECT:
00604     return str << "GRACEFUL_DISCONNECT";
00605   case REQUEST_ACK:
00606     return str << "REQUEST_ACK";
00607   case SAMPLE_ACK:
00608     return str << "SAMPLE_ACK";
00609   case END_COHERENT_CHANGES:
00610     return str << "END_COHERENT_CHANGES";
00611   case TRANSPORT_CONTROL:
00612     return str << "TRANSPORT_CONTROL";
00613   case DISPOSE_UNREGISTER_INSTANCE:
00614     return str << "DISPOSE_UNREGISTER_INSTANCE";
00615   case END_HISTORIC_SAMPLES:
00616     return str << "END_HISTORIC_SAMPLES";
00617   default:
00618     return str << "Unknown";
00619   }
00620 }

OpenDDS_Dcps_Export std::ostream & OpenDDS::DCPS::operator<< ( std::ostream &  os,
const SubMessageId  rhs 
)

Sub-Message Id enumeration insertion onto an ostream.

Definition at line 623 of file DataSampleHeader.cpp.

References MULTICAST_NAK, MULTICAST_NAKACK, MULTICAST_SYN, MULTICAST_SYNACK, and SUBMESSAGE_NONE.

00624 {
00625   switch (rhs) {
00626   case SUBMESSAGE_NONE:
00627     return os << "SUBMESSAGE_NONE";
00628   case MULTICAST_SYN:
00629     return os << "MULTICAST_SYN";
00630   case MULTICAST_SYNACK:
00631     return os << "MULTICAST_SYNACK";
00632   case MULTICAST_NAK:
00633     return os << "MULTICAST_NAK";
00634   case MULTICAST_NAKACK:
00635     return os << "MULTICAST_NAKACK";
00636   default:
00637     return os << "Unknown";
00638   }
00639 }

OpenDDS_Dcps_Export std::ostream & OpenDDS::DCPS::operator<< ( std::ostream &  str,
const DataSampleHeader &  value 
)

Message header insertion onto an ostream.

Definition at line 643 of file DataSampleHeader.cpp.

References OpenDDS::DCPS::DataSampleHeader::byte_order_, OpenDDS::DCPS::DataSampleHeader::cdr_encapsulation_, OpenDDS::DCPS::DataSampleHeader::coherent_change_, OpenDDS::DCPS::DataSampleHeader::content_filter_, OpenDDS::DCPS::DataSampleHeader::content_filter_entries_, OpenDDS::DCPS::SequenceNumber::getValue(), OpenDDS::DCPS::DataSampleHeader::group_coherent_, OpenDDS::DCPS::DataSampleHeader::historic_sample_, OpenDDS::DCPS::DataSampleHeader::key_fields_only_, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_nanosec_, OpenDDS::DCPS::DataSampleHeader::lifespan_duration_sec_, OpenDDS::DCPS::DataSampleHeader::message_id_, OpenDDS::DCPS::DataSampleHeader::message_length_, OpenDDS::DCPS::DataSampleHeader::more_fragments_, OpenDDS::DCPS::DataSampleHeader::publication_id_, OpenDDS::DCPS::DataSampleHeader::publisher_id_, OpenDDS::DCPS::DataSampleHeader::sequence_, OpenDDS::DCPS::DataSampleHeader::sequence_repair_, OpenDDS::DCPS::DataSampleHeader::source_timestamp_nanosec_, OpenDDS::DCPS::DataSampleHeader::source_timestamp_sec_, OpenDDS::DCPS::DataSampleHeader::submessage_id_, SUBMESSAGE_NONE, and TRANSPORT_CONTROL.

00644 {
00645   struct SaveAndRestoreStreamState {
00646     explicit SaveAndRestoreStreamState(std::ostream& s)
00647       : fill_(s.fill()), fmt_(s.flags()), s_(s) {}
00648     ~SaveAndRestoreStreamState()
00649     {
00650       s_.fill(fill_);
00651       s_.flags(fmt_);
00652     }
00653     char fill_;
00654     std::ios_base::fmtflags fmt_;
00655     std::ostream& s_;
00656   } stream_state(str);
00657 
00658   if (value.submessage_id_ != SUBMESSAGE_NONE) {
00659     str << SubMessageId(value.submessage_id_)
00660       << " (0x" << std::hex << std::setw(2) << std::setfill('0')
00661       << unsigned(value.submessage_id_) << "), ";
00662 
00663   } else {
00664     str << MessageId(value.message_id_)
00665         << " (0x" << std::hex << std::setw(2) << std::setfill('0')
00666         << unsigned(value.message_id_) << "), ";
00667   }
00668 
00669   str << "Length: " << std::dec << value.message_length_ << ", ";
00670 
00671   str << "Byte order: " << (value.byte_order_ == 1 ? "Little" : "Big")
00672       << " Endian";
00673 
00674   if (value.message_id_ != TRANSPORT_CONTROL) {
00675     str << ", ";
00676 
00677     if (value.coherent_change_ == 1) str << "Coherent, ";
00678     if (value.historic_sample_ == 1) str << "Historic, ";
00679     if (value.lifespan_duration_ == 1) str << "Lifespan, ";
00680 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE
00681     if (value.group_coherent_ == 1) str << "Group-Coherent, ";
00682 #endif
00683     if (value.content_filter_ == 1) str << "Content-Filtered, ";
00684     if (value.sequence_repair_ == 1) str << "Sequence Repair, ";
00685     if (value.more_fragments_ == 1) str << "More Fragments, ";
00686     if (value.cdr_encapsulation_ == 1) str << "CDR Encapsulation, ";
00687     if (value.key_fields_only_ == 1) str << "Key Fields Only, ";
00688 
00689     str << "Sequence: 0x" << std::hex << std::setw(4) << std::setfill('0')
00690         << value.sequence_.getValue() << ", ";
00691 
00692     str << "Timestamp: " << std::dec << value.source_timestamp_sec_ << "."
00693         << std::dec << value.source_timestamp_nanosec_ << ", ";
00694 
00695     if (value.lifespan_duration_) {
00696       str << "Lifespan: " << std::dec << value.lifespan_duration_sec_ << "."
00697           << std::dec << value.lifespan_duration_nanosec_ << ", ";
00698     }
00699 
00700     str << "Publication: " << GuidConverter(value.publication_id_);
00701 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE
00702     if (value.group_coherent_) {
00703       str << ", Publisher: " << GuidConverter(value.publisher_id_);
00704     }
00705 #endif
00706 
00707     if (value.content_filter_) {
00708       const CORBA::ULong len = value.content_filter_entries_.length();
00709       str << ", Content-Filter Entries (" << len << "): [";
00710       for (CORBA::ULong i(0); i < len; ++i) {
00711         str << GuidConverter(value.content_filter_entries_[i]) << ' ';
00712       }
00713       str << ']';
00714     }
00715   }
00716 
00717   return str;
00718 }

bool OpenDDS::DCPS::is_wildcard ( const char *  str  ) 

Definition at line 22 of file DCPS_Utils.cpp.

00023 {
00024   static const char wild[] = "?*[";
00025 
00026   while (*str) {
00027     size_t i = ACE_OS::strcspn(str, wild);
00028 
00029     if (!str[i]) return false; // no wildcard
00030 
00031     if (i > 0 && str[i-1] == '\\') str += i + 1; // escaped wildcard
00032 
00033     else return true;
00034   }
00035 
00036   return false;
00037 }

bool OpenDDS::DCPS::matches_name ( const DDS::PartitionQosPolicy qos,
const PartitionName &  name 
)

Definition at line 65 of file DCPS_Utils.cpp.

References DDS::PartitionQosPolicy::name.

Referenced by matching_partitions().

00066 {
00067   for (CORBA::ULong i = 0; i < qos.name.length(); ++i) {
00068     PartitionName qos_name(qos.name[i]);
00069 
00070     if (qos_name.matches(name))
00071       return true;
00072   }
00073 
00074   return false;
00075 }

bool OpenDDS::DCPS::matches_default ( const DDS::PartitionQosPolicy qos  ) 

Definition at line 78 of file DCPS_Utils.cpp.

References DDS::PartitionQosPolicy::name.

Referenced by matching_partitions().

00079 {
00080   if (qos.name.length() == 0)
00081     return true; // default
00082 
00083   for (CORBA::ULong i = 0; i < qos.name.length(); ++i) {
00084     if (*qos.name[i] == 0)
00085       return true; // default (empty string)
00086   }
00087 
00088   return false;
00089 }

bool OpenDDS::DCPS::matching_partitions ( const DDS::PartitionQosPolicy pub,
const DDS::PartitionQosPolicy sub 
)

Definition at line 92 of file DCPS_Utils.cpp.

References matches_default(), matches_name(), and DDS::PartitionQosPolicy::name.

Referenced by compatibleQOS().

00094 {
00095   if (matches_default(pub)) {
00096     if (matches_default(sub))
00097       return true;
00098 
00099     // Zero-length sequences should be treated the same as a
00100     // sequence of length 1 that contains an empty string:
00101     if (pub.name.length() == 0)
00102       return matches_name(sub, "");
00103   }
00104 
00105   for (CORBA::ULong i = 0; i < pub.name.length(); ++i) {
00106     const char* name = pub.name[i];
00107 
00108     if (matches_name(sub, name))
00109       return true;
00110   }
00111 
00112   return false;
00113 }

OpenDDS_Dcps_Export void OpenDDS::DCPS::increment_incompatibility_count ( OpenDDS::DCPS::IncompatibleQosStatus status,
DDS::QosPolicyId_t  incompatible_policy 
)

Increments the count of occurances of the incompatible policy for the status

Definition at line 116 of file DCPS_Utils.cpp.

References OpenDDS::DCPS::IncompatibleQosStatus::count_since_last_send, OpenDDS::DCPS::IncompatibleQosStatus::last_policy_id, OpenDDS::DCPS::IncompatibleQosStatus::policies, and OpenDDS::DCPS::IncompatibleQosStatus::total_count.

Referenced by compatibleQOS().

00118 {
00119   ++status->total_count;
00120   ++status->count_since_last_send;
00121   status->last_policy_id = incompatible_policy;
00122   CORBA::ULong const size = status->policies.length();
00123   CORBA::ULong count = 0;
00124   bool updated = false;
00125 
00126   for (; !updated && count < size; ++count) {
00127     if (status->policies[count].policy_id == incompatible_policy) {
00128       ++status->policies[count].count;
00129       updated = true;
00130     }
00131   }
00132 
00133   if (!updated) {
00134     DDS::QosPolicyCount policy;
00135     policy.policy_id = incompatible_policy;
00136     policy.count = 1;
00137     status->policies.length(count + 1);
00138     status->policies[count] = policy;
00139   }
00140 }

bool OpenDDS::DCPS::compatibleTransports ( const OpenDDS::DCPS::TransportLocatorSeq s1,
const OpenDDS::DCPS::TransportLocatorSeq s2 
)

Definition at line 143 of file DCPS_Utils.cpp.

Referenced by compatibleQOS().

00145 {
00146   for (CORBA::ULong i = 0; i < s1.length(); ++i) {
00147     for (CORBA::ULong j = 0; j < s2.length(); ++j) {
00148       if (0 == std::strcmp(s1[i].transport_type, s2[j].transport_type)) {
00149         return true;
00150       }
00151     }
00152   }
00153   return false;
00154 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::compatibleQOS ( OpenDDS::DCPS::IncompatibleQosStatus writerStatus,
OpenDDS::DCPS::IncompatibleQosStatus readerStatus,
const OpenDDS::DCPS::TransportLocatorSeq pubTLS,
const OpenDDS::DCPS::TransportLocatorSeq subTLS,
DDS::DataWriterQos const *const   writerQos,
DDS::DataReaderQos const *const   readerQos,
DDS::PublisherQos const *const   pubQos,
DDS::SubscriberQos const *const   subQos 
)

Compares whether a publication and subscription are compatible by comparing their constituent parts.

Definition at line 157 of file DCPS_Utils.cpp.

References compatibleTransports(), increment_incompatibility_count(), matching_partitions(), DDS::SubscriberQos::partition, DDS::PublisherQos::partition, and OpenDDS::TRANSPORTTYPE_QOS_POLICY_ID.

Referenced by OpenDDS::DCPS::EndpointRegistry::match(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::match(), DCPS_IR_Subscription::reevaluate_association(), DCPS_IR_Publication::reevaluate_association(), and DCPS_IR_Topic_Description::try_associate().

00165 {
00166   bool compatible = true;
00167 
00168   // Check transport-type compatibility
00169   if (!compatibleTransports(pubTLS, subTLS)) {
00170     compatible = false;
00171     increment_incompatibility_count(writerStatus,
00172                                     OpenDDS::TRANSPORTTYPE_QOS_POLICY_ID);
00173     increment_incompatibility_count(readerStatus,
00174                                     OpenDDS::TRANSPORTTYPE_QOS_POLICY_ID);
00175   }
00176 
00177   // Verify compatibility of DataWriterQos and DataReaderQos
00178   compatible = compatible && compatibleQOS(writerQos, readerQos,
00179                                            writerStatus, readerStatus);
00180 
00181   // Verify compatibility of PublisherQos and SubscriberQos
00182   compatible = compatible && compatibleQOS(pubQos, subQos,
00183                                            writerStatus, readerStatus);
00184 
00185   // Verify publisher and subscriber are in a matching partition.
00186   //
00187   // According to the DDS spec:
00188   //
00189   //   Failure to match partitions is not considered an incompatible
00190   //   QoS and does not trigger any listeners nor conditions.
00191   //
00192   // Don't increment the incompatibity count.
00193   compatible = compatible && matching_partitions(pubQos->partition,
00194                                                  subQos->partition);
00195 
00196   return compatible;
00197 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::compatibleQOS ( const DDS::PublisherQos pubQos,
const DDS::SubscriberQos subQos,
OpenDDS::DCPS::IncompatibleQosStatus writerStatus,
OpenDDS::DCPS::IncompatibleQosStatus readerStatus 
)

Definition at line 200 of file DCPS_Utils.cpp.

References increment_incompatibility_count(), DDS::SubscriberQos::presentation, DDS::PublisherQos::presentation, and DDS::PRESENTATION_QOS_POLICY_ID.

00204 {
00205   bool compatible = true;
00206 
00207   // PARTITION, GROUP_DATA, and ENTITY_FACTORY are RxO==no.
00208 
00209   // Check the PRESENTATION_QOS_POLICY_ID
00210   if ((pubQos->presentation.access_scope < subQos->presentation.access_scope)
00211       || ((pubQos->presentation.coherent_access == false)
00212           &&(subQos->presentation.coherent_access == true))
00213       || ((pubQos->presentation.ordered_access  == false)
00214           &&(subQos->presentation.ordered_access  == true))) {
00215     compatible = false;
00216 
00217     increment_incompatibility_count(writerStatus,
00218                                     DDS::PRESENTATION_QOS_POLICY_ID);
00219     increment_incompatibility_count(readerStatus,
00220                                     DDS::PRESENTATION_QOS_POLICY_ID);
00221   }
00222 
00223   return compatible;
00224 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::compatibleQOS ( const DDS::DataWriterQos writerQos,
const DDS::DataReaderQos readerQos,
OpenDDS::DCPS::IncompatibleQosStatus writerStatus,
OpenDDS::DCPS::IncompatibleQosStatus readerStatus 
)

Definition at line 227 of file DCPS_Utils.cpp.

References DDS::DataReaderQos::deadline, DDS::DataWriterQos::deadline, DDS::DEADLINE_QOS_POLICY_ID, DDS::DataReaderQos::durability, DDS::DataWriterQos::durability, DDS::DURABILITY_QOS_POLICY_ID, increment_incompatibility_count(), DDS::DataWriterQos::latency_budget, DDS::DataReaderQos::latency_budget, DDS::LATENCYBUDGET_QOS_POLICY_ID, DDS::DataReaderQos::liveliness, DDS::DataWriterQos::liveliness, DDS::LIVELINESS_QOS_POLICY_ID, DDS::DataReaderQos::ownership, DDS::DataWriterQos::ownership, DDS::OWNERSHIP_QOS_POLICY_ID, DDS::DataReaderQos::reliability, DDS::DataWriterQos::reliability, and DDS::RELIABILITY_QOS_POLICY_ID.

00231 {
00232   bool compatible = true;
00233 
00234   // Check the RELIABILITY_QOS_POLICY_ID
00235   if (writerQos->reliability.kind < readerQos->reliability.kind) {
00236     compatible = false;
00237 
00238     increment_incompatibility_count(writerStatus,
00239                                     DDS::RELIABILITY_QOS_POLICY_ID);
00240     increment_incompatibility_count(readerStatus,
00241                                     DDS::RELIABILITY_QOS_POLICY_ID);
00242   }
00243 
00244   // Check the DURABILITY_QOS_POLICY_ID
00245   if (writerQos->durability.kind < readerQos->durability.kind) {
00246     compatible = false;
00247 
00248     increment_incompatibility_count(writerStatus,
00249                                     DDS::DURABILITY_QOS_POLICY_ID);
00250     increment_incompatibility_count(readerStatus,
00251                                     DDS::DURABILITY_QOS_POLICY_ID);
00252   }
00253 
00254   // Check the LIVELINESS_QOS_POLICY_ID
00255   // invalid if offered kind is less than requested kind OR
00256   //         if offered liveliness duration greater than requested
00257   //         liveliness duration
00258   using OpenDDS::DCPS::operator>;
00259   if (writerQos->liveliness.kind < readerQos->liveliness.kind
00260       || writerQos->liveliness.lease_duration
00261       > readerQos->liveliness.lease_duration) {
00262 
00263     compatible = false;
00264 
00265     increment_incompatibility_count(writerStatus,
00266                                     DDS::LIVELINESS_QOS_POLICY_ID);
00267     increment_incompatibility_count(readerStatus,
00268                                     DDS::LIVELINESS_QOS_POLICY_ID);
00269   }
00270 
00271   // Check the DEADLINE_QOS_POLICY_ID
00272   //   Offered deadline must be less than or equal to the requested
00273   //   deadline.
00274   if (writerQos->deadline.period > readerQos->deadline.period) {
00275 
00276     compatible = false;
00277 
00278     increment_incompatibility_count(writerStatus,
00279                                     DDS::DEADLINE_QOS_POLICY_ID);
00280     increment_incompatibility_count(readerStatus,
00281                                     DDS::DEADLINE_QOS_POLICY_ID);
00282   }
00283 
00284   // Check the LATENCY_BUDGET
00285   //   The reader's duration must be greater than or equal to the writer's
00286   using OpenDDS::DCPS::operator<;
00287   if (readerQos->latency_budget.duration < writerQos->latency_budget.duration) {
00288 
00289     compatible = false;
00290 
00291     increment_incompatibility_count(writerStatus,
00292                                     DDS::LATENCYBUDGET_QOS_POLICY_ID);
00293     increment_incompatibility_count(readerStatus,
00294                                     DDS::LATENCYBUDGET_QOS_POLICY_ID);
00295   }
00296 
00297   // The value of the OWNERSHIP kind offered must exactly match the one
00298   // requested or else they are considered incompatible.
00299   if (writerQos->ownership.kind != readerQos->ownership.kind) {
00300     compatible = false;
00301 
00302     increment_incompatibility_count(writerStatus,
00303                                     DDS::OWNERSHIP_QOS_POLICY_ID);
00304     increment_incompatibility_count(readerStatus,
00305                                     DDS::OWNERSHIP_QOS_POLICY_ID);
00306   }
00307 
00308   return compatible;
00309 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::should_check_association_upon_change ( const DDS::DataReaderQos qos1,
const DDS::DataReaderQos qos2 
)

Definition at line 314 of file DCPS_Utils.cpp.

References DDS::DataReaderQos::deadline, and DDS::DataReaderQos::latency_budget.

Referenced by DCPS_IR_Subscription::set_qos(), and DCPS_IR_Publication::set_qos().

00316 {
00317   return !(
00318            (qos1.deadline == qos2.deadline) &&
00319            (qos1.latency_budget == qos2.latency_budget));
00320 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::should_check_association_upon_change ( const DDS::DataWriterQos qos1,
const DDS::DataWriterQos qos2 
)

Definition at line 322 of file DCPS_Utils.cpp.

References DDS::DataWriterQos::deadline, and DDS::DataWriterQos::latency_budget.

00324 {
00325   return !(
00326            (qos1.deadline == qos2.deadline) &&
00327            (qos1.latency_budget == qos2.latency_budget));
00328 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::should_check_association_upon_change ( const DDS::SubscriberQos qos1,
const DDS::SubscriberQos qos2 
)

Definition at line 330 of file DCPS_Utils.cpp.

References DDS::SubscriberQos::partition.

00332 {
00333   return !(qos1.partition == qos2.partition);
00334 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::should_check_association_upon_change ( const DDS::PublisherQos qos1,
const DDS::PublisherQos qos2 
)

Definition at line 336 of file DCPS_Utils.cpp.

References DDS::PublisherQos::partition.

00338 {
00339   return !(qos1.partition == qos2.partition);
00340 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::should_check_association_upon_change ( const DDS::TopicQos qos1,
const DDS::TopicQos qos2 
)

Definition at line 342 of file DCPS_Utils.cpp.

00344 {
00345   return false;
00346 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::should_check_association_upon_change ( const DDS::DomainParticipantQos qos1,
const DDS::DomainParticipantQos qos2 
)

Definition at line 348 of file DCPS_Utils.cpp.

00350 {
00351   return false;
00352 }

void OpenDDS_Dcps_Export OpenDDS::DCPS::set_DCPS_debug_level ( unsigned int  lvl  ) 

The proper way to set the DCPS_debug_level. This function allows for possible side-effects of setting the level.

Definition at line 17 of file debug.cpp.

References DCPS_debug_level.

Referenced by FACE::TS::create_opendds_entities(), and OpenDDS::DCPS::Service_Participant::parse_args().

00018 {
00019   OpenDDS::DCPS::DCPS_debug_level = lvl;
00020 }

ACE_CDR::Boolean OpenDDS::DCPS::operator<< ( Serializer &  s,
const SequenceNumber &  x 
) [inline]

Definition at line 181 of file Definitions.h.

References OpenDDS::DCPS::SequenceNumber::getHigh(), OpenDDS::DCPS::SequenceNumber::getLow(), and OpenDDS::DCPS::Serializer::good_bit().

00181                                                    {
00182   s << x.getHigh();
00183   s << x.getLow();
00184   return s.good_bit();
00185 }

ACE_CDR::Boolean OpenDDS::DCPS::operator>> ( Serializer &  s,
SequenceNumber &  x 
) [inline]

Definition at line 188 of file Definitions.h.

References OpenDDS::DCPS::Serializer::good_bit().

00188                                              {
00189   ACE_INT32 high;
00190   ACE_UINT32 low;
00191   s >> high;
00192   if (!s.good_bit()) return false;
00193   s >> low;
00194   if (!s.good_bit()) return false;
00195   x = SequenceNumber(high, low);
00196   return true;
00197 }

SequenceNumber OpenDDS::DCPS::operator+ ( const SequenceNumber &  lhs,
int  rhs 
) [inline]

Definition at line 200 of file Definitions.h.

References OpenDDS::DCPS::SequenceNumber::getValue().

00201 {
00202   return SequenceNumber(lhs.getValue() + rhs);
00203 }

SequenceNumber OpenDDS::DCPS::operator+= ( SequenceNumber &  lhs,
int  rhs 
) [inline]

Definition at line 206 of file Definitions.h.

References OpenDDS::DCPS::SequenceNumber::getValue(), and OpenDDS::DCPS::SequenceNumber::setValue().

00207 {
00208   lhs.setValue(lhs.getValue() + rhs);
00209   return lhs;
00210 }

SequenceNumber OpenDDS::DCPS::operator+ ( int  lhs,
const SequenceNumber &  rhs 
) [inline]

Definition at line 213 of file Definitions.h.

00214 {
00215   return rhs + lhs;
00216 }

void OpenDDS::DCPS::gen_find_size ( const SequenceNumber &  ,
size_t &  size,
size_t &  padding 
) [inline]

Definition at line 219 of file Definitions.h.

References find_size_ulong(), and gen_max_marshaled_size().

Referenced by OpenDDS::DCPS::DataSampleHeader::add_cfentries(), OpenDDS::DCPS::RtpsUdpDataLink::add_gap_submsg(), OpenDDS::DCPS::DataWriterImpl::association_complete_i(), OpenDDS::DCPS::DataWriterImpl_T< MessageType >::dds_marshal(), OpenDDS::DCPS::RtpsUdpDataLink::generate_nack_frags(), OpenDDS::DCPS::DataSampleHeader::init(), OpenDDS::RTPS::locators_to_blob(), OpenDDS::DCPS::RtpsUdpDataLink::marshal_gaps(), OpenDDS::RTPS::marshal_key_hash(), OpenDDS::DCPS::DataSampleHeader::partial(), OpenDDS::RTPS::Sedp::populate_transport_locator_sequence(), OpenDDS::DCPS::RtpsUdpDataLink::send_ack_nacks(), OpenDDS::DCPS::RtpsUdpDataLink::send_heartbeat_replies(), submsgs_to_msgblock(), and OpenDDS::RTPS::Sedp::Writer::write_sample().

00219                                                                            {
00220   find_size_ulong(size, padding);
00221   size += gen_max_marshaled_size(CORBA::Long());
00222 }

void OpenDDS::DCPS::assign ( DCPS::EntityKey_t lhs,
unsigned int  rhs 
) [inline]

Definition at line 27 of file DiscoveryBase.h.

Referenced by Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::ActorStrt(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::assign_publication_key(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::assign_subscription_key(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::assign_topic_key(), OpenDDS::DCPS::RtpsUdpReceiveStrategy::MessageReceiver::fill_header(), OpenDDS::DCPS::RtpsUdpReceiveStrategy::MessageReceiver::MessageReceiver(), Update::ParticipantStrt< QosSeq >::ParticipantStrt(), OpenDDS::DCPS::RtpsUdpReceiveStrategy::MessageReceiver::reset(), OpenDDS::DCPS::RtpsUdpReceiveStrategy::MessageReceiver::submsg(), and Update::TopicStrt< QosSeq, ACE_CString >::TopicStrt().

00028     {
00029       lhs[0] = static_cast<CORBA::Octet>(rhs);
00030       lhs[1] = static_cast<CORBA::Octet>(rhs >> 8);
00031       lhs[2] = static_cast<CORBA::Octet>(rhs >> 16);
00032     }

static size_t OpenDDS::DCPS::arity ( const FilterEvaluator::AstNodeWrapper &  node  )  [static]

Definition at line 413 of file FilterEvaluator.cpp.

Referenced by OpenDDS::DCPS::FilterEvaluator::walkAst(), and OpenDDS::DCPS::FilterEvaluator::walkOperand().

00414 {
00415   size_t a = 0;
00416   for (AstNode* iter = node->GetFirstChild(); iter; iter = iter->GetSibling()) {
00417     ++a;
00418   }
00419   return a;
00420 }

static FilterEvaluator::AstNodeWrapper OpenDDS::DCPS::child ( const FilterEvaluator::AstNodeWrapper &  node,
size_t  idx 
) [static]

Definition at line 422 of file FilterEvaluator.cpp.

Referenced by OpenDDS::DCPS::FilterEvaluator::EvalNode::deleteChild(), OpenDDS::DCPS::FilterEvaluator::walkAst(), and OpenDDS::DCPS::FilterEvaluator::walkOperand().

00423 {
00424   AstNode* iter = 0;
00425   for (iter = node->GetFirstChild(); idx != 0; iter = iter->GetSibling(), --idx) {}
00426   return iter;
00427 }

template<typename Visitor, typename Val>
Visitor::result_type OpenDDS::DCPS::@10::visit ( Visitor &  vis,
Val &  val 
) [static]

Definition at line 597 of file FilterEvaluator.cpp.

References OpenDDS::DCPS::Value::VAL_BOOL, OpenDDS::DCPS::Value::VAL_CHAR, OpenDDS::DCPS::Value::VAL_FLOAT, OpenDDS::DCPS::Value::VAL_I64, OpenDDS::DCPS::Value::VAL_INT, OpenDDS::DCPS::Value::VAL_LNGDUB, OpenDDS::DCPS::Value::VAL_STRING, OpenDDS::DCPS::Value::VAL_UI64, and OpenDDS::DCPS::Value::VAL_UINT.

Referenced by OpenDDS::DCPS::Value::convert(), OpenDDS::DCPS::Value::operator%(), OpenDDS::DCPS::Value::operator<(), OpenDDS::DCPS::Value::operator==(), OpenDDS::DCPS::Value::swap(), and OpenDDS::DCPS::Value::Value().

00598   {
00599     switch (val.type_) {
00600     case Value::VAL_BOOL:
00601       return vis(val.b_);
00602     case Value::VAL_INT:
00603       return vis(val.i_);
00604     case Value::VAL_UINT:
00605       return vis(val.u_);
00606     case Value::VAL_I64:
00607       return vis(val.l_);
00608     case Value::VAL_UI64:
00609       return vis(val.m_);
00610     case Value::VAL_FLOAT:
00611       return vis(val.f_);
00612     case Value::VAL_LNGDUB:
00613       return vis(val.ld_);
00614     case Value::VAL_CHAR:
00615       return vis(val.c_);
00616     case Value::VAL_STRING:
00617       return vis(val.s_);
00618     default:
00619       throw std::runtime_error("Unexpected type of Value");
00620     }
00621   }

template<typename T>
const MetaStruct& OpenDDS::DCPS::getMetaStruct (  ) 

OpenDDS_Dcps_Export std::ostream & OpenDDS::DCPS::operator<< ( std::ostream &  os,
const GuidConverter &  rhs 
)

Definition at line 118 of file GuidConverter.cpp.

References OPENDDS_STRING.

00119 {
00120   return os << OPENDDS_STRING(rhs);
00121 }

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_string ( const GUID_t &  guid  ) 

Definition at line 39 of file GuidUtils.cpp.

References OpenDDS::DCPS::GUID_t::entityId, OpenDDS::DCPS::EntityId_t::entityKey, OpenDDS::DCPS::EntityId_t::entityKind, OpenDDS::DCPS::GUID_t::guidPrefix, OPENDDS_STRING, and to_dds_string().

00040 {
00041   std::size_t len;
00042 
00043   OPENDDS_STRING ret;
00044 
00045   len = sizeof(guid.guidPrefix);
00046 
00047   for (std::size_t i = 0; i < len; ++i) {
00048     ret += to_dds_string(unsigned(guid.guidPrefix[i]), true);
00049 
00050     if ((i + 1) % 4 == 0) {
00051       ret += '.';
00052     }
00053   }
00054 
00055   len = sizeof(guid.entityId.entityKey);
00056 
00057   for (std::size_t i = 0; i < len; ++i) {
00058     ret += to_dds_string(unsigned(guid.entityId.entityKey[i]), true);
00059   }
00060 
00061   ret += to_dds_string(unsigned(guid.entityId.entityKind), true);
00062 
00063   return ret;
00064 }

OpenDDS_Dcps_Export std::ostream & OpenDDS::DCPS::operator<< ( std::ostream &  os,
const GUID_t &  rhs 
)

Definition at line 68 of file GuidUtils.cpp.

References OpenDDS::DCPS::GUID_t::entityId, OpenDDS::DCPS::EntityId_t::entityKey, OpenDDS::DCPS::EntityId_t::entityKind, OpenDDS::DCPS::GUID_t::guidPrefix, sep(), and setopts().

00069 {
00070   std::size_t len;
00071 
00072   len = sizeof(rhs.guidPrefix);
00073 
00074   os << std::hex;
00075 
00076   for (std::size_t i = 0; i < len; ++i) {
00077     os << setopts << unsigned(rhs.guidPrefix[i]);
00078 
00079     if ((i + 1) % 4 == 0) os << sep;
00080   }
00081 
00082   len = sizeof(rhs.entityId.entityKey);
00083 
00084   for (std::size_t i = 0; i < len; ++i) {
00085     os << setopts << unsigned(rhs.entityId.entityKey[i]);
00086   }
00087 
00088   os << setopts << unsigned(rhs.entityId.entityKind);
00089 
00090   // Reset, because hex is "sticky"
00091   os << std::dec;
00092 
00093   return os;
00094 }

OpenDDS_Dcps_Export std::istream & OpenDDS::DCPS::operator>> ( std::istream &  is,
GUID_t &  rhs 
)

Definition at line 97 of file GuidUtils.cpp.

References OpenDDS::DCPS::GuidBuilder::entityId(), OpenDDS::DCPS::GuidBuilder::guidPrefix0(), OpenDDS::DCPS::GuidBuilder::guidPrefix1(), and OpenDDS::DCPS::GuidBuilder::guidPrefix2().

00098 {
00099   long word;
00100   char discard;
00101 
00102   GuidBuilder builder(rhs);
00103 
00104   is >> std::hex >> word;
00105   builder.guidPrefix0(word);
00106   is >> discard; // sep
00107 
00108   is >> std::hex >> word;
00109   builder.guidPrefix1(word);
00110   is >> discard; // sep
00111 
00112   is >> std::hex >> word;
00113   builder.guidPrefix2(word);
00114   is >> discard; // sep
00115 
00116   is >> std::hex >> word;
00117   builder.entityId(word);
00118 
00119   return is;
00120 }

typedef OpenDDS::DCPS::OPENDDS_SET_CMP ( RepoId  ,
GUID_tKeyLessThan   
)

size_t OpenDDS::DCPS::gen_max_marshaled_size ( const GUID_t &   )  [inline]

Definition at line 111 of file GuidUtils.h.

Referenced by gen_find_size(), OpenDDS::DCPS::DataWriterImpl_T< MessageType >::init(), OpenDDS::RTPS::marshal_key_hash(), and OpenDDS::DCPS::DataSampleHeader::split().

00112 {
00113   return 16;
00114 }

bool OpenDDS::DCPS::operator== ( const GUID_t &  lhs,
const GUID_t &  rhs 
) [inline]

Definition at line 118 of file GuidUtils.h.

00119 {
00120   GUID_tKeyLessThan lessThan;
00121   return !lessThan(lhs, rhs) && !lessThan(rhs, lhs);
00122 }

bool OpenDDS::DCPS::operator!= ( const GUID_t &  lhs,
const GUID_t &  rhs 
) [inline]

Definition at line 125 of file GuidUtils.h.

00126 {
00127   return !(lhs == rhs);
00128 }

bool OpenDDS::DCPS::operator== ( const EntityId_t &  lhs,
const EntityId_t &  rhs 
) [inline]

Definition at line 142 of file GuidUtils.h.

References OpenDDS::DCPS::GUID_tKeyLessThan::entity_less().

00143 {
00144   return !GUID_tKeyLessThan::entity_less(lhs, rhs)
00145     && !GUID_tKeyLessThan::entity_less(rhs, lhs);
00146 }

bool OpenDDS::DCPS::operator!= ( const EntityId_t &  lhs,
const EntityId_t &  rhs 
) [inline]

Definition at line 149 of file GuidUtils.h.

00150 {
00151   return !(lhs == rhs);
00152 }

DDS::DataReader_var OpenDDS::DCPS::@17::getDataReader ( DataReaderCallbacks *  callbacks  )  [static]

Definition at line 34 of file DataReaderRemoteImpl.cpp.

Referenced by OpenDDS::DCPS::DataReaderRemoteImpl::add_association(), OpenDDS::DCPS::DataReaderRemoteImpl::association_complete(), OpenDDS::DCPS::DataReaderRemoteImpl::remove_associations(), and OpenDDS::DCPS::DataReaderRemoteImpl::update_incompatible_qos().

00035   {
00036     // the DataReaderCallbacks will always be a DataReader
00037     DDS::DataReader_var var =
00038       DDS::DataReader::_duplicate(dynamic_cast<DDS::DataReader*>(callbacks));
00039     return var;
00040   }

DDS::DataWriter_var OpenDDS::DCPS::@18::getDataWriter ( DataWriterCallbacks *  callbacks  )  [static]

Definition at line 35 of file DataWriterRemoteImpl.cpp.

Referenced by OpenDDS::DCPS::DataWriterRemoteImpl::add_association(), OpenDDS::DCPS::DataWriterRemoteImpl::association_complete(), OpenDDS::DCPS::DataWriterRemoteImpl::remove_associations(), OpenDDS::DCPS::DataWriterRemoteImpl::update_incompatible_qos(), and OpenDDS::DCPS::DataWriterRemoteImpl::update_subscription_params().

00036   {
00037     // the DataWriterCallbacks will always be a DataWriter
00038     DDS::DataWriter_var var =
00039       DDS::DataWriter::_duplicate(dynamic_cast<DDS::DataWriter*>(callbacks));
00040     return var;
00041   }

DCPSInfo_ptr OpenDDS::DCPS::@20::get_repo ( const char *  ior,
CORBA::ORB_ptr  orb 
) [static]

Definition at line 143 of file InfoRepoDiscovery.cpp.

Referenced by OpenDDS::DCPS::InfoRepoDiscovery::get_dcps_info().

00144   {
00145     CORBA::Object_var o;
00146     try {
00147       o = orb->string_to_object(ior);
00148     } catch (CORBA::INV_OBJREF&) {
00149       // host:port format causes an exception; try again
00150       // with corbaloc format
00151       std::string second_try("corbaloc:iiop:");
00152       second_try += ior;
00153       second_try += "/DCPSInfoRepo";
00154 
00155       o = orb->string_to_object(second_try.c_str());
00156     }
00157 
00158     return DCPSInfo::_narrow(o.in());
00159   }

OpenDDS::DCPS::ACE_FACTORY_DEFINE ( OpenDDS_InfoRepoDiscovery  ,
IRDiscoveryLoader   
)

const DDS::InstanceHandle_t OpenDDS::DCPS::HANDLE_UNKNOWN (  ) 

Referenced by OpenDDS::DCPS::DomainParticipantImpl::id_to_handle().

TypeSupport_ptr OpenDDS::DCPS::@26::findTypeSupport ( DomainParticipantImpl *  participant,
const char *  type_name 
) [static]

Definition at line 25 of file MultiTopicImpl.cpp.

References OPENDDS_STRING, and Registered_Data_Types.

00027   {
00028     TypeSupport_var p = Registered_Data_Types->lookup(participant, type_name);
00029     if (!p) {
00030       throw std::runtime_error(OPENDDS_STRING("Data type: ") + type_name +
00031         " is not registered.");
00032     }
00033     return p;
00034   }

ACE_INLINE ACE_Time_Value OpenDDS::DCPS::time_to_time_value ( const DDS::Time_t t  ) 

Definition at line 647 of file Qos_Helper.inl.

References DDS::Time_t::nanosec, and DDS::Time_t::sec.

Referenced by OpenDDS::DCPS::DataReaderImpl::filter_sample(), OpenDDS::FaceTSS::populate_header_received(), and resend_data_expired().

00648 {
00649   ACE_Time_Value tv(t.sec, t.nanosec / 1000);
00650   return tv;
00651 }

ACE_INLINE DDS::Time_t OpenDDS::DCPS::time_value_to_time ( const ACE_Time_Value &  tv  ) 

Definition at line 654 of file Qos_Helper.inl.

References DDS::Time_t::nanosec, and DDS::Time_t::sec.

Referenced by OpenDDS::DCPS::DataWriterImpl::association_complete_i(), OpenDDS::DCPS::PublisherImpl::delete_datawriter(), OpenDDS::DCPS::DataWriterImpl_T< MessageType >::dispose(), OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), OpenDDS::DCPS::DomainParticipantImpl::get_current_time(), OpenDDS::FaceTSS::populate_header_received(), OpenDDS::DCPS::ReceivedDataElement::ReceivedDataElement(), OpenDDS::DCPS::DataWriterImpl_T< MessageType >::register_instance(), OpenDDS::DCPS::DataWriterImpl::send_liveliness(), OpenDDS::DCPS::DataWriterImpl::AckToken::timestamp(), OpenDDS::DCPS::DataWriterImpl_T< MessageType >::unregister_instance(), and OpenDDS::DCPS::DataWriterImpl_T< MessageType >::write().

00655 {
00656   DDS::Time_t t;
00657   t.sec = ACE_Utils::truncate_cast<CORBA::Long>(tv.sec());
00658   t.nanosec = tv.usec() * 1000;
00659   return t;
00660 }

ACE_INLINE ACE_Time_Value OpenDDS::DCPS::duration_to_time_value ( const DDS::Duration_t t  ) 

Definition at line 664 of file Qos_Helper.inl.

References DDS::Duration_t::nanosec, and DDS::Duration_t::sec.

Referenced by OpenDDS::DCPS::WriterInfo::active(), OpenDDS::DCPS::DataWriterImpl::enable(), OpenDDS::DCPS::DataReaderImpl::enable(), OpenDDS::DCPS::DataWriterImpl::handle_timeout(), OpenDDS::DCPS::DataDurabilityCache::insert(), OpenDDS::DCPS::DataReaderImpl::process_latency(), OpenDDS::DCPS::InstanceState::schedule_release(), OpenDDS::DCPS::DataWriterImpl::set_qos(), and OpenDDS::DCPS::DataReaderImpl::set_qos().

00665 {
00666   CORBA::LongLong sec = t.sec + t.nanosec/1000/ACE_ONE_SECOND_IN_USECS;
00667   CORBA::ULong usec = t.nanosec/1000 % ACE_ONE_SECOND_IN_USECS;
00668 
00669   if (sec > ACE_Time_Value::max_time.sec()) {
00670     return ACE_Time_Value::max_time;
00671   }
00672   else {
00673     return ACE_Time_Value(ACE_Utils::truncate_cast<time_t>(sec), usec);
00674   }
00675 }

ACE_INLINE ACE_Time_Value OpenDDS::DCPS::duration_to_absolute_time_value ( const DDS::Duration_t t,
const ACE_Time_Value &  now = ACE_OS::gettimeofday() 
)

Definition at line 679 of file Qos_Helper.inl.

References DDS::Duration_t::nanosec, and DDS::Duration_t::sec.

Referenced by OpenDDS::DCPS::DataWriterImpl::AckToken::deadline(), OpenDDS::DCPS::WriteDataContainer::obtain_buffer(), and DDS::WaitSet::wait().

00681 {
00682   CORBA::LongLong sec
00683     = t.sec + now.sec() + (t.nanosec/1000 + now.usec())/ACE_ONE_SECOND_IN_USECS;
00684   CORBA::ULong usec = (t.nanosec/1000 + now.usec()) % ACE_ONE_SECOND_IN_USECS;
00685 
00686   if (sec > ACE_Time_Value::max_time.sec()) {
00687     return ACE_Time_Value::max_time;
00688   }
00689   else {
00690     return ACE_Time_Value(ACE_Utils::truncate_cast<time_t>(sec), usec);
00691   }
00692 }

ACE_INLINE DDS::Duration_t OpenDDS::DCPS::time_value_to_duration ( const ACE_Time_Value &  tv  ) 

Definition at line 696 of file Qos_Helper.inl.

References DDS::Duration_t::nanosec, and DDS::Duration_t::sec.

Referenced by OpenDDS::DCPS::DataReaderImpl::filter_instance(), and OpenDDS::DCPS::DataReaderImpl::process_latency().

00697 {
00698   DDS::Duration_t t;
00699   t.sec = ACE_Utils::truncate_cast<CORBA::Long>(tv.sec());
00700   t.nanosec = tv.usec() * 1000;
00701   return t;
00702 }

ACE_INLINE DDS::Duration_t OpenDDS::DCPS::time_to_duration ( const DDS::Time_t t  ) 

Definition at line 705 of file Qos_Helper.inl.

References DDS::Time_t::nanosec, and DDS::Time_t::sec.

00706 {
00707   DDS::Duration_t d = { t.sec, t.nanosec };
00708   return d;
00709 }

ACE_INLINE CORBA::Long OpenDDS::DCPS::get_instance_sample_list_depth ( DDS::HistoryQosPolicyKind  history,
long  history_depth,
long  max_samples_per_instance 
)

Definition at line 713 of file Qos_Helper.inl.

References DDS::KEEP_ALL_HISTORY_QOS, and DDS::LENGTH_UNLIMITED.

Referenced by OpenDDS::DCPS::DataWriterImpl::enable(), and OpenDDS::DCPS::DataDurabilityCache::insert().

00717 {
00718   CORBA::Long depth = 0;
00719 
00720   if (history_kind == DDS::KEEP_ALL_HISTORY_QOS) {
00721     // The spec says history_depth is "has no effect"
00722     // when history_kind = KEEP_ALL so use
00723     // max_samples_per_instance.
00724     depth = max_samples_per_instance;
00725 
00726   } else { // history.kind == DDS::KEEP_LAST_HISTORY_QOS
00727     depth = history_depth;
00728   }
00729 
00730   if (depth == DDS::LENGTH_UNLIMITED) {
00731     // DDS::LENGTH_UNLIMITED is negative so make it a positive
00732     // value that is for all intents and purposes unlimited and we
00733     // can use it for comparisons.  Use 2147483647L because that
00734     // is the greatest value a signed CORBA::Long (a signed 32 bit
00735     // integer) can have.
00736     // WARNING: The client risks running out of memory in this case.
00737     depth = 0x7fffffff; // ACE_Numeric_Limits<CORBA::Long>::max ();
00738   }
00739 
00740   return depth;
00741 }

ACE_INLINE bool OpenDDS::DCPS::valid_duration ( DDS::Duration_t const &  t  ) 

Validate DDS::Duration_t value (infinite or positive and non-zero).

Definition at line 744 of file Qos_Helper.inl.

References DDS::DURATION_INFINITE_NSEC, DDS::DURATION_INFINITE_SEC, DDS::Duration_t::nanosec, and DDS::Duration_t::sec.

Referenced by non_negative_duration(), and OpenDDS::DCPS::Qos_Helper::valid().

00745 {
00746   DDS::Duration_t const DDS_DURATION_INFINITY = {
00747     DDS::DURATION_INFINITE_SEC,
00748     DDS::DURATION_INFINITE_NSEC
00749   };
00750 
00751   // Only accept infinite or positive finite durations.  (Zero
00752   // excluded).
00753   //
00754   // Note that it doesn't make much sense for users to set
00755   // durations less than 10 milliseconds since the underlying
00756   // timer resolution is generally no better than that.
00757   return
00758     t == DDS_DURATION_INFINITY
00759     || t.sec > 0
00760     || (t.sec >= 0 && t.nanosec > 0);
00761 }

ACE_INLINE bool OpenDDS::DCPS::non_negative_duration ( const DDS::Duration_t t  ) 

Check if given duration is either infinite or greater than or equal to zero.

Definition at line 764 of file Qos_Helper.inl.

References DDS::DURATION_ZERO_NSEC, DDS::DURATION_ZERO_SEC, DDS::Duration_t::nanosec, DDS::Duration_t::sec, and valid_duration().

Referenced by OpenDDS::DCPS::Qos_Helper::valid(), and DDS::WaitSet::wait().

00765 {
00766   return
00767     (t.sec == DDS::DURATION_ZERO_SEC  // Allow zero duration.
00768      && t.nanosec == DDS::DURATION_ZERO_NSEC)
00769     || valid_duration(t);
00770 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::Duration_t t1,
const DDS::Duration_t t2 
)

Definition at line 26 of file Qos_Helper.inl.

References DDS::Duration_t::nanosec, and DDS::Duration_t::sec.

00027 {
00028   return t1.sec == t2.sec && t1.nanosec == t2.nanosec;
00029 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::Duration_t t1,
const DDS::Duration_t t2 
)

Definition at line 32 of file Qos_Helper.inl.

00033 {
00034   return !(t1 == t2);
00035 }

ACE_INLINE bool OpenDDS::DCPS::operator< ( const DDS::Duration_t t1,
const DDS::Duration_t t2 
)

Definition at line 39 of file Qos_Helper.inl.

References DDS::DURATION_INFINITE_NSEC, DDS::DURATION_INFINITE_SEC, DDS::Duration_t::nanosec, and DDS::Duration_t::sec.

00040 {
00041   // @note We wouldn't have to handle the case for INFINITY explicitly
00042   //       if both the Duration_t sec and nanosec fields were the
00043   //       maximum values for their corresponding types.
00044   //       Unfortunately, the OMG DDS specification defines the
00045   //       infinite nanosec value to be somewhere in the middle.
00046   DDS::Duration_t const DDS_DURATION_INFINITY = {
00047     DDS::DURATION_INFINITE_SEC,
00048     DDS::DURATION_INFINITE_NSEC
00049   };
00050 
00051   // We assume that either both the DDS::Duration_t::sec and
00052   // DDS::Duration_t::nanosec fields are INFINITY or neither of them
00053   // are.  It doesn't make sense for only one of the fields to be
00054   // INFINITY.
00055   return
00056     t1 != DDS_DURATION_INFINITY
00057     && (t2 == DDS_DURATION_INFINITY
00058         || t1.sec < t2.sec
00059         || (t1.sec == t2.sec && t1.nanosec < t2.nanosec));
00060 }

ACE_INLINE bool OpenDDS::DCPS::operator<= ( const DDS::Duration_t t1,
const DDS::Duration_t t2 
)

Definition at line 63 of file Qos_Helper.inl.

00064 {
00065   // If t2 is *not* less than t1, t1 must be less than
00066   // or equal to t2.
00067   // This is more concise than:
00068   //   t1 < t2 || t1 == t2
00069   return !(t2 < t1);
00070 }

ACE_INLINE bool OpenDDS::DCPS::operator> ( const DDS::Duration_t t1,
const DDS::Duration_t t2 
)

Definition at line 73 of file Qos_Helper.inl.

00074 {
00075   return t2 < t1;
00076 }

ACE_INLINE bool OpenDDS::DCPS::operator>= ( const DDS::Duration_t t1,
const DDS::Duration_t t2 
)

Definition at line 79 of file Qos_Helper.inl.

00080 {
00081   return t2 <= t1;
00082 }

ACE_INLINE bool OpenDDS::DCPS::operator! ( const DDS::Time_t t  ) 

Definition at line 85 of file Qos_Helper.inl.

References DDS::Time_t::nanosec, DDS::Time_t::sec, DDS::TIME_INVALID_NSEC, and DDS::TIME_INVALID_SEC.

00086 {
00087   return t.sec == DDS::TIME_INVALID_SEC
00088          || t.nanosec == DDS::TIME_INVALID_NSEC;
00089 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::Time_t t1,
const DDS::Time_t t2 
)

Definition at line 93 of file Qos_Helper.inl.

00094 {
00095   return !(t1 < t2) && !(t2 < t1);
00096 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::Time_t t1,
const DDS::Time_t t2 
)

Definition at line 99 of file Qos_Helper.inl.

00100 {
00101   return !(t1 == t2);
00102 }

ACE_INLINE bool OpenDDS::DCPS::operator< ( const DDS::Time_t t1,
const DDS::Time_t t2 
)

Definition at line 106 of file Qos_Helper.inl.

References DDS::Time_t::nanosec, and DDS::Time_t::sec.

00107 {
00108   if (!t1 || !t2) return false;
00109 
00110   return t1.sec < t2.sec
00111          || (t1.sec == t2.sec && t1.nanosec < t2.nanosec);
00112 }

ACE_INLINE bool OpenDDS::DCPS::operator<= ( const DDS::Time_t t1,
const DDS::Time_t t2 
)

Definition at line 115 of file Qos_Helper.inl.

00116 {
00117   return !(t2 < t1);
00118 }

ACE_INLINE bool OpenDDS::DCPS::operator> ( const DDS::Time_t t1,
const DDS::Time_t t2 
)

Definition at line 121 of file Qos_Helper.inl.

00122 {
00123   return t2 < t1;
00124 }

ACE_INLINE bool OpenDDS::DCPS::operator>= ( const DDS::Time_t t1,
const DDS::Time_t t2 
)

Definition at line 127 of file Qos_Helper.inl.

00128 {
00129   return t2 <= t1;
00130 }

ACE_INLINE DDS::Time_t OpenDDS::DCPS::operator- ( const DDS::Time_t t1,
const DDS::Time_t t2 
)

Definition at line 133 of file Qos_Helper.inl.

References DDS::Time_t::nanosec, NSECS_IN_SEC, and DDS::Time_t::sec.

00134 {
00135   DDS::Time_t t = { t1.sec - t2.sec, t1.nanosec - t2.nanosec };
00136 
00137   if (t2.nanosec > t1.nanosec)
00138     {
00139       t.nanosec = (t1.nanosec + NSECS_IN_SEC) - t2.nanosec;
00140       t.sec = (t1.sec - 1) - t2.sec;
00141     }
00142 
00143   return t;
00144 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::UserDataQosPolicy qos1,
const DDS::UserDataQosPolicy qos2 
)

Definition at line 148 of file Qos_Helper.inl.

References DDS::UserDataQosPolicy::value.

00150 {
00151   return qos1.value == qos2.value;
00152 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::TopicDataQosPolicy qos1,
const DDS::TopicDataQosPolicy qos2 
)

Definition at line 155 of file Qos_Helper.inl.

References DDS::TopicDataQosPolicy::value.

00157 {
00158   return qos1.value == qos2.value;
00159 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::GroupDataQosPolicy qos1,
const DDS::GroupDataQosPolicy qos2 
)

Definition at line 162 of file Qos_Helper.inl.

References DDS::GroupDataQosPolicy::value.

00164 {
00165   return qos1.value == qos2.value;
00166 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::TransportPriorityQosPolicy qos1,
const DDS::TransportPriorityQosPolicy qos2 
)

Definition at line 169 of file Qos_Helper.inl.

References DDS::TransportPriorityQosPolicy::value.

00171 {
00172   return qos1.value == qos2.value;
00173 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::LifespanQosPolicy qos1,
const DDS::LifespanQosPolicy qos2 
)

Definition at line 176 of file Qos_Helper.inl.

References DDS::LifespanQosPolicy::duration.

00178 {
00179   return qos1.duration == qos2.duration;
00180 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DurabilityQosPolicy qos1,
const DDS::DurabilityQosPolicy qos2 
)

Definition at line 184 of file Qos_Helper.inl.

References DDS::DurabilityQosPolicy::kind.

00186 {
00187   return qos1.kind == qos2.kind;
00188 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DurabilityServiceQosPolicy qos1,
const DDS::DurabilityServiceQosPolicy qos2 
)

Definition at line 192 of file Qos_Helper.inl.

References DDS::DurabilityServiceQosPolicy::history_depth, DDS::DurabilityServiceQosPolicy::history_kind, DDS::DurabilityServiceQosPolicy::max_instances, DDS::DurabilityServiceQosPolicy::max_samples, DDS::DurabilityServiceQosPolicy::max_samples_per_instance, and DDS::DurabilityServiceQosPolicy::service_cleanup_delay.

00194 {
00195   return
00196     qos1.service_cleanup_delay == qos2.service_cleanup_delay
00197     && qos1.history_kind == qos2.history_kind
00198     && qos1.history_depth == qos2.history_depth
00199     && qos1.max_samples == qos2.max_samples
00200     && qos1.max_instances == qos2.max_instances
00201     && qos1.max_samples_per_instance == qos2.max_samples_per_instance;
00202 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::PresentationQosPolicy qos1,
const DDS::PresentationQosPolicy qos2 
)

Definition at line 205 of file Qos_Helper.inl.

References DDS::PresentationQosPolicy::access_scope, DDS::PresentationQosPolicy::coherent_access, and DDS::PresentationQosPolicy::ordered_access.

00207 {
00208   return
00209     qos1.access_scope == qos2.access_scope
00210     && qos1.coherent_access == qos2.coherent_access
00211     && qos1.ordered_access == qos2.ordered_access;
00212 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DeadlineQosPolicy qos1,
const DDS::DeadlineQosPolicy qos2 
)

Definition at line 215 of file Qos_Helper.inl.

References DDS::DeadlineQosPolicy::period.

00217 {
00218   return qos1.period == qos2.period;
00219 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::LatencyBudgetQosPolicy qos1,
const DDS::LatencyBudgetQosPolicy qos2 
)

Definition at line 222 of file Qos_Helper.inl.

References DDS::LatencyBudgetQosPolicy::duration.

00224 {
00225   return qos1.duration == qos2.duration;
00226 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::OwnershipQosPolicy qos1,
const DDS::OwnershipQosPolicy qos2 
)

Definition at line 229 of file Qos_Helper.inl.

References DDS::OwnershipQosPolicy::kind.

00231 {
00232   return qos1.kind == qos2.kind;
00233 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::OwnershipStrengthQosPolicy qos1,
const DDS::OwnershipStrengthQosPolicy qos2 
)

Definition at line 236 of file Qos_Helper.inl.

References DDS::OwnershipStrengthQosPolicy::value.

00238 {
00239   return qos1.value == qos2.value;
00240 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::LivelinessQosPolicy qos1,
const DDS::LivelinessQosPolicy qos2 
)

Definition at line 243 of file Qos_Helper.inl.

References DDS::LivelinessQosPolicy::kind, and DDS::LivelinessQosPolicy::lease_duration.

00245 {
00246   return
00247     qos1.kind == qos2.kind
00248     && qos1.lease_duration == qos2.lease_duration;
00249 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::TimeBasedFilterQosPolicy qos1,
const DDS::TimeBasedFilterQosPolicy qos2 
)

Definition at line 252 of file Qos_Helper.inl.

References DDS::TimeBasedFilterQosPolicy::minimum_separation.

00254 {
00255   return qos1.minimum_separation == qos2.minimum_separation;
00256 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::PartitionQosPolicy qos1,
const DDS::PartitionQosPolicy qos2 
)

Definition at line 259 of file Qos_Helper.inl.

References DDS::PartitionQosPolicy::name.

00261 {
00262   CORBA::ULong const len = qos1.name.length();
00263 
00264   if (len == qos2.name.length()) {
00265     for (CORBA::ULong i = 0; i < len; ++i) {
00266       if (0 != ACE_OS::strcmp(qos1.name[i], qos2.name[i])) {
00267         return false;
00268       }
00269     }
00270 
00271     return true;
00272   }
00273 
00274   return false;
00275 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::ReliabilityQosPolicy qos1,
const DDS::ReliabilityQosPolicy qos2 
)

Definition at line 278 of file Qos_Helper.inl.

References DDS::ReliabilityQosPolicy::kind, and DDS::ReliabilityQosPolicy::max_blocking_time.

00280 {
00281   return
00282     qos1.kind == qos2.kind
00283     && qos1.max_blocking_time == qos2.max_blocking_time;
00284 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DestinationOrderQosPolicy qos1,
const DDS::DestinationOrderQosPolicy qos2 
)

Definition at line 287 of file Qos_Helper.inl.

References DDS::DestinationOrderQosPolicy::kind.

00289 {
00290   return qos1.kind == qos2.kind;
00291 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::HistoryQosPolicy qos1,
const DDS::HistoryQosPolicy qos2 
)

Definition at line 294 of file Qos_Helper.inl.

References DDS::HistoryQosPolicy::depth, and DDS::HistoryQosPolicy::kind.

00296 {
00297   return
00298     qos1.kind == qos2.kind
00299     && qos1.depth == qos2.depth;
00300 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::ResourceLimitsQosPolicy qos1,
const DDS::ResourceLimitsQosPolicy qos2 
)

Definition at line 303 of file Qos_Helper.inl.

References DDS::ResourceLimitsQosPolicy::max_instances, DDS::ResourceLimitsQosPolicy::max_samples, and DDS::ResourceLimitsQosPolicy::max_samples_per_instance.

00305 {
00306   return
00307     qos1.max_samples == qos2.max_samples
00308     && qos1.max_instances == qos2.max_instances
00309     && qos1.max_samples_per_instance == qos2.max_samples_per_instance;
00310 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::EntityFactoryQosPolicy qos1,
const DDS::EntityFactoryQosPolicy qos2 
)

Definition at line 313 of file Qos_Helper.inl.

References DDS::EntityFactoryQosPolicy::autoenable_created_entities.

00315 {
00316   return
00317     qos1.autoenable_created_entities == qos2.autoenable_created_entities;
00318 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::WriterDataLifecycleQosPolicy qos1,
const DDS::WriterDataLifecycleQosPolicy qos2 
)

Definition at line 321 of file Qos_Helper.inl.

References DDS::WriterDataLifecycleQosPolicy::autodispose_unregistered_instances.

00323 {
00324   return
00325     qos1.autodispose_unregistered_instances == qos2.autodispose_unregistered_instances;
00326 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::ReaderDataLifecycleQosPolicy qos1,
const DDS::ReaderDataLifecycleQosPolicy qos2 
)

Definition at line 329 of file Qos_Helper.inl.

References DDS::ReaderDataLifecycleQosPolicy::autopurge_disposed_samples_delay, and DDS::ReaderDataLifecycleQosPolicy::autopurge_nowriter_samples_delay.

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DomainParticipantQos qos1,
const DDS::DomainParticipantQos qos2 
)

Definition at line 339 of file Qos_Helper.inl.

References DDS::DomainParticipantQos::entity_factory, and DDS::DomainParticipantQos::user_data.

00341 {
00342   return
00343     qos1.user_data == qos2.user_data
00344     && qos1.entity_factory == qos2.entity_factory;
00345 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::TopicQos qos1,
const DDS::TopicQos qos2 
)

Definition at line 348 of file Qos_Helper.inl.

References DDS::TopicQos::deadline, DDS::TopicQos::destination_order, DDS::TopicQos::durability, DDS::TopicQos::durability_service, DDS::TopicQos::history, DDS::TopicQos::latency_budget, DDS::TopicQos::lifespan, DDS::TopicQos::liveliness, DDS::TopicQos::ownership, DDS::TopicQos::reliability, DDS::TopicQos::resource_limits, DDS::TopicQos::topic_data, and DDS::TopicQos::transport_priority.

00350 {
00351   return
00352     qos1.topic_data == qos2.topic_data
00353     && qos1.durability == qos2.durability
00354     && qos1.durability_service == qos2.durability_service
00355     && qos1.deadline == qos2.deadline
00356     && qos1.latency_budget == qos2.latency_budget
00357     && qos1.liveliness == qos2.liveliness
00358     && qos1.reliability == qos2.reliability
00359     && qos1.destination_order == qos2.destination_order
00360     && qos1.history == qos2.history
00361     && qos1.resource_limits == qos2.resource_limits
00362     && qos1.transport_priority == qos2.transport_priority
00363     && qos1.lifespan == qos2.lifespan
00364     && qos1.ownership == qos2.ownership;
00365 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DataWriterQos qos1,
const DDS::DataWriterQos qos2 
)

Definition at line 368 of file Qos_Helper.inl.

References DDS::DataWriterQos::deadline, DDS::DataWriterQos::destination_order, DDS::DataWriterQos::durability, DDS::DataWriterQos::durability_service, DDS::DataWriterQos::history, DDS::DataWriterQos::latency_budget, DDS::DataWriterQos::lifespan, DDS::DataWriterQos::liveliness, DDS::DataWriterQos::ownership, DDS::DataWriterQos::ownership_strength, DDS::DataWriterQos::reliability, DDS::DataWriterQos::resource_limits, DDS::DataWriterQos::transport_priority, DDS::DataWriterQos::user_data, and DDS::DataWriterQos::writer_data_lifecycle.

00370 {
00371   return
00372     qos1.durability == qos2.durability
00373     && qos1.durability_service == qos2.durability_service
00374     && qos1.deadline == qos2.deadline
00375     && qos1.latency_budget == qos2.latency_budget
00376     && qos1.liveliness == qos2.liveliness
00377     && qos1.reliability == qos2.reliability
00378     && qos1.destination_order == qos2.destination_order
00379     && qos1.history == qos2.history
00380     && qos1.resource_limits == qos2.resource_limits
00381     && qos1.transport_priority == qos2.transport_priority
00382     && qos1.lifespan == qos2.lifespan
00383     && qos1.user_data == qos2.user_data
00384     && qos1.ownership == qos2.ownership
00385 #ifndef OPENDDS_NO_OWNERSHIP_KIND_EXCLUSIVE
00386     && qos1.ownership_strength == qos2.ownership_strength
00387 #endif
00388     && qos1.writer_data_lifecycle == qos2.writer_data_lifecycle;
00389 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::PublisherQos qos1,
const DDS::PublisherQos qos2 
)

Definition at line 392 of file Qos_Helper.inl.

References DDS::PublisherQos::entity_factory, DDS::PublisherQos::group_data, DDS::PublisherQos::partition, and DDS::PublisherQos::presentation.

00394 {
00395   return
00396     qos1.presentation == qos2.presentation
00397     && qos1.partition == qos2.partition
00398     && qos1.group_data == qos2.group_data
00399     && qos1.entity_factory == qos2.entity_factory;
00400 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DataReaderQos qos1,
const DDS::DataReaderQos qos2 
)

Definition at line 403 of file Qos_Helper.inl.

References DDS::DataReaderQos::deadline, DDS::DataReaderQos::destination_order, DDS::DataReaderQos::durability, DDS::DataReaderQos::history, DDS::DataReaderQos::latency_budget, DDS::DataReaderQos::liveliness, DDS::DataReaderQos::reader_data_lifecycle, DDS::DataReaderQos::reliability, DDS::DataReaderQos::resource_limits, DDS::DataReaderQos::time_based_filter, and DDS::DataReaderQos::user_data.

00405 {
00406   return
00407     qos1.durability == qos2.durability
00408     && qos1.deadline == qos2.deadline
00409     && qos1.latency_budget == qos2.latency_budget
00410     && qos1.liveliness == qos2.liveliness
00411     && qos1.reliability == qos2.reliability
00412     && qos1.destination_order == qos2.destination_order
00413     && qos1.history == qos2.history
00414     && qos1.resource_limits == qos2.resource_limits
00415     && qos1.user_data == qos2.user_data
00416     && qos1.time_based_filter == qos2.time_based_filter
00417     && qos1.reader_data_lifecycle == qos2.reader_data_lifecycle;
00418 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::SubscriberQos qos1,
const DDS::SubscriberQos qos2 
)

Definition at line 421 of file Qos_Helper.inl.

References DDS::SubscriberQos::entity_factory, DDS::SubscriberQos::group_data, DDS::SubscriberQos::partition, and DDS::SubscriberQos::presentation.

00423 {
00424   return
00425     qos1.presentation == qos2.presentation
00426     && qos1.partition == qos2.partition
00427     && qos1.group_data == qos2.group_data
00428     && qos1.entity_factory == qos2.entity_factory;
00429 }

ACE_INLINE bool OpenDDS::DCPS::operator== ( const DDS::DomainParticipantFactoryQos qos1,
const DDS::DomainParticipantFactoryQos qos2 
)

Definition at line 432 of file Qos_Helper.inl.

References DDS::DomainParticipantFactoryQos::entity_factory.

00434 {
00435   return qos1.entity_factory == qos2.entity_factory;
00436 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::UserDataQosPolicy qos1,
const DDS::UserDataQosPolicy qos2 
)

Definition at line 439 of file Qos_Helper.inl.

00441 {
00442   return !(qos1 == qos2);
00443 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::TopicDataQosPolicy qos1,
const DDS::TopicDataQosPolicy qos2 
)

Definition at line 446 of file Qos_Helper.inl.

00448 {
00449   return !(qos1 == qos2);
00450 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::GroupDataQosPolicy qos1,
const DDS::GroupDataQosPolicy qos2 
)

Definition at line 453 of file Qos_Helper.inl.

00455 {
00456   return !(qos1 == qos2);
00457 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::TransportPriorityQosPolicy qos1,
const DDS::TransportPriorityQosPolicy qos2 
)

Definition at line 460 of file Qos_Helper.inl.

00462 {
00463   return !(qos1 == qos2);
00464 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::LifespanQosPolicy qos1,
const DDS::LifespanQosPolicy qos2 
)

Definition at line 467 of file Qos_Helper.inl.

00469 {
00470   return !(qos1 == qos2);
00471 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DurabilityQosPolicy qos1,
const DDS::DurabilityQosPolicy qos2 
)

Definition at line 475 of file Qos_Helper.inl.

00477 {
00478   return !(qos1 == qos2);
00479 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DurabilityServiceQosPolicy qos1,
const DDS::DurabilityServiceQosPolicy qos2 
)

Definition at line 483 of file Qos_Helper.inl.

00485 {
00486   return !(qos1 == qos2);
00487 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::PresentationQosPolicy qos1,
const DDS::PresentationQosPolicy qos2 
)

Definition at line 490 of file Qos_Helper.inl.

00492 {
00493   return !(qos1 == qos2);
00494 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DeadlineQosPolicy qos1,
const DDS::DeadlineQosPolicy qos2 
)

Definition at line 497 of file Qos_Helper.inl.

00499 {
00500   return !(qos1 == qos2);
00501 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::LatencyBudgetQosPolicy qos1,
const DDS::LatencyBudgetQosPolicy qos2 
)

Definition at line 504 of file Qos_Helper.inl.

00506 {
00507   return !(qos1 == qos2);
00508 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::OwnershipQosPolicy qos1,
const DDS::OwnershipQosPolicy qos2 
)

Definition at line 511 of file Qos_Helper.inl.

00513 {
00514   return !(qos1 == qos2);
00515 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::OwnershipStrengthQosPolicy qos1,
const DDS::OwnershipStrengthQosPolicy qos2 
)

Definition at line 518 of file Qos_Helper.inl.

00520 {
00521   return !(qos1 == qos2);
00522 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::LivelinessQosPolicy qos1,
const DDS::LivelinessQosPolicy qos2 
)

Definition at line 525 of file Qos_Helper.inl.

00527 {
00528   return !(qos1 == qos2);
00529 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::TimeBasedFilterQosPolicy qos1,
const DDS::TimeBasedFilterQosPolicy qos2 
)

Definition at line 532 of file Qos_Helper.inl.

00534 {
00535   return !(qos1 == qos2);
00536 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::PartitionQosPolicy qos1,
const DDS::PartitionQosPolicy qos2 
)

Definition at line 539 of file Qos_Helper.inl.

00541 {
00542   return !(qos1 == qos2);
00543 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::ReliabilityQosPolicy qos1,
const DDS::ReliabilityQosPolicy qos2 
)

Definition at line 546 of file Qos_Helper.inl.

00548 {
00549   return !(qos1 == qos2);
00550 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DestinationOrderQosPolicy qos1,
const DDS::DestinationOrderQosPolicy qos2 
)

Definition at line 553 of file Qos_Helper.inl.

00555 {
00556   return !(qos1 == qos2);
00557 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::HistoryQosPolicy qos1,
const DDS::HistoryQosPolicy qos2 
)

Definition at line 560 of file Qos_Helper.inl.

00562 {
00563   return !(qos1 == qos2);
00564 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::ResourceLimitsQosPolicy qos1,
const DDS::ResourceLimitsQosPolicy qos2 
)

Definition at line 567 of file Qos_Helper.inl.

00569 {
00570   return !(qos1 == qos2);
00571 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::EntityFactoryQosPolicy qos1,
const DDS::EntityFactoryQosPolicy qos2 
)

Definition at line 574 of file Qos_Helper.inl.

00576 {
00577   return !(qos1 == qos2);
00578 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::WriterDataLifecycleQosPolicy qos1,
const DDS::WriterDataLifecycleQosPolicy qos2 
)

Definition at line 581 of file Qos_Helper.inl.

00583 {
00584   return !(qos1 == qos2);
00585 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::ReaderDataLifecycleQosPolicy qos1,
const DDS::ReaderDataLifecycleQosPolicy qos2 
)

Definition at line 588 of file Qos_Helper.inl.

00590 {
00591   return !(qos1 == qos2);
00592 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DomainParticipantQos qos1,
const DDS::DomainParticipantQos qos2 
)

Definition at line 595 of file Qos_Helper.inl.

00597 {
00598   return !(qos1 == qos2);
00599 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::TopicQos qos1,
const DDS::TopicQos qos2 
)

Definition at line 602 of file Qos_Helper.inl.

00604 {
00605   return !(qos1 == qos2);
00606 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DataWriterQos qos1,
const DDS::DataWriterQos qos2 
)

Definition at line 609 of file Qos_Helper.inl.

00611 {
00612   return !(qos1 == qos2);
00613 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::PublisherQos qos1,
const DDS::PublisherQos qos2 
)

Definition at line 616 of file Qos_Helper.inl.

00618 {
00619   return !(qos1 == qos2);
00620 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DataReaderQos qos1,
const DDS::DataReaderQos qos2 
)

Definition at line 623 of file Qos_Helper.inl.

00625 {
00626   return !(qos1 == qos2);
00627 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::SubscriberQos qos1,
const DDS::SubscriberQos qos2 
)

Definition at line 630 of file Qos_Helper.inl.

00632 {
00633   return !(qos1 == qos2);
00634 }

ACE_INLINE bool OpenDDS::DCPS::operator!= ( const DDS::DomainParticipantFactoryQos qos1,
const DDS::DomainParticipantFactoryQos qos2 
)

Definition at line 637 of file Qos_Helper.inl.

00639 {
00640   return !(qos1 == qos2);
00641 }

template<typename T>
void OpenDDS::DCPS::swap ( RcHandle< T > &  lhs,
RcHandle< T > &  rhs 
)

Definition at line 135 of file RcHandle_T.h.

References OpenDDS::DCPS::RcHandle< T >::swap().

Referenced by OpenDDS::DCPS::DataSampleHeader::add_cfentries(), OpenDDS::DCPS::DataWriterImpl_T< MessageType >::dds_marshal(), get_fully_qualified_hostname(), get_interface_addrs(), OpenDDS::SafetyProfile::StringEltPolicy< CharT >::move_n(), OpenDDS::DCPS::ReceivedDataSample::operator=(), OpenDDS::DCPS::RawDataSample::operator=(), OpenDDS::DCPS::DataDurabilityCache::sample_data_type::operator=(), OpenDDS::DCPS::DataSampleHeader::partial(), OpenDDS::DCPS::TransportReassembly::reassemble_i(), TAO::DCPS::ZeroCopyDataSeq< Sample_T, DEF_MAX >::swap(), TAO::DCPS::ZeroCopyDataSeq< Sample_T, DEF_MAX >::ZeroCopyVector::swap(), OpenDDS::SafetyProfile::Sequence< T, Bounds, Elts >::swap(), OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Unbounded >::swap(), swap(), OpenDDS::DCPS::Value::swap(), OpenDDS::DCPS::DurabilityQueue< T >::swap(), and OpenDDS::DCPS::DurabilityArray< T >::swap().

00136 {
00137   lhs.swap(rhs);
00138 }

template<typename T, typename U>
RcHandle<T> OpenDDS::DCPS::static_rchandle_cast ( const RcHandle< U > &  h  ) 

Definition at line 141 of file RcHandle_T.h.

References OpenDDS::DCPS::RcHandle< T >::in().

00142 {
00143   return RcHandle<T>(static_cast<T*>(h.in()), false);
00144 }

template<typename T, typename U>
RcHandle<T> OpenDDS::DCPS::const_rchandle_cast ( const RcHandle< U > &  h  ) 

Definition at line 147 of file RcHandle_T.h.

References OpenDDS::DCPS::RcHandle< T >::in().

00148 {
00149   return RcHandle<T>(const_cast<T*>(h.in()), false);
00150 }

template<typename T, typename U>
RcHandle<T> OpenDDS::DCPS::dynamic_rchandle_cast ( const RcHandle< U > &  h  ) 

Definition at line 153 of file RcHandle_T.h.

References OpenDDS::DCPS::RcHandle< T >::in().

00154 {
00155   return RcHandle<T>(dynamic_cast<T*>(h.in()), false);
00156 }

typedef OpenDDS::DCPS::OPENDDS_MAP ( OPENDDS_STRING  ,
TypeSupport_var   
)

typedef OpenDDS::DCPS::OPENDDS_MAP ( DDS::DomainParticipant_ptr  ,
TypeSupportMap   
)

typedef OpenDDS::DCPS::OPENDDS_VECTOR ( RawDataSample   ) 

Referenced by OpenDDS::DCPS::ReceiveListenerSet::data_received(), OpenDDS::DCPS::ReliableSession::deliver_held_data(), OpenDDS::DCPS::DataDurabilityCache::init(), OpenDDS::DCPS::DataDurabilityCache::insert(), OpenDDS::DCPS::TransportRegistry::load_transport_configuration(), OpenDDS::DCPS::RtpsUdpInst::populate_locator(), OpenDDS::DCPS::Service_Participant::remap_domains(), OpenDDS::DCPS::SingleSendBuffer::resend_fragments_i(), OpenDDS::DCPS::SendStateDataSampleList::send_list_containing_element(), and OpenDDS::DCPS::Service_Participant::set_repo_domain().

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( ::CORBA::UShort  to_convert  ) 

Definition at line 15 of file SafetyProfileStreams.cpp.

References OPENDDS_STRING.

Referenced by OpenDDS::DCPS::MultiTopicDataReaderBase::data_available(), OpenDDS::DCPS::TransportInst::dump_to_str(), OpenDDS::DCPS::RtpsUdpInst::dump_to_str(), OpenDDS::DCPS::WriterInfo::get_state_str(), OpenDDS::DCPS::DataDurabilityCache::insert(), OpenDDS::DCPS::UdpInst::local_address(), OpenDDS::DCPS::TcpInst::local_address(), OpenDDS::DCPS::RtpsUdpInst::local_address(), OpenDDS::DCPS::UdpInst::local_address_set_port(), OpenDDS::DCPS::TcpInst::local_address_set_port(), OpenDDS::DCPS::RtpsUdpInst::local_address_set_port(), OpenDDS::DCPS::DataReaderImpl::notify_liveliness_change(), OpenDDS::DCPS::GuidConverter::operator OPENDDS_STRING(), OpenDDS::DCPS::RtpsSampleHeader::process_iqos(), and to_string().

00016 {
00017   const char* fmt = "%hu";
00018   const int buff_size = 5 + 1; // note +1 for null terminator
00019   char buf[buff_size];
00020   ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00021   return OPENDDS_STRING(buf);
00022 }

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( int  to_convert  ) 

Definition at line 25 of file SafetyProfileStreams.cpp.

References OPENDDS_STRING.

00026 {
00027   const char* fmt = "%d";
00028   const int buff_size = 20 + 1; // note +1 for null terminator
00029   char buf[buff_size];
00030   ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00031   return OPENDDS_STRING(buf);
00032 }

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( unsigned int  to_convert,
bool  as_hex = false 
)

Definition at line 35 of file SafetyProfileStreams.cpp.

References OPENDDS_STRING.

00036 {
00037   const char* fmt;
00038   if (as_hex) {
00039     fmt = "%02x";
00040     const int buff_size = 3; // note +1 for null terminator
00041     char buf[buff_size];
00042     ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00043     return OPENDDS_STRING(buf);
00044   } else {
00045     fmt = "%u";
00046     const int buff_size = 20 + 1; // note +1 for null terminator
00047     char buf[buff_size];
00048     ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00049     return OPENDDS_STRING(buf);
00050   }
00051 }

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( long  to_convert  ) 

Definition at line 54 of file SafetyProfileStreams.cpp.

References OPENDDS_STRING.

00055 {
00056   const char* fmt = "%ld";
00057   const int buff_size = 20 + 1; // note +1 for null terminator
00058   char buf[buff_size];
00059   ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00060   return OPENDDS_STRING(buf);
00061 }

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( long long  to_convert  ) 

Definition at line 64 of file SafetyProfileStreams.cpp.

References OPENDDS_STRING.

00065 {
00066   const char* fmt = "%lld";
00067   const int buff_size = 20 + 1; // note +1 for null terminator
00068   char buf[buff_size];
00069   ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00070   return OPENDDS_STRING(buf);
00071 }

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( unsigned long long  to_convert,
bool  as_hex = false 
)

Definition at line 74 of file SafetyProfileStreams.cpp.

References OPENDDS_STRING.

00075 {
00076   const char* fmt;
00077   if (as_hex) {
00078     fmt = "%0llx";
00079   } else {
00080     fmt = "%llu";
00081   }
00082   const int buff_size = 20 + 1; // note +1 for null terminator
00083   char buf[buff_size];
00084   ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00085   return OPENDDS_STRING(buf);
00086 }

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( unsigned long  to_convert,
bool  as_hex = false 
)

Definition at line 89 of file SafetyProfileStreams.cpp.

References OPENDDS_STRING.

00090 {
00091   const char* fmt;
00092   if (as_hex) {
00093     fmt = "%0lx";
00094   } else {
00095     fmt = "%lu";
00096   }
00097   const int buff_size = 20 + 1; // note +1 for null terminator
00098   char buf[buff_size];
00099   ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00100   return OPENDDS_STRING(buf);
00101 }

template<typename T>
OPENDDS_STRING OpenDDS::DCPS::to_dds_string ( const T *  to_convert  )  [inline]

Definition at line 30 of file SafetyProfileStreams.h.

References OPENDDS_STRING.

00031 {
00032   const char* fmt = "%p";
00033   const int buff_size = 20 + 1; // note +1 for null terminator
00034   char buf[buff_size];
00035   ACE_OS::snprintf(&buf[0], buff_size, fmt, to_convert);
00036   return OPENDDS_STRING(buf);
00037 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::Short &  x  ) 

Definition at line 934 of file Serializer.inl.

00935 {
00936   return sizeof(ACE_CDR::Short);
00937 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::UShort &  x  ) 

Definition at line 939 of file Serializer.inl.

00940 {
00941   return sizeof(ACE_CDR::UShort);
00942 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::Long &  x  ) 

Definition at line 944 of file Serializer.inl.

00945 {
00946   return sizeof(ACE_CDR::Long);
00947 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::ULong &  x  ) 

Definition at line 949 of file Serializer.inl.

00950 {
00951   return sizeof(ACE_CDR::ULong);
00952 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::LongLong &  x  ) 

Definition at line 954 of file Serializer.inl.

00955 {
00956   return sizeof(ACE_CDR::LongLong);
00957 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::ULongLong &  x  ) 

Definition at line 959 of file Serializer.inl.

00960 {
00961   return sizeof(ACE_CDR::ULongLong);
00962 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::LongDouble &  x  ) 

Definition at line 964 of file Serializer.inl.

00965 {
00966   return sizeof(ACE_CDR::LongDouble);
00967 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::Float &  x  ) 

Definition at line 969 of file Serializer.inl.

00970 {
00971   return sizeof(ACE_CDR::Float);
00972 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_CDR::Double &  x  ) 

Definition at line 974 of file Serializer.inl.

00975 {
00976   return sizeof(ACE_CDR::Double);
00977 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_OutputCDR::from_boolean  x  ) 

Definition at line 980 of file Serializer.inl.

00981 {
00982   return sizeof(ACE_CDR::Char);
00983 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_OutputCDR::from_char  x  ) 

Definition at line 985 of file Serializer.inl.

00986 {
00987   return sizeof(ACE_CDR::Char);
00988 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_OutputCDR::from_wchar  x  ) 

Definition at line 990 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::WCHAR_SIZE.

00991 {
00992   return Serializer::WCHAR_SIZE + 1; //CDR encoding adds 1 octet for length
00993 }

ACE_INLINE size_t OpenDDS::DCPS::gen_max_marshaled_size ( const ACE_OutputCDR::from_octet  x  ) 

Definition at line 995 of file Serializer.inl.

00996 {
00997   return sizeof(ACE_CDR::Char);
00998 }

ACE_INLINE size_t OpenDDS::DCPS::max_marshaled_size_boolean (  ) 

predefined type max_marshaled_size method explicit disambiguators.

Definition at line 1001 of file Serializer.inl.

01002 {
01003   return sizeof(ACE_CDR::Char);
01004 }

ACE_INLINE size_t OpenDDS::DCPS::max_marshaled_size_char (  ) 

Definition at line 1006 of file Serializer.inl.

01007 {
01008   return sizeof(ACE_CDR::Char);
01009 }

ACE_INLINE size_t OpenDDS::DCPS::max_marshaled_size_wchar (  ) 

Definition at line 1011 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::WCHAR_SIZE.

01012 {
01013   return Serializer::WCHAR_SIZE + 1; //CDR encoding adds 1 octet for length
01014 }

ACE_INLINE size_t OpenDDS::DCPS::max_marshaled_size_octet (  ) 

Definition at line 1016 of file Serializer.inl.

01017 {
01018   return sizeof(ACE_CDR::Char);
01019 }

ACE_INLINE size_t OpenDDS::DCPS::max_marshaled_size_ulong (  ) 

lengths of strings and sequences are ulong

Definition at line 1021 of file Serializer.inl.

01022 {
01023   return sizeof(ACE_CDR::ULong);
01024 }

ACE_INLINE void OpenDDS::DCPS::find_size_ulong ( size_t &  size,
size_t &  padding 
)

Definition at line 1026 of file Serializer.inl.

Referenced by gen_find_size(), and OpenDDS::RTPS::Sedp::Writer::write_sample().

01027 {
01028   const size_t sz = sizeof(ACE_CDR::ULong);
01029   if ((size + padding) % sz) {
01030     padding += sz - ((size + padding) % sz);
01031   }
01032   size += sz;
01033 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::Char  x 
)

Definition at line 584 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00585 {
00586   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Char), s.swap_bytes());
00587   return s.good_bit();
00588 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::Short  x 
)

Definition at line 591 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00592 {
00593   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::Short));
00594   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Short), s.swap_bytes());
00595   return s.good_bit();
00596 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::UShort  x 
)

Definition at line 599 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00600 {
00601   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::UShort));
00602   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::UShort), s.swap_bytes());
00603   return s.good_bit();
00604 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::Long  x 
)

Definition at line 607 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00608 {
00609   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::Long));
00610   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Long), s.swap_bytes());
00611   return s.good_bit();
00612 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::ULong  x 
)

Definition at line 615 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00616 {
00617   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::ULong));
00618   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::ULong), s.swap_bytes());
00619   return s.good_bit();
00620 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::LongLong  x 
)

Definition at line 623 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00624 {
00625   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::LongLong));
00626   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::LongLong), s.swap_bytes());
00627   return s.good_bit();
00628 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::ULongLong  x 
)

Definition at line 631 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00632 {
00633   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::ULongLong));
00634   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::ULongLong), s.swap_bytes());
00635   return s.good_bit();
00636 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::LongDouble  x 
)

Definition at line 639 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00640 {
00641   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(8);
00642   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::LongDouble), s.swap_bytes());
00643   return s.good_bit();
00644 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::Float  x 
)

Definition at line 647 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00648 {
00649   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::Float));
00650   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Float), s.swap_bytes());
00651   return s.good_bit();
00652 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_CDR::Double  x 
)

Definition at line 655 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_w(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00656 {
00657   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_w(sizeof(ACE_CDR::Double));
00658   s.buffer_write(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Double), s.swap_bytes());
00659   return s.good_bit();
00660 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
const ACE_CDR::Char *  x 
)

Definition at line 663 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), and OpenDDS::DCPS::Serializer::good_bit().

00664 {
00665   if (x != 0) {
00666     // Include the null termination in the serialized data.
00667     const ACE_CDR::ULong stringlen =
00668       1 + static_cast<ACE_CDR::ULong>(ACE_OS::strlen(x));
00669     s << stringlen;
00670     s.buffer_write(reinterpret_cast<const char*>(x), stringlen, false);
00671 
00672   } else {
00673     s << ACE_CDR::ULong(0);
00674   }
00675 
00676   return s.good_bit();
00677 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
const ACE_CDR::WChar *  x 
)

Definition at line 680 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), OpenDDS::DCPS::Serializer::good_bit_, OpenDDS::DCPS::Serializer::SWAP_BE, OpenDDS::DCPS::Serializer::WCHAR_SIZE, and OpenDDS::DCPS::Serializer::write_array().

00681 {
00682   //NOTE: Serializing wchar/wstring uses UTF-16BE
00683   if (x != 0) {
00684     // Do not include the null terminatator in the serialized data.
00685     const ACE_CDR::ULong length = static_cast<ACE_CDR::ULong>(ACE_OS::strlen(x));
00686     s << ACE_CDR::ULong(length * Serializer::WCHAR_SIZE);
00687 
00688 #if ACE_SIZEOF_WCHAR == 2
00689     s.write_array(reinterpret_cast<const char*>(x), Serializer::WCHAR_SIZE,
00690                   length, Serializer::SWAP_BE);
00691 #else
00692     for (size_t i = 0; i < length && s.good_bit(); ++i) {
00693       const ACE_UINT16 as_utf16 = static_cast<ACE_UINT16>(x[i]);
00694       if (as_utf16 != x[i]) { // not currently handling surrogates
00695         s.good_bit_ = false;
00696         break;
00697       }
00698       s.buffer_write(reinterpret_cast<const char*>(&as_utf16), Serializer::WCHAR_SIZE, Serializer::SWAP_BE);
00699     }
00700 #endif
00701   } else {
00702     s << ACE_CDR::ULong(0);
00703   }
00704 
00705   return s.good_bit();
00706 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_OutputCDR::from_boolean  x 
)

Definition at line 709 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00710 {
00711   s.buffer_write(reinterpret_cast<char*>(&x.val_), sizeof(ACE_CDR::Boolean), s.swap_bytes());
00712   return s.good_bit();
00713 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_OutputCDR::from_char  x 
)

Definition at line 716 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), and OpenDDS::DCPS::Serializer::good_bit().

00717 {
00718   s.buffer_write(reinterpret_cast<char*>(&x.val_), sizeof(ACE_CDR::Char), false);
00719   return s.good_bit();
00720 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_OutputCDR::from_wchar  x 
)

Definition at line 723 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), OpenDDS::DCPS::Serializer::good_bit(), OpenDDS::DCPS::Serializer::good_bit_, OpenDDS::DCPS::Serializer::SWAP_BE, and OpenDDS::DCPS::Serializer::WCHAR_SIZE.

00724 {
00725   // CDR wchar format: 1 octet for # of bytes in wchar, followed by those bytes
00726   static const ACE_CDR::Octet wchar_bytes = Serializer::WCHAR_SIZE;
00727   s.buffer_write(reinterpret_cast<const char*>(&wchar_bytes), 1, false);
00728 #if ACE_SIZEOF_WCHAR == 2
00729   s.buffer_write(reinterpret_cast<char*>(&x.val_), Serializer::WCHAR_SIZE, Serializer::SWAP_BE);
00730 #else
00731   const ACE_UINT16 as_utf16 = static_cast<ACE_UINT16>(x.val_);
00732   if (as_utf16 != x.val_) { // not currently handling surrogates
00733     s.good_bit_ = false;
00734   } else {
00735     s.buffer_write(reinterpret_cast<const char*>(&as_utf16), Serializer::WCHAR_SIZE, Serializer::SWAP_BE);
00736   }
00737 #endif
00738   return s.good_bit();
00739 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_OutputCDR::from_octet  x 
)

Definition at line 742 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), and OpenDDS::DCPS::Serializer::good_bit().

00743 {
00744   s.buffer_write(reinterpret_cast<char*>(&x.val_), sizeof(ACE_CDR::Octet), false);
00745   return s.good_bit();
00746 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_OutputCDR::from_string  x 
)

Definition at line 749 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_write(), and OpenDDS::DCPS::Serializer::good_bit().

00750 {
00751   // Include the null termination in the serialized data.
00752   ACE_CDR::ULong stringlen = 0;
00753 
00754   if (x.val_ != 0) {
00755     stringlen = 1 + static_cast<ACE_CDR::ULong>(ACE_OS::strlen(x.val_));
00756     s << stringlen;
00757     s.buffer_write(reinterpret_cast<char*>(x.val_), stringlen, false);
00758 
00759   } else {
00760     s << ACE_CDR::ULong(0);
00761   }
00762 
00763   return s.good_bit() && ((x.bound_ == 0) || (stringlen - 1 <= x.bound_));
00764 }

ACE_INLINE bool OpenDDS::DCPS::operator<< ( Serializer &  s,
ACE_OutputCDR::from_wstring  x 
)

Definition at line 767 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::good_bit().

00768 {
00769   s << x.val_;
00770   const ACE_CDR::ULong stringlen =
00771     x.bound_ ? static_cast<ACE_CDR::ULong>(ACE_OS::strlen(x.val_)) : 0;
00772   return s.good_bit() && ((x.bound_ == 0) || (stringlen <= x.bound_));
00773 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::Char &  x 
)

Definition at line 784 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00785 {
00786   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Char), s.swap_bytes());
00787   return s.good_bit();
00788 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::Short &  x 
)

Definition at line 791 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00792 {
00793   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::Short));
00794   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Short), s.swap_bytes());
00795   return s.good_bit();
00796 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::UShort &  x 
)

Definition at line 799 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00800 {
00801   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::UShort));
00802   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::UShort), s.swap_bytes());
00803   return s.good_bit();
00804 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::Long &  x 
)

Definition at line 807 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00808 {
00809   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::Long));
00810   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Long), s.swap_bytes());
00811   return s.good_bit();
00812 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::ULong &  x 
)

Definition at line 815 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00816 {
00817   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::ULong));
00818   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::ULong), s.swap_bytes());
00819   return s.good_bit();
00820 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::LongLong &  x 
)

Definition at line 823 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00824 {
00825   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::LongLong));
00826   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::LongLong), s.swap_bytes());
00827   return s.good_bit();
00828 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::ULongLong &  x 
)

Definition at line 831 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00832 {
00833   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::ULongLong));
00834   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::ULongLong), s.swap_bytes());
00835   return s.good_bit();
00836 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::LongDouble &  x 
)

Definition at line 839 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00840 {
00841   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(8);
00842   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::LongDouble), s.swap_bytes());
00843   return s.good_bit();
00844 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::Float &  x 
)

Definition at line 847 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00848 {
00849   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::Float));
00850   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Float), s.swap_bytes());
00851   return s.good_bit();
00852 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::Double &  x 
)

Definition at line 855 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::ALIGN_NONE, OpenDDS::DCPS::Serializer::align_r(), OpenDDS::DCPS::Serializer::alignment(), OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00856 {
00857   s.alignment() == Serializer::ALIGN_NONE ? 0 : s.align_r(sizeof(ACE_CDR::Double));
00858   s.buffer_read(reinterpret_cast<char*>(&x), sizeof(ACE_CDR::Double), s.swap_bytes());
00859   return s.good_bit();
00860 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::Char *&  x 
)

Definition at line 863 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::read_string().

00864 {
00865   s.read_string(x);
00866   return s.good_bit();
00867 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_CDR::WChar *&  x 
)

Definition at line 870 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::read_string().

00871 {
00872   s.read_string(x);
00873   return s.good_bit();
00874 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_InputCDR::to_boolean  x 
)

Definition at line 877 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00878 {
00879   s.buffer_read(reinterpret_cast<char*>(&x.ref_), sizeof(ACE_CDR::Boolean), s.swap_bytes());
00880   return s.good_bit();
00881 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_InputCDR::to_char  x 
)

Definition at line 884 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::swap_bytes().

00885 {
00886   s.buffer_read(reinterpret_cast<char*>(&x.ref_), sizeof(ACE_CDR::Char), s.swap_bytes());
00887   return s.good_bit();
00888 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_InputCDR::to_wchar  x 
)

Definition at line 891 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_read(), OpenDDS::DCPS::Serializer::good_bit(), OpenDDS::DCPS::Serializer::good_bit_, OpenDDS::DCPS::Serializer::SWAP_BE, and OpenDDS::DCPS::Serializer::WCHAR_SIZE.

00892 {
00893   ACE_CDR::Octet len;
00894   s.buffer_read(reinterpret_cast<char*>(&len), 1, false);
00895   if (len != Serializer::WCHAR_SIZE) {
00896     s.good_bit_ = false;
00897   } else {
00898 #if ACE_SIZEOF_WCHAR == 2
00899     s.buffer_read(reinterpret_cast<char*>(&x.ref_), Serializer::WCHAR_SIZE, Serializer::SWAP_BE);
00900 #else
00901     ACE_UINT16 as_utf16;
00902     s.buffer_read(reinterpret_cast<char*>(&as_utf16), Serializer::WCHAR_SIZE, Serializer::SWAP_BE);
00903     x.ref_ = as_utf16;
00904 #endif
00905   }
00906   return s.good_bit();
00907 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_InputCDR::to_octet  x 
)

Definition at line 910 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::buffer_read(), and OpenDDS::DCPS::Serializer::good_bit().

00911 {
00912   s.buffer_read(reinterpret_cast<char*>(&x.ref_), sizeof(ACE_CDR::Octet), false);
00913   return s.good_bit();
00914 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_InputCDR::to_string  x 
)

Definition at line 917 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::read_string().

00918 {
00919   s.read_string(const_cast<char*&>(x.val_));
00920   return s.good_bit()
00921          && ((x.bound_ == 0) || (ACE_OS::strlen(x.val_) <= x.bound_));
00922 }

ACE_INLINE bool OpenDDS::DCPS::operator>> ( Serializer &  s,
ACE_InputCDR::to_wstring  x 
)

Definition at line 925 of file Serializer.inl.

References OpenDDS::DCPS::Serializer::good_bit(), and OpenDDS::DCPS::Serializer::read_string().

00926 {
00927   s.read_string(const_cast<ACE_CDR::WChar*&>(x.val_));
00928   return s.good_bit()
00929          && ((x.bound_ == 0) || (ACE_OS::strlen(x.val_) <= x.bound_));
00930 }

static ACE_TString OpenDDS::DCPS::config_fname ( ACE_TEXT("")   )  [static]

Referenced by OpenDDS::DCPS::Service_Participant::get_domain_participant_factory(), OpenDDS::DCPS::Service_Participant::load_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

unsigned char OpenDDS::DCPS::@41::hextobyte ( unsigned char  c  )  [static]

Definition at line 600 of file StaticDiscovery.cpp.

Referenced by fromhex().

00601   {
00602     if (c >= '0' && c <= '9') {
00603       return c - '0';
00604     }
00605     if (c >= 'a' && c <= 'f') {
00606       return 10 + c - 'a';
00607     }
00608     if (c >= 'A' && c <= 'F') {
00609       return 10 + c - 'A';
00610     }
00611     return c;
00612   }

unsigned char OpenDDS::DCPS::@41::fromhex ( const OPENDDS_STRING &  x,
size_t  idx 
) [static]

Definition at line 615 of file StaticDiscovery.cpp.

References hextobyte().

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_endpoints().

00616   {
00617     return (hextobyte(x[idx * 2]) << 4) | (hextobyte(x[idx * 2 + 1]));
00618   }

void OpenDDS::DCPS::@42::parse_second ( CORBA::Long &  x,
const OPENDDS_STRING &  value 
) [static]

Definition at line 700 of file StaticDiscovery.cpp.

References DDS::DURATION_INFINITE_SEC.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_datareaderqos(), and OpenDDS::DCPS::StaticDiscovery::parse_datawriterqos().

00701   {
00702     if (value == "DURATION_INFINITE_SEC") {
00703       x = DDS::DURATION_INFINITE_SEC;
00704     } else {
00705       x = atoi(value.c_str());
00706     }
00707   }

void OpenDDS::DCPS::@42::parse_nanosecond ( CORBA::ULong &  x,
const OPENDDS_STRING &  value 
) [static]

Definition at line 709 of file StaticDiscovery.cpp.

References DDS::DURATION_INFINITE_NSEC.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_datareaderqos(), and OpenDDS::DCPS::StaticDiscovery::parse_datawriterqos().

00710   {
00711     if (value == "DURATION_INFINITE_NANOSEC") {
00712       x = DDS::DURATION_INFINITE_NSEC;
00713     } else {
00714       x = atoi(value.c_str());
00715     }
00716   }

bool OpenDDS::DCPS::@42::parse_bool ( CORBA::Boolean &  x,
const OPENDDS_STRING &  value 
) [static]

Definition at line 718 of file StaticDiscovery.cpp.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_publisherqos(), and OpenDDS::DCPS::StaticDiscovery::parse_subscriberqos().

00719   {
00720     if (value == "true") {
00721       x = true;
00722       return true;
00723     } else if (value == "false") {
00724       x = false;
00725       return true;
00726     }
00727     return false;
00728   }

void OpenDDS::DCPS::@42::parse_list ( DDS::PartitionQosPolicy x,
const OPENDDS_STRING &  value 
) [static]

Definition at line 730 of file StaticDiscovery.cpp.

References DDS::PartitionQosPolicy::name.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_publisherqos(), and OpenDDS::DCPS::StaticDiscovery::parse_subscriberqos().

00731   {
00732     // Value can be a comma-separated list
00733     const char* start = value.c_str();
00734     char buffer[128];
00735     std::memset(buffer, 0, sizeof(buffer));
00736     while (const char* next_comma = std::strchr(start, ',')) {
00737       // Copy into temp buffer, won't have null
00738       std::strncpy(buffer, start, next_comma - start);
00739       // Append null
00740       buffer[next_comma - start] = '\0';
00741       // Add to QOS
00742       x.name.length(x.name.length() + 1);
00743       x.name[x.name.length() - 1] = static_cast<const char*>(buffer);
00744       // Advance pointer
00745       start = next_comma + 1;
00746     }
00747     // Append everything after last comma
00748     x.name.length(x.name.length() + 1);
00749     x.name[x.name.length() - 1] = start;
00750   }

template<typename Seq>
void OpenDDS::DCPS::set_to_seq ( const RepoIdSet &  rids,
Seq seq 
)

Definition at line 334 of file DataLink.cpp.

Referenced by OpenDDS::DCPS::DataLink::clear_associations(), OpenDDS::DCPS::DataLink::notify(), and OpenDDS::DCPS::DataLink::peer_ids().

00335 {
00336   seq.length(static_cast<CORBA::ULong>(rids.size()));
00337   CORBA::ULong i = 0;
00338   for (RepoIdSet::const_iterator iter = rids.begin(); iter != rids.end(); ++iter) {
00339     seq[i++] = *iter;
00340   }
00341 }

std::ostream& OpenDDS::DCPS::operator<< ( std::ostream &  str,
const DataLink &  value 
)

Definition at line 1041 of file DataLink.cpp.

References OpenDDS::DCPS::DataLink::assoc_by_local_.

01042 {
01043   str << "   There are " << value.assoc_by_local_.size()
01044       << " local entities currently using this link comprising following associations:"
01045       << std::endl;
01046 
01047   for (DataLink::AssocByLocal::const_iterator
01048        localId = value.assoc_by_local_.begin();
01049        localId != value.assoc_by_local_.end();
01050        ++localId) {
01051     for (RepoIdSet::const_iterator
01052          remoteId = localId->second.begin();
01053          remoteId != localId->second.end();
01054          ++remoteId) {
01055       str << GuidConverter(localId->first) << " --> "
01056           << GuidConverter(*remoteId) << "   " << std::endl;
01057     }
01058   }
01059   return str;
01060 }

typedef OpenDDS::DCPS::OPENDDS_MAP_CMP ( RepoId  ,
DataLinkSet_rch  ,
GUID_tKeyLessThan   
)

OpenDDS_Dcps_Export OPENDDS_STRING OpenDDS::DCPS::get_fully_qualified_hostname ( ACE_INET_Addr *  addr = 0  ) 

Helper function to get the fully qualified hostname. It attempts to discover the FQDN by the network interface addresses, however the result is impacted by the network configuration, so it returns name in the order whoever is found first - FQDN, short hostname, name resolved from loopback address. In the case using short hostname or name resolved from loopback, a warning is logged. If there is no any name discovered from network interfaces, an error is logged. If ACE_HAS_IPV6, will give priority to IPV6 interfaces

Definition at line 61 of file NetworkAddress.cpp.

References OpenDDS::DCPS::HostnameInfo::hostname_, OpenDDS::DCPS::HostnameInfo::index_, OPENDDS_STRING, swap(), and VDBG_LVL.

Referenced by OpenDDS::DCPS::TcpTransport::configure_i(), and OpenDDS::DCPS::UdpDataLink::open().

00062 {
00063   // cache the determined fully qualified hostname and its
00064   // address to be used on subsequent calls
00065   static OPENDDS_STRING fullname;
00066   static ACE_INET_Addr selected_address;
00067 
00068   if (fullname.length() == 0) {
00069     size_t addr_count;
00070     ACE_INET_Addr *addr_array;
00071     OpenDDS::DCPS::HostnameInfoVector nonFQDN;
00072 
00073     int result = ACE::get_ip_interfaces(addr_count, addr_array);
00074 
00075     struct Array_Guard {
00076       Array_Guard(ACE_INET_Addr *ptr) : ptr_(ptr) {}
00077       ~Array_Guard() {
00078         delete [] ptr_;
00079       }
00080       ACE_INET_Addr* const ptr_;
00081     } guardObject(addr_array);
00082 
00083     if (result != 0 || addr_count < 1) {
00084       ACE_ERROR((LM_ERROR,
00085                  ACE_TEXT("(%P|%t) ERROR: Unable to probe network. %p\n"),
00086                  ACE_TEXT("ACE::get_ip_interfaces")));
00087 
00088     } else {
00089 #ifdef ACE_HAS_IPV6
00090         //front load IPV6 addresses to give preference to IPV6 interfaces
00091         size_t index_last_non_ipv6 = 0;
00092         for (size_t i = 0; i < addr_count; i++) {
00093           if (addr_array[i].get_type() == AF_INET6) {
00094             if (i == index_last_non_ipv6) {
00095               ++index_last_non_ipv6;
00096             } else {
00097               std::swap(addr_array[i], addr_array[index_last_non_ipv6]);
00098               ++index_last_non_ipv6;
00099             }
00100           }
00101         }
00102 #endif
00103       for (size_t i = 0; i < addr_count; i++) {
00104         char hostname[MAXHOSTNAMELEN+1] = "";
00105 
00106         //Discover the fully qualified hostname
00107 
00108         if (ACE::get_fqdn(addr_array[i], hostname, MAXHOSTNAMELEN+1) == 0) {
00109           if (addr_array[i].is_loopback() == false && ACE_OS::strchr(hostname, '.') != 0) {
00110             VDBG_LVL((LM_DEBUG, "(%P|%t) found fqdn %C from %C:%d\n",
00111                       hostname, addr_array[i].get_host_addr(), addr_array[i].get_port_number()), 2);
00112             selected_address = addr_array[i];
00113             fullname = hostname;
00114             if (addr) {
00115               *addr = selected_address;
00116             }
00117             return fullname;
00118 
00119           } else {
00120             VDBG_LVL((LM_DEBUG, "(%P|%t) ip interface %C:%d maps to hostname %C\n",
00121                       addr_array[i].get_host_addr(), addr_array[i].get_port_number(), hostname), 2);
00122 
00123             if (ACE_OS::strncmp(hostname, "localhost", 9) == 0) {
00124               addr_array[i].get_host_addr(hostname, MAXHOSTNAMELEN);
00125             }
00126 
00127             OpenDDS::DCPS::HostnameInfo info;
00128             info.index_ = i;
00129             info.hostname_ = hostname;
00130             nonFQDN.push_back(info);
00131           }
00132         }
00133       }
00134     }
00135 
00136     OpenDDS::DCPS::HostnameInfoVector::iterator itBegin = nonFQDN.begin();
00137     OpenDDS::DCPS::HostnameInfoVector::iterator itEnd = nonFQDN.end();
00138 
00139     for (OpenDDS::DCPS::HostnameInfoVector::iterator it = itBegin; it != itEnd; ++it) {
00140       if (addr_array[it->index_].is_loopback() == false) {
00141         ACE_DEBUG((LM_WARNING, "(%P|%t) WARNING: Could not find FQDN. Using "
00142                    "\"%C\" as fully qualified hostname, please "
00143                    "correct system configuration.\n", it->hostname_.c_str()));
00144         selected_address = addr_array[it->index_];
00145         fullname = it->hostname_;
00146         if (addr) {
00147           *addr = selected_address;
00148         }
00149         return fullname;
00150       }
00151     }
00152 
00153     if (itBegin != itEnd) {
00154       ACE_DEBUG((LM_WARNING, "(%P|%t) WARNING: Could not find FQDN. Using "
00155                  "\"%C\" as fully qualified hostname, please "
00156                  "correct system configuration.\n", itBegin->hostname_.c_str()));
00157       selected_address = addr_array[itBegin->index_];
00158       fullname = itBegin->hostname_;
00159       if (addr) {
00160         *addr = selected_address;
00161       }
00162       return fullname;
00163     }
00164 
00165 #ifdef OPENDDS_SAFETY_PROFILE
00166     // address resolution may not be available due to safety profile,
00167     // return an address that should work for running tests
00168     if (addr) {
00169       static const char local[] = {1, 0, 0, 127};
00170       addr->set_address(local, sizeof local);
00171     }
00172     return "localhost";
00173 #else
00174     ACE_ERROR((LM_ERROR,
00175                "(%P|%t) ERROR: failed to discover the fully qualified hostname\n"));
00176 #endif
00177   }
00178 
00179   if (addr) {
00180     *addr = selected_address;
00181   }
00182   return fullname;
00183 }

OpenDDS_Dcps_Export void OpenDDS::DCPS::get_interface_addrs ( OPENDDS_VECTOR(ACE_INET_Addr)&  addrs  ) 

Helper function to get the vector of addresses which should be advertised to peers

Definition at line 185 of file NetworkAddress.cpp.

References swap(), and VDBG_LVL.

Referenced by OpenDDS::DCPS::RtpsUdpInst::populate_locator(), and OpenDDS::RTPS::Sedp::unicast_locators().

00186 {
00187   ACE_INET_Addr *if_addrs = 0;
00188   size_t if_cnt = 0;
00189   size_t endpoint_count = 0;
00190 
00191   int result =
00192 #ifdef OPENDDS_SAFETY_PROFILE
00193     -1;
00194 #else
00195     ACE::get_ip_interfaces(if_cnt, if_addrs);
00196 #endif
00197 
00198   struct Array_Guard {
00199     Array_Guard(ACE_INET_Addr *ptr) : ptr_(ptr) {}
00200     ~Array_Guard() {
00201       delete[] ptr_;
00202     }
00203     ACE_INET_Addr* const ptr_;
00204   } guardObject(if_addrs);
00205 
00206   if (!result) {
00207     size_t lo_cnt = 0;  // Loopback interface count
00208 #if defined (ACE_HAS_IPV6)
00209     size_t ipv4_cnt = 0;
00210     size_t ipv4_lo_cnt = 0;
00211     size_t ipv6_ll = 0;
00212     bool ipv6_non_ll = false;
00213 #endif
00214     for (size_t j = 0; j < if_cnt; ++j) {
00215       // Scan for the loopback interface since it shouldn't be included in
00216       // the list of cached hostnames unless it is the only interface.
00217       if (if_addrs[j].is_loopback())
00218         ++lo_cnt;
00219 #if defined (ACE_HAS_IPV6)
00220       // Scan for IPv4 interfaces since these should not be included
00221       // when IPv6-only is selected.
00222       if (if_addrs[j].get_type() != AF_INET6 ||
00223           if_addrs[j].is_ipv4_mapped_ipv6()) {
00224         ++ipv4_cnt;
00225         if (if_addrs[j].is_loopback())
00226           ++ipv4_lo_cnt;  // keep track of IPv4 loopback ifs
00227       } else if (!if_addrs[j].is_linklocal() &&
00228                  !if_addrs[j].is_loopback()) {
00229         ipv6_non_ll = true; // we have at least 1 non-local IPv6 if
00230       } else if (if_addrs[j].is_linklocal()) {
00231         ++ipv6_ll;  // count link local addrs to exclude them afterwards
00232       }
00233 #endif /* ACE_HAS_IPV6 */
00234     }
00235 
00236     bool ipv4_only = ACE_INET_Addr().get_type() == AF_INET;
00237 
00238 #if defined (ACE_HAS_IPV6)
00239 
00240     // If the loopback interface is the only interface then include it
00241     // in the list of interfaces to query for a hostname, otherwise
00242     // exclude it from the list.
00243     bool ignore_lo;
00244     if (ipv4_only) {
00245       ignore_lo = ipv4_cnt != ipv4_lo_cnt;
00246     } else {
00247       ignore_lo = if_cnt != lo_cnt;
00248     }
00249 
00250     // Adjust counts for IPv4 only if required
00251     size_t if_ok_cnt = if_cnt;
00252     if (ipv4_only) {
00253       if_ok_cnt = ipv4_cnt;
00254       lo_cnt = ipv4_lo_cnt;
00255       ipv6_ll = 0;
00256     }
00257 
00258     // In case there are no non-local IPv6 ifs in the list only exclude
00259     // IPv4 loopback.
00260     // IPv6 loopback will be needed to successfully connect IPv6 clients
00261     // in a localhost environment.
00262     if (!ipv4_only && !ipv6_non_ll)
00263       lo_cnt = ipv4_lo_cnt;
00264 
00265     if (!ignore_lo)
00266       endpoint_count = if_ok_cnt - ipv6_ll;
00267     else
00268       endpoint_count = if_ok_cnt - ipv6_ll - lo_cnt;
00269 #else /* end ACE_HAS_IPV6 begin !ACE_HAS_IPV6*/
00270     // If the loopback interface is the only interface then include it
00271     // in the list of interfaces to query for a hostname, otherwise
00272     // exclude it from the list.
00273     bool ignore_lo;
00274     ignore_lo = if_cnt != lo_cnt;
00275     if (!ignore_lo)
00276       endpoint_count = if_cnt;
00277     else
00278       endpoint_count = if_cnt - lo_cnt;
00279 #endif /* !ACE_HAS_IPV6 */
00280     if (endpoint_count == 0) {
00281       VDBG_LVL((LM_DEBUG,
00282         ACE_TEXT("(%P|%t) get_interface_addrs() - ")
00283         ACE_TEXT("found no usable addresses\n")), 2);
00284     }
00285 
00286     for (size_t i = 0; i < if_cnt; ++i) {
00287       // Ignore any non-IPv4 interfaces when so required.
00288       if (ipv4_only && (if_addrs[i].get_type() != AF_INET))
00289         continue;
00290 #if defined (ACE_HAS_IPV6)
00291       // Ignore any loopback interface if there are other
00292       // non-loopback interfaces.
00293       if (ignore_lo &&
00294           if_addrs[i].is_loopback() &&
00295           (ipv4_only ||
00296           ipv6_non_ll ||
00297           if_addrs[i].get_type() != AF_INET6))
00298         continue;
00299 
00300       // Ignore all IPv6 link local interfaces when so required.
00301       if (ipv6_non_ll && if_addrs[i].is_linklocal())
00302         continue;
00303 #else /* ACE_HAS_IPV6 */
00304       // Ignore any loopback interface if there are other
00305       // non-loopback interfaces.
00306       if (ignore_lo && if_addrs[i].is_loopback())
00307         continue;
00308 #endif /* !ACE_HAS_IPV6 */
00309       addrs.push_back(if_addrs[i]);
00310     }
00311   }
00312 #ifdef ACE_HAS_IPV6
00313   //front load IPV6 addresses to give preference to IPV6 interfaces
00314   size_t index_last_non_ipv6 = 0;
00315   for (size_t i = 0; i < addrs.size(); i++) {
00316     if (addrs.at(i).get_type() == AF_INET6) {
00317       if (i == index_last_non_ipv6) {
00318         ++index_last_non_ipv6;
00319       }
00320       else {
00321         std::swap(addrs.at(i), addrs.at(index_last_non_ipv6));
00322         ++index_last_non_ipv6;
00323       }
00324     }
00325   }
00326 #endif
00327 #ifdef OPENDDS_SAFETY_PROFILE
00328   // address resolution may not be available due to safety profile,
00329   // return an address that should work for running tests
00330   if (addrs.empty()) {
00331     ACE_INET_Addr addr;
00332     static const char local[] = { 1, 0, 0, 127 };
00333     addr.set_address(local, sizeof local);
00334     addrs.push_back(addr);
00335   }
00336 #else
00337   if (addrs.empty()) {
00338     ACE_ERROR((LM_ERROR,
00339       "(%P|%t) ERROR: failed to find usable interface address\n"));
00340   }
00341 #endif
00342 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::set_socket_multicast_ttl ( const ACE_SOCK_Dgram &  socket,
const unsigned char &  ttl 
)

Helper function to set the ttl on a socket appropriately given whether it is IPV4 or IPV6

Definition at line 344 of file NetworkAddress.cpp.

References TTL, and VDBG.

Referenced by OpenDDS::DCPS::MulticastDataLink::join(), OpenDDS::DCPS::RtpsUdpDataLink::open(), and OpenDDS::RTPS::Spdp::SpdpTransport::open_unicast_socket().

00345 {
00346   ACE_HANDLE handle = socket.get_handle();
00347   const void* ttlp = &ttl;
00348 #if defined(ACE_LINUX) || defined(__linux__)
00349   int ttl_2 = ttl;
00350   ttlp = &ttl_2;
00351 #define TTL ttl_2
00352 #else
00353 #define TTL ttl
00354 #endif
00355 #if defined (ACE_HAS_IPV6)
00356   ACE_INET_Addr local_addr;
00357   if (0 != socket.get_local_addr(local_addr)) {
00358     VDBG((LM_WARNING, "(%P|%t) set_socket_ttl: "
00359           "ACE_SOCK_Dgram::get_local_addr %p\n", ACE_TEXT("")));
00360   }
00361   if (local_addr.get_type () == AF_INET6) {
00362     if (0 != ACE_OS::setsockopt(handle,
00363                                 IPPROTO_IPV6,
00364                                 IPV6_MULTICAST_HOPS,
00365                                 static_cast<const char*>(ttlp),
00366                                 sizeof(TTL))) {
00367       ACE_ERROR_RETURN((LM_ERROR,
00368                         ACE_TEXT("(%P|%t) ERROR: ")
00369                         ACE_TEXT("set_socket_ttl: ")
00370                         ACE_TEXT("failed to set IPV6 TTL: %d %p\n"),
00371                         ttl,
00372                         ACE_TEXT("ACE_OS::setsockopt(TTL)")),
00373                        false);
00374     }
00375   } else
00376 #endif  /* ACE_HAS_IPV6 */
00377   if (0 != ACE_OS::setsockopt(handle,
00378                               IPPROTO_IP,
00379                               IP_MULTICAST_TTL,
00380                               static_cast<const char*>(ttlp),
00381                               sizeof(TTL))) {
00382     ACE_ERROR_RETURN((LM_ERROR,
00383                       ACE_TEXT("(%P|%t) ERROR: ")
00384                       ACE_TEXT("set_socket_ttl: ")
00385                       ACE_TEXT("failed to set TTL: %d %p\n"),
00386                       ttl,
00387                       ACE_TEXT("ACE_OS::setsockopt(TTL)")),
00388                      false);
00389   }
00390   return true;
00391 }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::open_appropriate_socket_type ( ACE_SOCK_Dgram &  socket,
const ACE_INET_Addr &  local_address 
)

Helper function to create dual stack socket to support IPV4 and IPV6, for IPV6 builds allows for setting IPV6_V6ONLY socket option to 0 before binding Otherwise defaults to opening a socket based on the type of local_address

Definition at line 393 of file NetworkAddress.cpp.

References bind(), and VDBG_LVL.

Referenced by OpenDDS::DCPS::RtpsUdpTransport::configure_i(), OpenDDS::DCPS::UdpDataLink::open(), and OpenDDS::RTPS::Spdp::SpdpTransport::open_unicast_socket().

00394 {
00395 #if defined (ACE_HAS_IPV6) && defined (IPV6_V6ONLY)
00396   int protocol_family = ACE_PROTOCOL_FAMILY_INET;
00397   int protocol = 0;
00398   int reuse_addr = 0;
00399   if (static_cast<ACE_Addr>(local_address) != ACE_Addr::sap_any) {
00400     protocol_family = local_address.get_type();
00401   } else if (protocol_family == PF_UNSPEC) {
00402     protocol_family = ACE::ipv6_enabled() ? PF_INET6 : PF_INET;
00403   }
00404 
00405   int one = 1;
00406   socket.set_handle(ACE_OS::socket(protocol_family,
00407     SOCK_DGRAM,
00408     protocol));
00409 
00410   if (socket.get_handle() == ACE_INVALID_HANDLE) {
00411     ACE_ERROR_RETURN((LM_WARNING,
00412       ACE_TEXT("(%P|%t) WARNING:")
00413       ACE_TEXT("open_appropriate_socket_type: ")
00414       ACE_TEXT("failed to set socket handle\n")),
00415       false);
00416   } else if (protocol_family != PF_UNIX &&
00417              reuse_addr &&
00418              socket.set_option(SOL_SOCKET,
00419                                SO_REUSEADDR,
00420                                &one,
00421                                sizeof one) == -1) {
00422     socket.close();
00423     ACE_ERROR_RETURN((LM_WARNING,
00424       ACE_TEXT("(%P|%t) WARNING: ")
00425       ACE_TEXT("open_appropriate_socket_type: ")
00426       ACE_TEXT("failed to set socket SO_REUSEADDR option\n")),
00427       false);
00428   }
00429   ACE_HANDLE handle = socket.get_handle();
00430   int ipv6_only = 0;
00431   if (protocol_family == PF_INET6 &&
00432       0 != ACE_OS::setsockopt(handle,
00433                               IPPROTO_IPV6,
00434                               IPV6_V6ONLY,
00435                               (char*)&ipv6_only,
00436                               sizeof(ipv6_only))) {
00437     ACE_ERROR_RETURN((LM_WARNING,
00438       ACE_TEXT("(%P|%t) WARNING: ")
00439       ACE_TEXT("open_appropriate_socket_type: ")
00440       ACE_TEXT("failed to set IPV6_V6ONLY to 0: %p\n"),
00441       ACE_TEXT("ACE_OS::setsockopt(IPV6_V6ONLY)")),
00442       false);
00443   }
00444   bool error = false;
00445 
00446   if (static_cast<ACE_Addr>(local_address) == ACE_Addr::sap_any) {
00447     if (protocol_family == PF_INET || protocol_family == PF_INET6) {
00448       if (ACE::bind_port(socket.get_handle(),
00449                          INADDR_ANY,
00450                          protocol_family) == -1) {
00451         error = true;
00452       }
00453     }
00454   } else if (ACE_OS::bind(socket.get_handle(),
00455                           reinterpret_cast<sockaddr *> (local_address.get_addr()),
00456                           local_address.get_size()) == -1) {
00457     error = true;
00458   }
00459 
00460   if (error) {
00461     socket.close();
00462     VDBG_LVL((LM_WARNING, "(%P|%t) WARNING: open_appropriate_socket_type: "
00463                           "failed to bind address to socket\n"), 2);
00464     return false;
00465   }
00466   return true;
00467 #else
00468   if (socket.open(local_address) != 0) {
00469     ACE_ERROR_RETURN((LM_WARNING,
00470       ACE_TEXT("(%P|%t) WARNING:")
00471       ACE_TEXT("open_appropriate_socket_type: socket open not successful:")
00472       ACE_TEXT("errno: %d\n"), errno),
00473       false);
00474   }
00475   return true;
00476 #endif
00477 }

typedef OpenDDS::DCPS::OPENDDS_VECTOR ( HostnameInfo   ) 

ACE_INLINE void OpenDDS::DCPS::swap ( ReceivedDataSample &  ,
ReceivedDataSample &   
)

Definition at line 50 of file ReceivedDataSample.inl.

References OpenDDS::DCPS::ReceivedDataSample::header_, OpenDDS::DCPS::ReceivedDataSample::sample_, and swap().

00051 {
00052   std::swap(a.header_, b.header_);
00053   std::swap(a.sample_, b.sample_);
00054 }

void OpenDDS::DCPS::@43::swap ( ReceiveListenerHandle &  lhs,
ReceiveListenerHandle &  rhs 
) [static]

Definition at line 61 of file ReceiveListenerSet.cpp.

References swap().

00062   {
00063     std::swap(lhs.listener_, rhs.listener_);
00064   }

OpenDDS_Dcps_Export bool OpenDDS::DCPS::operator<< ( ACE_Message_Block &  buffer,
const TransportHeader &  value 
)

Definition at line 28 of file TransportHeader.cpp.

References OpenDDS::DCPS::TransportHeader::byte_order_, OpenDDS::DCPS::TransportHeader::BYTE_ORDER_FLAG, OpenDDS::DCPS::TransportHeader::first_fragment_, OpenDDS::DCPS::TransportHeader::FIRST_FRAGMENT_FLAG, OpenDDS::DCPS::Serializer::good_bit(), OpenDDS::DCPS::TransportHeader::last_fragment_, OpenDDS::DCPS::TransportHeader::LAST_FRAGMENT_FLAG, OpenDDS::DCPS::TransportHeader::length_, OpenDDS::DCPS::TransportHeader::protocol_, OpenDDS::DCPS::TransportHeader::reserved_, OpenDDS::DCPS::TransportHeader::sequence_, OpenDDS::DCPS::TransportHeader::source_, and OpenDDS::DCPS::Serializer::write_octet_array().

00029 {
00030   Serializer writer(&buffer);
00031 
00032   writer.write_octet_array(value.protocol_, sizeof(value.protocol_));
00033 
00034   const ACE_CDR::Octet flags =
00035     (value.byte_order_ << TransportHeader::BYTE_ORDER_FLAG) |
00036     (value.first_fragment_ << TransportHeader::FIRST_FRAGMENT_FLAG) |
00037     (value.last_fragment_ << TransportHeader::LAST_FRAGMENT_FLAG);
00038   writer << ACE_OutputCDR::from_octet(flags);
00039 
00040   writer << ACE_OutputCDR::from_octet(value.reserved_);
00041 
00042   writer << value.length_;
00043   writer << value.sequence_;
00044   writer << value.source_;
00045 
00046   return writer.good_bit();
00047 }

static const ACE_UINT32 OpenDDS::DCPS::TRANSPORT_HDR_SERIALIZED_SZ ( 28   )  [static]

void OpenDDS::DCPS::@50::join_err ( const char *  detail  )  [inline, static]

Definition at line 35 of file TransportReassembly.cpp.

Referenced by OpenDDS::DCPS::TransportReassembly::insert().

00036   {
00037     ACE_ERROR((LM_ERROR,
00038       ACE_TEXT("(%P|%t) ERROR: TransportReassembly::insert() - ")
00039       ACE_TEXT("DataSampleHeaders could not be joined: %C\n"), detail));
00040   }

void OpenDDS::DCPS::@56::handle_message ( const bool  dropped,
ACE_Message_Block *const   msg,
TransportSendListener *const   listener,
const bool  dropped_by_transport 
) [static]

Definition at line 34 of file TransportSendControlElement.cpp.

References OpenDDS::DCPS::TransportSendListener::control_delivered(), and OpenDDS::DCPS::TransportSendListener::control_dropped().

Referenced by OpenDDS::DCPS::TransportSendControlElement::release_element().

00038   {
00039     if (dropped) {
00040       listener->control_dropped(msg, dropped_by_transport);
00041     } else {
00042       listener->control_delivered(msg);
00043     }
00044   }

void OpenDDS::DCPS::@56::handle_message ( const bool  dropped,
const DataSampleElement *const   elem,
const bool  dropped_by_transport 
) [static]

Definition at line 46 of file TransportSendControlElement.cpp.

References OpenDDS::DCPS::TransportSendListener::data_delivered(), OpenDDS::DCPS::TransportSendListener::data_dropped(), and OpenDDS::DCPS::DataSampleElement::get_send_listener().

00049   {
00050     TransportSendListener* const listener = elem->get_send_listener();
00051     if (dropped) {
00052       listener->data_dropped(elem, dropped_by_transport);
00053     } else {
00054       listener->data_delivered(elem);
00055     }
00056   }

static bool OpenDDS::DCPS::get_remote_reliability ( const TransportImpl::RemoteTransport &  remote  )  [static]

Definition at line 147 of file MulticastTransport.cpp.

References OpenDDS::DCPS::TransportImpl::RemoteTransport::blob_.

Referenced by OpenDDS::DCPS::MulticastTransport::accept_datalink(), and OpenDDS::DCPS::MulticastTransport::connect_datalink().

00148 {
00149   NetworkAddress network_address;
00150   ACE_CDR::Boolean reliable;
00151 
00152   size_t len = remote.blob_.length();
00153   const char* buffer = reinterpret_cast<const char*>(remote.blob_.get_buffer());
00154 
00155   ACE_InputCDR cdr(buffer, len);
00156   cdr >> network_address;
00157   cdr >> ACE_InputCDR::to_boolean(reliable);
00158 
00159   return reliable;
00160 }

void OpenDDS::DCPS::@62::add_timestamp ( RTPS::SubmessageSeq subm,
ACE_CDR::Octet  flags,
const DataSampleHeader &  header 
) [static]

Definition at line 304 of file RtpsSampleHeader.cpp.

References header, OpenDDS::RTPS::INFO_TS, OpenDDS::RTPS::INFO_TS_SZ, OpenDDS::RTPS::NANOS_TO_RTPS_FRACS, DDS::Time_t::nanosec, and DDS::Time_t::sec.

Referenced by OpenDDS::DCPS::RtpsSampleHeader::populate_data_control_submessages(), and OpenDDS::DCPS::RtpsSampleHeader::populate_data_sample_submessages().

00306   {
00307     using namespace OpenDDS::RTPS;
00308     const DDS::Time_t st = {header.source_timestamp_sec_,
00309                             header.source_timestamp_nanosec_};
00310     const InfoTimestampSubmessage ts = {
00311       {INFO_TS, flags, INFO_TS_SZ},
00312       {st.sec, static_cast<ACE_UINT32>(st.nanosec * NANOS_TO_RTPS_FRACS + .5)}
00313     };
00314     const CORBA::ULong i = subm.length();
00315     subm.length(i + 1);
00316     subm[i].info_ts_sm(ts);
00317   }

void OpenDDS::DCPS::@63::add_key_hash ( RTPS::ParameterList plist,
const ACE_Message_Block *  data 
) [static]

Definition at line 401 of file RtpsSampleHeader.cpp.

References OpenDDS::RTPS::Parameter::key_hash, and OpenDDS::RTPS::KeyHash_t::value.

Referenced by OpenDDS::DCPS::RtpsSampleHeader::populate_data_control_submessages().

00402   {
00403     RTPS::KeyHash_t kh;
00404     static const size_t offset = 8 /*skip encap (4) and plist hdr (4)*/;
00405     std::memcpy(kh.value, data->rd_ptr() + offset, sizeof(GUID_t));
00406     RTPS::Parameter p;
00407     p.key_hash(kh);
00408     const CORBA::ULong i = plist.length();
00409     plist.length(i + 1);
00410     plist[i] = p;
00411   }

void OpenDDS::DCPS::@64::write ( ACE_Message_Block *  mb,
ACE_CDR::UShort  s,
bool  swap_bytes 
) [static]

Definition at line 552 of file RtpsSampleHeader.cpp.

Referenced by OpenDDS::DCPS::RtpsSampleHeader::split().

00553   {
00554     const char* ps = reinterpret_cast<const char*>(&s);
00555     if (swap_bytes) {
00556       ACE_CDR::swap_2(ps, mb->wr_ptr());
00557       mb->wr_ptr(2);
00558     } else {
00559       mb->copy(ps, 2);
00560     }
00561   }

void OpenDDS::DCPS::@64::write ( ACE_Message_Block *  mb,
ACE_CDR::ULong  i,
bool  swap_bytes 
) [static]

Definition at line 563 of file RtpsSampleHeader.cpp.

00564   {
00565     const char* pi = reinterpret_cast<const char*>(&i);
00566     if (swap_bytes) {
00567       ACE_CDR::swap_4(pi, mb->wr_ptr());
00568       mb->wr_ptr(4);
00569     } else {
00570       mb->copy(pi, 4);
00571     }
00572   }

void OpenDDS::DCPS::@64::peek ( ACE_CDR::UShort &  target,
const char *  src,
bool  swap_bytes 
) [static]

Definition at line 575 of file RtpsSampleHeader.cpp.

Referenced by OpenDDS::DCPS::RtpsSampleHeader::split().

00576   {
00577     if (swap_bytes) {
00578       ACE_CDR::swap_2(src, reinterpret_cast<char*>(&target));
00579     } else {
00580       std::memcpy(&target, src, sizeof(ACE_CDR::UShort));
00581     }
00582   }

void OpenDDS::DCPS::@64::peek ( ACE_CDR::ULong &  target,
const char *  src,
bool  swap_bytes 
) [static]

Definition at line 584 of file RtpsSampleHeader.cpp.

00585   {
00586     if (swap_bytes) {
00587       ACE_CDR::swap_4(src, reinterpret_cast<char*>(&target));
00588     } else {
00589       std::memcpy(&target, src, sizeof(ACE_CDR::ULong));
00590     }
00591   }

ACE_Message_Block* OpenDDS::DCPS::@67::submsgs_to_msgblock ( const RTPS::SubmessageSeq subm  )  [static]

Definition at line 603 of file RtpsUdpDataLink.cpp.

References OpenDDS::DCPS::Serializer::ALIGN_CDR, and gen_find_size().

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::customize_queue_element().

00604   {
00605     size_t size = 0, padding = 0;
00606     for (CORBA::ULong i = 0; i < subm.length(); ++i) {
00607       if ((size + padding) % 4) {
00608         padding += 4 - ((size + padding) % 4);
00609       }
00610       gen_find_size(subm[i], size, padding);
00611     }
00612 
00613     ACE_Message_Block* hdr = new ACE_Message_Block(size + padding);
00614 
00615     for (CORBA::ULong i = 0; i < subm.length(); ++i) {
00616       // byte swapping is handled in the operator<<() implementation
00617       Serializer ser(hdr, false, Serializer::ALIGN_CDR);
00618       ser << subm[i];
00619       const size_t len = hdr->length();
00620       if (len % 4) {
00621         hdr->wr_ptr(4 - (len % 4));
00622       }
00623     }
00624     return hdr;
00625   }

OpenDDS::DCPS::ACE_FACTORY_DEFINE ( OpenDDS_Rtps_Udp  ,
RtpsUdpLoader   
)

OpenDDS::DCPS::ACE_FACTORY_DEFINE ( OpenDDS_Shmem  ,
ShmemLoader   
)

OpenDDS::DCPS::ACE_FACTORY_DEFINE ( OpenDDS_Udp  ,
UdpLoader   
)

template<typename Container, typename FirstType, typename SecondType>
int OpenDDS::DCPS::bind ( Container &  c,
const FirstType &  first,
const SecondType &  second 
)

Definition at line 16 of file Util.h.

Referenced by OpenDDS::DCPS::ReplayerImpl::association_complete_i(), OpenDDS::DCPS::DataWriterImpl::association_complete_i(), OpenDDS::DCPS::DomainParticipantImpl::create_new_topic(), OpenDDS::DCPS::DomainParticipantFactoryImpl::create_participant(), OpenDDS::DCPS::ReceiveListenerSetMap::find_or_create(), OpenDDS::DCPS::ReceiveListenerSet::insert(), OpenDDS::DCPS::DataLinkSet::insert_link(), open_appropriate_socket_type(), OpenDDS::DCPS::WriteDataContainer::register_instance(), OpenDDS::DCPS::TransportRegistry::register_type(), OpenDDS::DCPS::DataLinkSet::select_links(), OpenDDS::DCPS::DataLinkSet::send_start(), OpenDDS::DCPS::OwnershipManager::set_instance_map(), and OpenDDS::DCPS::DataReaderImpl_T< MessageType >::store_instance_data().

00020 {
00021   if (c.find(first) == c.end()) {
00022     typedef typename Container::value_type container_value_type;
00023 
00024     if (c.insert(container_value_type(first, second)).second) {
00025       return 0;
00026     }
00027 
00028     return -1;
00029   }
00030 
00031   return 1;
00032 }

template<typename Container>
int OpenDDS::DCPS::unbind ( Container &  c,
const typename Container::key_type &  k,
typename Container::mapped_type &  v 
)

Definition at line 36 of file Util.h.

Referenced by OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant(), OpenDDS::DCPS::ReceiveListenerSetMap::release_subscriber(), OpenDDS::DCPS::ReceiveListenerSetMap::remove(), OpenDDS::DCPS::ReceiveListenerSet::remove(), OpenDDS::DCPS::ReceiveListenerSet::remove_all(), OpenDDS::DCPS::DataLinkSet::remove_link(), OpenDDS::DCPS::ReceiveListenerSetMap::remove_set(), unbind(), OpenDDS::DCPS::WriteDataContainer::unregister_all(), and OpenDDS::DCPS::OwnershipManager::unregister_reader().

00040 {
00041   typename Container::const_iterator iter = c.find(k);
00042 
00043   if (iter != c.end()) {
00044     v = iter->second;
00045 
00046     if (c.erase(k) == 1) {
00047       return 0;
00048     }
00049 
00050     return -1;
00051   }
00052 
00053   return -1;
00054 }

template<typename Container>
int OpenDDS::DCPS::unbind ( Container &  c,
const typename Container::key_type &  k 
)

Definition at line 58 of file Util.h.

References unbind().

00061 {
00062   typename Container::mapped_type v;
00063   return unbind(c, k, v);
00064 }

template<typename Container, typename Key>
int OpenDDS::DCPS::find ( Container &  c,
const Key &  key,
typename Container::mapped_type *&  value 
)

Definition at line 67 of file Util.h.

Referenced by OpenDDS::DCPS::TransportRegistry::create_inst(), OpenDDS::DCPS::DomainParticipantFactoryImpl::create_participant(), OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant(), OpenDDS::DCPS::WriteDataContainer::dispose(), OpenDDS::DCPS::ReceiveListenerSet::exist(), OpenDDS::DCPS::ReceiveListenerSetMap::find(), OpenDDS::DCPS::ReceiveListenerSetMap::find_or_create(), OpenDDS::DCPS::WriteDataContainer::get_handle_instance(), OpenDDS::DCPS::OwnershipManager::get_instance_map(), OpenDDS::DCPS::DomainParticipantFactoryImpl::lookup_participant(), OpenDDS::DCPS::WriteDataContainer::num_samples(), OpenDDS::DCPS::UdpTransport::passive_connection(), OpenDDS::DCPS::MulticastTransport::passive_connection(), OpenDDS::DCPS::WriteDataContainer::register_instance(), OpenDDS::DCPS::ReceiveListenerSetMap::release_subscriber(), OpenDDS::DCPS::ReceiveListenerSetMap::remove(), OpenDDS::DCPS::WriteDataContainer::unregister(), and OpenDDS::DCPS::OwnershipManager::unregister_reader().

00071 {
00072   typename Container::iterator iter =
00073     c.find(key);
00074 
00075   if (iter == c.end()) {
00076     return -1;
00077   }
00078 
00079   value = &iter->second;
00080   return 0;
00081 }

template<typename Container, typename Key>
int OpenDDS::DCPS::find ( const Container &  c,
const Key &  key,
typename Container::mapped_type &  value 
)

Definition at line 84 of file Util.h.

00088 {
00089   typename Container::const_iterator iter =
00090     c.find(key);
00091 
00092   if (iter == c.end()) {
00093     return -1;
00094   }
00095 
00096   value = iter->second;
00097   return 0;
00098 }

template<typename Container, typename ValueType>
int OpenDDS::DCPS::insert ( Container &  c,
const ValueType &  v 
)

Definition at line 101 of file Util.h.

Referenced by OpenDDS::DCPS::ReplayerImpl::add_association(), OpenDDS::DCPS::ReplayerImpl::association_complete_i(), OpenDDS::DCPS::DataWriterImpl::association_complete_i(), OpenDDS::DCPS::DomainParticipantFactoryImpl::create_participant(), OpenDDS::DCPS::DomainParticipantImpl::create_publisher(), OpenDDS::DCPS::DomainParticipantImpl::create_subscriber(), and OpenDDS::DCPS::DataWriterImpl::transport_assoc_done().

00104 {
00105   if (c.find(v) == c.end()) {
00106     if (c.insert(v).second) {
00107       return 0;
00108     }
00109 
00110     return -1;
00111   }
00112 
00113   return 1;
00114 }

template<typename Container, typename ValueType>
int OpenDDS::DCPS::remove ( Container &  c,
const ValueType &  v 
)

Definition at line 117 of file Util.h.

Referenced by OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_remove_visitor(), OpenDDS::DCPS::ReplayerImpl::association_complete(), OpenDDS::DCPS::DataWriterImpl::association_complete(), OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant(), OpenDDS::DCPS::DomainParticipantImpl::delete_publisher(), OpenDDS::DCPS::DomainParticipantImpl::delete_subscriber(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::match_endpoints(), OpenDDS::DCPS::ReplayerImpl::remove_associations(), OpenDDS::DCPS::DataLink::remove_on_start_callback(), and OpenDDS::DCPS::ContentFilteredTopicImpl::remove_reader().

00120 {
00121   if (c.find(v) != c.end()) {
00122     if (c.erase(v) == 1) {
00123       return 0;
00124     }
00125 
00126     return -1;
00127   }
00128 
00129   return -1;
00130 }

template<typename Seq>
void OpenDDS::DCPS::push_back ( Seq seq,
const typename Seq::value_type &  val 
)

std::vector-style push_back() for CORBA Sequences

Definition at line 134 of file Util.h.

Referenced by OpenDDS::DCPS::MulticastTransport::accept_datalink(), OpenDDS::DCPS::SubscriberImpl::get_datareaders(), OpenDDS::DCPS::DomainParticipantImpl::get_discovered_participants(), OpenDDS::DCPS::DomainParticipantImpl::get_discovered_topics(), OpenDDS::DCPS::ReceiveListenerSet::get_keys(), OpenDDS::DCPS::TransportReassembly::reassemble_i(), OpenDDS::DCPS::DataReaderImpl::remove_associations(), OpenDDS::DCPS::RecorderImpl::remove_associations_i(), OpenDDS::DCPS::DataReaderImpl::remove_associations_i(), OpenDDS::DCPS::RecorderImpl::remove_or_reschedule(), OpenDDS::DCPS::DataReaderImpl::remove_or_reschedule(), OpenDDS::DCPS::DataLink::target_intersection(), and OpenDDS::DCPS::DataWriterImpl_T< MessageType >::write_w_timestamp().

00135 {
00136   const CORBA::ULong len = seq.length();
00137   seq.length(len + 1);
00138   seq[len] = val;
00139 }

bool OpenDDS::DCPS::resend_data_expired ( DataSampleElement const &  element,
DDS::LifespanQosPolicy const &  lifespan 
)

Todo:
Refactor this code and DataReaderImpl::data_expired() to a common function.

Definition at line 37 of file WriteDataContainer.cpp.

References DCPS_debug_level, DDS::LifespanQosPolicy::duration, DDS::DURATION_INFINITE_NSEC, DDS::DURATION_INFINITE_SEC, OpenDDS::DCPS::DataSampleElement::get_header(), OpenDDS::DCPS::DataSampleHeader::source_timestamp_nanosec_, OpenDDS::DCPS::DataSampleHeader::source_timestamp_sec_, and time_to_time_value().

Referenced by OpenDDS::DCPS::WriteDataContainer::copy_and_append().

00039 {
00040   if (lifespan.duration.sec != DDS::DURATION_INFINITE_SEC
00041       || lifespan.duration.nanosec != DDS::DURATION_INFINITE_NSEC) {
00042     // Finite lifespan.  Check if data has expired.
00043 
00044     DDS::Time_t const tmp = {
00045       element.get_header().source_timestamp_sec_ + lifespan.duration.sec,
00046       element.get_header().source_timestamp_nanosec_ + lifespan.duration.nanosec
00047     };
00048 
00049     ACE_Time_Value const now(ACE_OS::gettimeofday());
00050     ACE_Time_Value const expiration_time(time_to_time_value(tmp));
00051 
00052     if (now >= expiration_time) {
00053       if (DCPS_debug_level >= 8) {
00054         ACE_Time_Value const diff(now - expiration_time);
00055         ACE_DEBUG((LM_DEBUG,
00056                    ACE_TEXT("OpenDDS (%P|%t) Data to be sent ")
00057                    ACE_TEXT("expired by %d seconds, %d microseconds.\n"),
00058                    diff.sec(),
00059                    diff.usec()));
00060       }
00061 
00062       return true;  // Data expired.
00063     }
00064   }
00065 
00066   return false;
00067 }

typedef OpenDDS::DCPS::OPENDDS_MAP ( DDS::InstanceHandle_t  ,
PublicationInstance *   
)


Variable Documentation

const char* const OpenDDS::DCPS::BUILT_IN_PARTICIPANT_TOPIC = "DCPSParticipant"

Definition at line 14 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::LocalParticipant< OpenDDS::DCPS::StaticEndpointManager >::bit_key_to_repo_id(), OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DomainParticipantImpl::get_discovered_participant_data(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), OpenDDS::RTPS::Spdp::part_bit(), and OpenDDS::DCPS::LocalParticipant< OpenDDS::DCPS::StaticEndpointManager >::part_bit().

const char* const OpenDDS::DCPS::BUILT_IN_PARTICIPANT_TOPIC_TYPE = "PARTICIPANT_BUILT_IN_TOPIC_TYPE"

Definition at line 15 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

const char* const OpenDDS::DCPS::BUILT_IN_TOPIC_TOPIC = "DCPSTopic"

Definition at line 17 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DomainParticipantImpl::get_discovered_topic_data(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), and OpenDDS::RTPS::Sedp::topic_bit().

const char* const OpenDDS::DCPS::BUILT_IN_TOPIC_TOPIC_TYPE = "TOPIC_BUILT_IN_TOPIC_TYPE"

Definition at line 18 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

const char* const OpenDDS::DCPS::BUILT_IN_SUBSCRIPTION_TOPIC = "DCPSSubscription"

Definition at line 20 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::bit_key_to_repo_id(), OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DataWriterImpl::get_matched_subscription_data(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), OpenDDS::DCPS::StaticEndpointManager::sub_bit(), and OpenDDS::RTPS::Sedp::sub_bit().

const char* const OpenDDS::DCPS::BUILT_IN_SUBSCRIPTION_TOPIC_TYPE = "SUBSCRIPTION_BUILT_IN_TOPIC_TYPE"

Definition at line 21 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

const char* const OpenDDS::DCPS::BUILT_IN_PUBLICATION_TOPIC = "DCPSPublication"

Definition at line 23 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::bit_key_to_repo_id(), OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DataReaderImpl::get_matched_publication_data(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), OpenDDS::DCPS::BitPubListenerImpl::on_data_available(), OpenDDS::DCPS::DomainParticipantImpl::ownership_manager(), OpenDDS::FaceTSS::populate_header_received(), OpenDDS::DCPS::StaticEndpointManager::pub_bit(), OpenDDS::RTPS::Sedp::pub_bit(), and OpenDDS::DCPS::RecorderImpl::repoid_to_bit_key().

const char* const OpenDDS::DCPS::BUILT_IN_PUBLICATION_TOPIC_TYPE = "PUBLICATION_BUILT_IN_TOPIC_TYPE"

Definition at line 24 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_PARTICIPANT_TOPIC

Definition at line 14 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::LocalParticipant< OpenDDS::DCPS::StaticEndpointManager >::bit_key_to_repo_id(), OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DomainParticipantImpl::get_discovered_participant_data(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), OpenDDS::DCPS::LocalParticipant< OpenDDS::DCPS::StaticEndpointManager >::part_bit(), and OpenDDS::RTPS::Spdp::part_bit().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_PARTICIPANT_TOPIC_TYPE

Definition at line 15 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_TOPIC_TOPIC

Definition at line 17 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DomainParticipantImpl::get_discovered_topic_data(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), and OpenDDS::RTPS::Sedp::topic_bit().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_TOPIC_TOPIC_TYPE

Definition at line 18 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_SUBSCRIPTION_TOPIC

Definition at line 20 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::bit_key_to_repo_id(), OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DataWriterImpl::get_matched_subscription_data(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), OpenDDS::RTPS::Sedp::sub_bit(), and OpenDDS::DCPS::StaticEndpointManager::sub_bit().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_SUBSCRIPTION_TOPIC_TYPE

Definition at line 21 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_PUBLICATION_TOPIC

Definition at line 23 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::bit_key_to_repo_id(), OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::DataReaderImpl::get_matched_publication_data(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::DCPS::DataWriterImpl::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), OpenDDS::DCPS::BitPubListenerImpl::on_data_available(), OpenDDS::DCPS::DomainParticipantImpl::ownership_manager(), OpenDDS::FaceTSS::populate_header_received(), OpenDDS::RTPS::Sedp::pub_bit(), OpenDDS::DCPS::StaticEndpointManager::pub_bit(), and OpenDDS::DCPS::RecorderImpl::repoid_to_bit_key().

OpenDDS_Dcps_Export const char* const OpenDDS::DCPS::BUILT_IN_PUBLICATION_TOPIC_TYPE

Definition at line 24 of file BuiltInTopicUtils.cpp.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), and DCPS_IR_Domain::publish_topic_bit().

const CORBA::ULong OpenDDS::DCPS::MAX_READERS_PER_ELEM = 5

Definition at line 21 of file DataSampleElement.h.

Referenced by OpenDDS::DCPS::DataSampleElement::DataSampleElement().

OpenDDS_Dcps_Export unsigned int OpenDDS::DCPS::DCPS_debug_level = 0

Logging verbosity level. set by Service_Participant value guidelines: 1 - logs that should happen once per process or are warnings 2 - logs that should happen once per DDS entity 4 - logs that are related to administrative interfaces 6 - logs that should happen every Nth sample write/read 8 - logs that should happen once per sample write/read 10 - logs that may happen more than once per sample write/read

Definition at line 12 of file debug.cpp.

Referenced by OpenDDS::DCPS::DataReaderImpl::accept_coherent(), OpenDDS::DCPS::TcpConnection::active_reconnect_i(), OpenDDS::Federator::UpdateReceiver< DataType >::add(), DCPS_IR_Subscription::add_associated_publication(), DCPS_IR_Publication::add_associated_subscription(), OpenDDS::DCPS::ReplayerImpl::add_association(), OpenDDS::DCPS::RecorderImpl::add_association(), OpenDDS::DCPS::DataWriterRemoteImpl::add_association(), OpenDDS::DCPS::DataWriterImpl::add_association(), OpenDDS::DCPS::DataReaderImpl::add_association(), TAO_DDS_DCPSInfo_i::add_domain_participant(), DCPS_IR_Domain::add_participant(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::add_publication(), TAO_DDS_DCPSInfo_i::add_publication(), DCPS_IR_Participant::add_publication(), DCPS_IR_Topic::add_publication_reference(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::add_subscription(), TAO_DDS_DCPSInfo_i::add_subscription(), DCPS_IR_Participant::add_subscription(), DCPS_IR_Topic_Description::add_subscription_reference(), DCPS_IR_Topic::add_subscription_reference(), TAO_DDS_DCPSInfo_i::add_topic(), DCPS_IR_Topic_Description::add_topic(), DCPS_IR_Domain::add_topic_description(), DCPS_IR_Domain::add_topic_i(), DCPS_IR_Participant::add_topic_reference(), OpenDDS::DCPS::LocalParticipant< OpenDDS::DCPS::StaticEndpointManager >::assert_topic(), TAO_DDS_DCPSInfo_i::assert_topic(), OpenDDS::DCPS::StaticEndpointManager::assign_publication_key(), OpenDDS::DCPS::TransportClient::associate(), DCPS_IR_Topic_Description::associate(), OpenDDS::DCPS::ReplayerImpl::association_complete(), TAO_DDS_DCPSInfo_i::association_complete(), OpenDDS::DCPS::DataWriterImpl::association_complete(), OpenDDS::DCPS::ReplayerImpl::association_complete_i(), OpenDDS::DCPS::DataWriterImpl::association_complete_i(), OpenDDS::DCPS::OwnershipManager::broadcast_new_owner(), DCPS_IR_Publication::call_association_complete(), OpenDDS::DCPS::DataLink::cancel_release(), OpenDDS::DCPS::RequestedDeadlineWatchdog::cancel_timer(), OpenDDS::DCPS::DataReaderImpl::LivelinessTimer::check_liveliness_i(), FACE::TS::cleanup_opendds_participant(), FACE::TS::cleanup_opendds_publisher(), FACE::TS::cleanup_opendds_subscriber(), OpenDDS::Federator::UpdateReceiver< DataType >::close(), OpenDDS::RTPS::Spdp::SpdpTransport::close(), OpenDDS::DCPS::DirectPriorityMapper::codepoint(), OpenDDS::Federator::Config::Config(), OpenDDS::DCPS::TcpTransport::connect_tcp_datalink(), OpenDDS::Federator::ManagerImpl::create(), OpenDDS::DCPS::DataWriterImpl::create_ack_token(), OpenDDS::DCPS::DomainParticipantImpl::create_contentfilteredtopic(), OpenDDS::DCPS::DataWriterImpl::create_control_message(), OpenDDS::DCPS::DomainParticipantImpl::create_multitopic(), OpenDDS::DCPS::DataReaderImpl::create_querycondition(), OpenDDS::DCPS::DataWriterImpl::create_sample_data_message(), OpenDDS::DCPS::DomainParticipantImpl::create_topic_i(), OpenDDS::DCPS::WriteDataContainer::data_delivered(), OpenDDS::DCPS::WriteDataContainer::data_dropped(), OpenDDS::RTPS::Spdp::data_received(), OpenDDS::RTPS::Sedp::data_received(), OpenDDS::DCPS::RecorderImpl::data_received(), OpenDDS::DCPS::DataReaderImpl::data_received(), OpenDDS::DCPS::DataLink::data_received_i(), OpenDDS::DCPS::DataLink::DataLink(), OpenDDS::DCPS::DomainParticipantImpl::delete_contentfilteredtopic(), OpenDDS::DCPS::PublisherImpl::delete_datawriter(), OpenDDS::Federator::ManagerImpl::destroy(), OpenDDS::DCPS::TransportClient::disassociate(), DCPS_IR_Subscription::disassociate_participant(), DCPS_IR_Publication::disassociate_participant(), TAO_DDS_DCPSInfo_i::disassociate_publication(), DCPS_IR_Subscription::disassociate_publication(), TAO_DDS_DCPSInfo_i::disassociate_subscription(), DCPS_IR_Publication::disassociate_subscription(), DCPS_IR_Subscription::disassociate_topic(), DCPS_IR_Publication::disassociate_topic(), OpenDDS::Federator::ManagerImpl::discover_federation(), OpenDDS::DCPS::InfoRepoDiscovery::Config::discovery_config(), OpenDDS::DCPS::DataReaderImpl::dispose_unregister(), TAO_DDS_DCPSInfo_i::domain(), OpenDDS::DCPS::ReplayerImpl::enable(), OpenDDS::DCPS::RecorderImpl::enable(), OpenDDS::DCPS::DataWriterImpl::enable(), OpenDDS::DCPS::DataReaderImpl::enable(), OpenDDS::DCPS::DataWriterImpl_T< MessageType >::enable_specific(), OpenDDS::DCPS::DataReaderImpl_T< MessageType >::enable_specific(), OpenDDS::DCPS::TransportClient::enable_transport_using_config(), OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand::execute(), OpenDDS::DCPS::RemoveAssociationSweeper< T >::ScheduleCommand::execute(), OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CancelCommand::execute(), OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::ScheduleCommand::execute(), OpenDDS::DCPS::FailoverListener::FailoverListener(), OpenDDS::Federator::ManagerImpl::federation_id(), OpenDDS::DCPS::DataReaderImpl::filter_instance(), OpenDDS::DCPS::DataReaderImpl::filter_sample(), OpenDDS::Federator::ManagerImpl::finalize(), FACE::TS::find_or_create_dp(), FACE::TS::find_or_create_pub(), FACE::TS::find_or_create_sub(), DCPS_IR_Participant::find_publication_reference(), DCPS_IR_Participant::find_subscription_reference(), OpenDDS::DCPS::DomainParticipantImpl::find_topic(), DCPS_IR_Domain::find_topic(), DCPS_IR_Domain::find_topic_description(), DCPS_IR_Participant::find_topic_reference(), OpenDDS::DCPS::Dynamic_Cached_Allocator_With_Overflow< ACE_Thread_Mutex >::free(), OpenDDS::DCPS::Cached_Allocator_With_Overflow< DataSampleHeader, ACE_Null_Mutex >::free(), FACE::TS::Get_Connection_Parameters(), OpenDDS::DCPS::DataDurabilityCache::get_data(), OpenDDS::DCPS::Service_Participant::get_data_durability_cache(), OpenDDS::DCPS::QOS_XML_Loader::get_datareader_qos(), OpenDDS::DCPS::Service_Participant::get_discovery(), OpenDDS::DCPS::Service_Participant::get_domain_participant_factory(), DCPS_IR_Topic_Description::get_first_topic(), OpenDDS::DCPS::QOS_XML_Loader::get_participant_qos(), ParticipantQos_Handler::get_participant_qos(), OpenDDS::DCPS::QOS_XML_File_Handler::get_profile(), OpenDDS::DCPS::QOS_XML_Loader::get_profile_name(), OpenDDS::DCPS::QOS_XML_Loader::get_publisher_qos(), OpenDDS::DCPS::QOS_XML_Loader::get_subscriber_qos(), OpenDDS::DCPS::StatusConditionImpl::get_trigger_value(), OpenDDS::DCPS::QOS_XML_Loader::get_xml_file_name(), OpenDDS::DCPS::TcpConnection::handle_close(), OpenDDS::DCPS::ScheduleOutputHandler::handle_exception(), OpenDDS::DCPS::DataLink::handle_exception(), OpenDDS::Federator::InfoRepoMulticastResponder::handle_input(), OpenDDS::DCPS::TcpConnection::handle_output(), OpenDDS::DCPS::RemoveAssociationSweeper< T >::handle_timeout(), OpenDDS::DCPS::InstanceState::handle_timeout(), OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::handle_timeout(), OpenDDS::DCPS::DomainParticipantImpl::ignore_participant(), DCPS_IR_Participant::ignore_participant(), OpenDDS::DCPS::DomainParticipantImpl::ignore_publication(), DCPS_IR_Participant::ignore_publication(), OpenDDS::DCPS::DomainParticipantImpl::ignore_subscription(), DCPS_IR_Participant::ignore_subscription(), OpenDDS::DCPS::DomainParticipantImpl::ignore_topic(), DCPS_IR_Participant::ignore_topic(), OpenDDS::DCPS::QOS_XML_File_Handler::init(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::MultiTopicDataReaderBase::init(), InfoRepo::init(), OpenDDS::DCPS::DataDurabilityCache::init(), DCPS_IR_Domain::init_built_in_topics(), OpenDDS::Federator::ManagerImpl::initialize(), OpenDDS::DCPS::Service_Participant::initializeScheduling(), OpenDDS::DCPS::TransportClient::initiate_connect_i(), OpenDDS::DCPS::DataDurabilityCache::insert(), OpenDDS::DCPS::BIT_Helper_1< BIT_Reader, BIT_Reader_var, BIT_DataSeq >::instance_handle_to_bit_data(), OpenDDS::Federator::ManagerImpl::join_federation(), OpenDDS::Federator::ManagerImpl::leave_federation(), OpenDDS::DCPS::Service_Participant::load_common_configuration(), OpenDDS::DCPS::Service_Participant::load_domain_configuration(), OpenDDS::DCPS::SubscriberImpl::lookup_datareader(), OpenDDS::DCPS::PublisherImpl::lookup_datawriter(), OpenDDS::DCPS::ReplayerImpl::lookup_instance_handles(), OpenDDS::DCPS::RecorderImpl::lookup_instance_handles(), OpenDDS::DCPS::DataWriterImpl::lookup_instance_handles(), OpenDDS::DCPS::DataReaderImpl::lookup_instance_handles(), OpenDDS::DCPS::DomainParticipantFactoryImpl::lookup_participant(), OpenDDS::DCPS::DataLink::make_reservation(), OpenDDS::DCPS::Dynamic_Cached_Allocator_With_Overflow< ACE_Thread_Mutex >::malloc(), OpenDDS::DCPS::Cached_Allocator_With_Overflow< DataSampleHeader, ACE_Null_Mutex >::malloc(), OpenDDS::Federator::ManagerImpl::ManagerImpl(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::match(), OpenDDS::DCPS::ReliableSession::nak_received(), OpenDDS::DCPS::ReliableSession::nakack_received(), OpenDDS::DCPS::DataReaderImpl::notify_liveliness_change(), OpenDDS::DCPS::WriteDataContainer::obtain_buffer(), OpenDDS::DCPS::FailoverListener::on_budget_exceeded(), OpenDDS::DCPS::FailoverListener::on_connection_deleted(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::on_data_available(), OpenDDS::DCPS::MultiTopicDataReaderBase::Listener::on_data_available(), OpenDDS::DCPS::FailoverListener::on_data_available(), OpenDDS::FaceTSS::Listener< Msg >::on_data_available(), OpenDDS::DCPS::BitPubListenerImpl::on_data_available(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::on_liveliness_changed(), OpenDDS::DCPS::FailoverListener::on_liveliness_changed(), OpenDDS::DCPS::TransportClient::on_notification_of_connection_deletion(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::on_requested_deadline_missed(), OpenDDS::DCPS::FailoverListener::on_requested_deadline_missed(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::on_requested_incompatible_qos(), OpenDDS::DCPS::FailoverListener::on_requested_incompatible_qos(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::on_sample_lost(), OpenDDS::DCPS::FailoverListener::on_sample_lost(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::on_sample_rejected(), OpenDDS::DCPS::FailoverListener::on_sample_rejected(), OpenDDS::DCPS::FailoverListener::on_subscription_disconnected(), OpenDDS::DCPS::FailoverListener::on_subscription_lost(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::on_subscription_matched(), OpenDDS::DCPS::FailoverListener::on_subscription_matched(), OpenDDS::DCPS::FailoverListener::on_subscription_reconnected(), OpenDDS::Federator::UpdateReceiver< DataType >::open(), OpenDDS::DCPS::ThreadPerConnectionSendTask::open(), OpenDDS::DCPS::PerConnectionSynch::open(), OpenDDS::RTPS::Spdp::SpdpTransport::open_unicast_socket(), OpenDDS::DCPS::StaticDiscovery::parse_datareaderqos(), OpenDDS::DCPS::StaticDiscovery::parse_datawriterqos(), OpenDDS::DCPS::StaticDiscovery::parse_endpoints(), OpenDDS::DCPS::StaticDiscovery::parse_publisherqos(), OpenDDS::DCPS::StaticDiscovery::parse_subscriberqos(), OpenDDS::DCPS::StaticDiscovery::parse_topics(), OpenDDS::FaceTSS::populate_header_received(), OpenDDS::DCPS::DataReaderImpl::process_latency(), OpenDDS::Federator::ManagerImpl::processCreate(), OpenDDS::Federator::ManagerImpl::processDeferred(), OpenDDS::Federator::ManagerImpl::processDelete(), OpenDDS::Federator::Config::processFile(), OpenDDS::Federator::UpdateProcessor< DataType >::processSample(), OpenDDS::Federator::ManagerImpl::processUpdateFilterExpressionParams(), OpenDDS::Federator::ManagerImpl::processUpdateQos1(), OpenDDS::Federator::ManagerImpl::processUpdateQos2(), DCPS_IR_Domain::publish_participant_bit(), DCPS_IR_Domain::publish_publication_bit(), DCPS_IR_Domain::publish_subscription_bit(), DCPS_IR_Domain::publish_topic_bit(), pullValues(), OpenDDS::DCPS::ReactorSynch::ReactorSynch(), QOS_PubSub_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), QOS_DwTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), QOS_DataReader_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), OpenDDS::DCPS::SubscriberImpl::reader_enabled(), DCPS_IR_Domain::reassociate_built_in_topic_pubs(), FACE::TS::receive_header(), TAO_DDS_DCPSInfo_i::receive_image(), OpenDDS::DCPS::TcpConnection::reconnect(), OpenDDS::DCPS::WriteDataContainer::reenqueue_all(), OpenDDS::DCPS::DataReaderImpl::reject_coherent(), OpenDDS::DCPS::TcpTransport::release_datalink(), OpenDDS::DCPS::DataLink::release_reservations(), DCPS_IR_Participant::remove_all_dependents(), DCPS_IR_Subscription::remove_associated_publication(), DCPS_IR_Publication::remove_associated_subscription(), OpenDDS::DCPS::ReplayerImpl::remove_associations(), OpenDDS::DCPS::DataReaderImpl::remove_associations(), OpenDDS::DCPS::RecorderImpl::remove_associations_i(), OpenDDS::DCPS::DataReaderImpl::remove_associations_i(), TAO_DDS_DCPSInfo_i::remove_by_owner(), OpenDDS::DCPS::LocalParticipant< OpenDDS::DCPS::StaticEndpointManager >::remove_discovered_participant(), TAO_DDS_DCPSInfo_i::remove_domain_participant(), OpenDDS::RTPS::Sedp::remove_entities_belonging_to(), OpenDDS::RTPS::Spdp::remove_expired_participants(), OpenDDS::DCPS::WriteDataContainer::remove_oldest_historical_sample(), OpenDDS::DCPS::WriteDataContainer::remove_oldest_sample(), DCPS_IR_Domain::remove_participant(), TAO_DDS_DCPSInfo_i::remove_publication(), DCPS_IR_Participant::remove_publication(), DCPS_IR_Topic::remove_publication_reference(), TAO_DDS_DCPSInfo_i::remove_subscription(), DCPS_IR_Participant::remove_subscription(), DCPS_IR_Topic_Description::remove_subscription_reference(), DCPS_IR_Topic::remove_subscription_reference(), TAO_DDS_DCPSInfo_i::remove_topic(), DCPS_IR_Topic_Description::remove_topic(), DCPS_IR_Participant::remove_topic_reference(), OpenDDS::DCPS::OwnershipManager::remove_writers(), OpenDDS::Federator::ManagerImpl::repository(), OpenDDS::DCPS::Service_Participant::repository_lost(), resend_data_expired(), OpenDDS::DCPS::TcpSendStrategy::schedule_output(), OpenDDS::DCPS::DataLink::schedule_stop(), OpenDDS::DCPS::RequestedDeadlineWatchdog::schedule_timer(), OpenDDS::DCPS::TcpSendStrategy::send_bytes_i(), OpenDDS::DCPS::DataLinkSet::send_control(), OpenDDS::DCPS::TransportClient::send_i(), OpenDDS::DCPS::ReliableSession::send_naks(), OpenDDS::DCPS::TransportClient::send_response(), OpenDDS::DCPS::WriteDataContainer::sequence_acknowledged(), set_DCPS_debug_level(), OpenDDS::DCPS::DataLink::set_dscp_codepoint(), OpenDDS::DCPS::OwnershipManager::set_instance_map(), OpenDDS::DCPS::Service_Participant::set_repo_domain(), OpenDDS::DCPS::Service_Participant::set_repo_ior(), OpenDDS::DCPS::ConditionImpl::signal_all(), OpenDDS::RTPS::Spdp::SpdpTransport::SpdpTransport(), OpenDDS::DCPS::TcpReceiveStrategy::start_i(), OpenDDS::Federator::UpdateReceiver< DataType >::stop(), OpenDDS::Federator::UpdateReceiver< DataType >::svc(), OpenDDS::RTPS::Sedp::Task::svc(), OpenDDS::RTPS::Sedp::Task::svc_i(), DCPS_IR_Participant::takeOwnership(), OpenDDS::DCPS::DirectPriorityMapper::thread_priority(), OpenDDS::DCPS::DataWriterImpl::transport_assoc_done(), OpenDDS::DCPS::DataReaderImpl::transport_assoc_done(), OpenDDS::DCPS::TransportClient::transport_detached(), DCPS_IR_Topic_Description::try_associate(), DCPS_IR_Topic::try_associate(), DCPS_IR_Topic_Description::try_associate_subscription(), OpenDDS::DCPS::OwnershipManager::unregister_reader(), OpenDDS::Federator::ManagerImpl::update(), TAO_DDS_DCPSInfo_i::update_domain_participant_qos(), DCPS_IR_Publication::update_expr_params(), DCPS_IR_Subscription::update_incompatible_qos(), DCPS_IR_Publication::update_incompatible_qos(), OpenDDS::DCPS::DataReaderImpl::update_ownership_strength(), TAO_DDS_DCPSInfo_i::update_publication_qos(), TAO_DDS_DCPSInfo_i::update_subscription_params(), OpenDDS::DCPS::DataWriterImpl::update_subscription_params(), TAO_DDS_DCPSInfo_i::update_subscription_qos(), TAO_DDS_DCPSInfo_i::update_topic_qos(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::UpdateListener(), OpenDDS::Federator::UpdateProcessor< DataType >::UpdateProcessor(), OpenDDS::Federator::UpdateReceiver< DataType >::UpdateReceiver(), OpenDDS::DCPS::SubscriberImpl::validate_datareader_qos(), OpenDDS::DCPS::WriteDataContainer::wait_ack_of_seq(), OpenDDS::DCPS::PublisherImpl::wait_for_acknowledgments(), OpenDDS::DCPS::DataWriterImpl::wait_for_acknowledgments(), OpenDDS::DCPS::MessageTracker::wait_messages_pending(), OpenDDS::DCPS::WriteDataContainer::wait_pending(), OpenDDS::DCPS::WriteDataContainer::WriteDataContainer(), OpenDDS::DCPS::DataReaderImpl::writer_activity(), OpenDDS::DCPS::DataReaderImpl::writer_became_alive(), OpenDDS::DCPS::DataReaderImpl::writer_became_dead(), OpenDDS::DCPS::DataReaderImpl::writer_removed(), OpenDDS::DCPS::WriterInfo::WriterInfo(), OpenDDS::Federator::Config::~Config(), OpenDDS::DCPS::DomainParticipantFactoryImpl::~DomainParticipantFactoryImpl(), OpenDDS::DCPS::FailoverListener::~FailoverListener(), OpenDDS::Federator::ManagerImpl::~ManagerImpl(), OpenDDS::DCPS::ReactorSynch::~ReactorSynch(), OpenDDS::DCPS::Service_Participant::~Service_Participant(), OpenDDS::RTPS::Spdp::~Spdp(), OpenDDS::RTPS::Spdp::SpdpTransport::~SpdpTransport(), OpenDDS::Federator::UpdateListener< DataType, ReaderType >::~UpdateListener(), OpenDDS::Federator::UpdateProcessor< DataType >::~UpdateProcessor(), OpenDDS::Federator::UpdateReceiver< DataType >::~UpdateReceiver(), and OpenDDS::DCPS::WriteDataContainer::~WriteDataContainer().

const GuidVendorId_t OpenDDS::DCPS::VENDORID_OCI = { 0x01, 0x03 }

Vendor Id value specified for OCI is used for OpenDDS.

Definition at line 29 of file GuidUtils.h.

Referenced by OpenDDS::DCPS::EndpointRegistry::build_id(), OpenDDS::DCPS::GuidBuilder::create(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::is_opendds(), and OpenDDS::RTPS::GuidGenerator::populate().

const GuidPrefix_t OpenDDS::DCPS::GUIDPREFIX_UNKNOWN = { 0 }

Nil value for the GUID prefix (participant identifier).

Definition at line 32 of file GuidUtils.h.

Referenced by OpenDDS::DCPS::RtpsSampleHeader::populate_data_sample_submessages().

const EntityId_t OpenDDS::DCPS::ENTITYID_UNKNOWN = { {0x00,0x00,0x00}, 0x00}

Entity Id values specified in Version 2.1 of RTPS specification.

Definition at line 35 of file GuidUtils.h.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::add_gap_submsg(), OpenDDS::DCPS::GuidBuilder::create(), OpenDDS::DCPS::RtpsUdpDataLink::customize_queue_element(), OpenDDS::DCPS::RtpsUdpDataLink::datareader_dispatch(), OpenDDS::DCPS::RtpsUdpReceiveStrategy::deliver_sample(), OpenDDS::DCPS::RtpsUdpDataLink::generate_nack_frags(), OpenDDS::DCPS::RtpsUdpDataLink::marshal_gaps(), OpenDDS::DCPS::RtpsSampleHeader::populate_data_control_submessages(), OpenDDS::DCPS::RtpsSampleHeader::populate_data_sample_submessages(), OpenDDS::DCPS::RtpsUdpDataLink::send_heartbeats(), OpenDDS::DCPS::RtpsUdpDataLink::send_heartbeats_manual(), and OpenDDS::RTPS::Spdp::SpdpTransport::SpdpTransport().

const EntityId_t OpenDDS::DCPS::ENTITYID_PARTICIPANT = { {0x00,0x00,0x01}, 0xc1}

Definition at line 36 of file GuidUtils.h.

Referenced by OpenDDS::DCPS::StaticDiscovery::add_domain_participant(), OpenDDS::RTPS::RtpsDiscovery::add_domain_participant(), OpenDDS::DCPS::LocalParticipant< OpenDDS::DCPS::StaticEndpointManager >::bit_key_to_repo_id(), OpenDDS::RTPS::Spdp::data_received(), OpenDDS::RTPS::Sedp::data_received(), OpenDDS::RTPS::Sedp::disassociate(), OpenDDS::RTPS::Spdp::SpdpTransport::handle_input(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::match(), RepoIdGenerator::next(), OpenDDS::RTPS::Sedp::populate_transport_locator_sequence(), OpenDDS::RTPS::Sedp::Task::svc_i(), and OpenDDS::RTPS::ParameterListConverter::to_param_list().

const EntityId_t OpenDDS::DCPS::ENTITYID_SEDP_BUILTIN_TOPIC_WRITER = { {0x00,0x00,0x02}, 0xc2}

Definition at line 37 of file GuidUtils.h.

const EntityId_t OpenDDS::DCPS::ENTITYID_SEDP_BUILTIN_TOPIC_READER = { {0x00,0x00,0x02}, 0xc7}

Definition at line 38 of file GuidUtils.h.

const EntityId_t OpenDDS::DCPS::ENTITYID_SEDP_BUILTIN_PUBLICATIONS_WRITER = { {0x00,0x00,0x03}, 0xc2}

Definition at line 39 of file GuidUtils.h.

Referenced by OpenDDS::RTPS::Sedp::associate(), OpenDDS::RTPS::Sedp::Reader::data_received(), and OpenDDS::RTPS::Sedp::disassociate().

const EntityId_t OpenDDS::DCPS::ENTITYID_SEDP_BUILTIN_PUBLICATIONS_READER = { {0x00,0x00,0x03}, 0xc7}

Definition at line 40 of file GuidUtils.h.

Referenced by OpenDDS::RTPS::Sedp::disassociate(), and OpenDDS::RTPS::Sedp::Task::svc_i().

const EntityId_t OpenDDS::DCPS::ENTITYID_SEDP_BUILTIN_SUBSCRIPTIONS_WRITER = { {0x00,0x00,0x04}, 0xc2}

Definition at line 41 of file GuidUtils.h.

Referenced by OpenDDS::RTPS::Sedp::associate(), OpenDDS::RTPS::Sedp::Reader::data_received(), and OpenDDS::RTPS::Sedp::disassociate().

const EntityId_t OpenDDS::DCPS::ENTITYID_SEDP_BUILTIN_SUBSCRIPTIONS_READER = { {0x00,0x00,0x04}, 0xc7}

Definition at line 42 of file GuidUtils.h.

Referenced by OpenDDS::RTPS::Sedp::disassociate(), and OpenDDS::RTPS::Sedp::Task::svc_i().

const EntityId_t OpenDDS::DCPS::ENTITYID_SPDP_BUILTIN_PARTICIPANT_WRITER = { {0x00,0x01,0x00}, 0xc2}

Definition at line 43 of file GuidUtils.h.

Referenced by OpenDDS::RTPS::Spdp::SpdpTransport::handle_input(), and OpenDDS::RTPS::Spdp::SpdpTransport::SpdpTransport().

const EntityId_t OpenDDS::DCPS::ENTITYID_SPDP_BUILTIN_PARTICIPANT_READER = { {0x00,0x01,0x00}, 0xc7}

Definition at line 44 of file GuidUtils.h.

const EntityId_t OpenDDS::DCPS::ENTITYID_P2P_BUILTIN_PARTICIPANT_MESSAGE_WRITER = { {0x00,0x02,0x00}, 0xc2}

Definition at line 45 of file GuidUtils.h.

Referenced by OpenDDS::RTPS::Sedp::associate(), OpenDDS::RTPS::Sedp::Reader::data_received(), and OpenDDS::RTPS::Sedp::disassociate().

const EntityId_t OpenDDS::DCPS::ENTITYID_P2P_BUILTIN_PARTICIPANT_MESSAGE_READER = { {0x00,0x02,0x00}, 0xc7}

Definition at line 46 of file GuidUtils.h.

Referenced by OpenDDS::RTPS::Sedp::disassociate(), and OpenDDS::RTPS::Sedp::Task::svc_i().

const GUID_t OpenDDS::DCPS::GUID_UNKNOWN = { {0,0,0,0,0,0,0,0,0,0,0,0}, { {0,0,0}, 0} }

Nil value for GUID.

Definition at line 49 of file GuidUtils.h.

Referenced by OpenDDS::DCPS::ReplayerImpl::add_association(), OpenDDS::DCPS::RecorderImpl::add_association(), OpenDDS::DCPS::DataWriterImpl::add_association(), OpenDDS::DCPS::DataReaderImpl::add_association(), OpenDDS::RTPS::RtpsDiscovery::add_domain_participant(), OpenDDS::DCPS::InfoRepoDiscovery::add_domain_participant(), TAO_DDS_DCPSInfo_i::add_domain_participant(), OpenDDS::DCPS::RtpsUdpDataLink::add_gap_submsg(), OpenDDS::DCPS::InfoRepoDiscovery::add_publication(), TAO_DDS_DCPSInfo_i::add_publication(), OpenDDS::DCPS::InfoRepoDiscovery::add_subscription(), TAO_DDS_DCPSInfo_i::add_subscription(), DCPS_IR_Domain::add_topic(), DCPS_IR_Domain::add_topic_i(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::assert_topic(), OpenDDS::DCPS::SubscriberImpl::coherent_change_received(), OpenDDS::DCPS::DomainParticipantFactoryImpl::create_participant(), OpenDDS::DCPS::RtpsUdpDataLink::customize_queue_element(), OpenDDS::DCPS::DataReaderImpl::data_received(), OpenDDS::DCPS::DataLink::data_received_i(), OpenDDS::DCPS::DataLink::data_received_include(), OpenDDS::DCPS::DataSampleElement::DataSampleElement(), OpenDDS::DCPS::PublisherImpl::delete_contained_entities(), OpenDDS::DCPS::PublisherImpl::delete_datawriter(), OpenDDS::DCPS::ReplayerImpl::enable(), OpenDDS::DCPS::RecorderImpl::enable(), OpenDDS::DCPS::DataWriterImpl::enable(), OpenDDS::DCPS::DataReaderImpl::enable(), OpenDDS::DCPS::RtpsUdpDataLink::end_historic_samples(), OpenDDS::DCPS::ThreadPerConnectionSendTask::execute(), OpenDDS::DCPS::DataReaderImpl::filter_instance(), OpenDDS::DCPS::RtpsUdpDataLink::get_locators(), OpenDDS::DCPS::DataWriterImpl::get_next_handle(), OpenDDS::DCPS::DataReaderImpl::get_next_handle(), OpenDDS::DCPS::DomainParticipantImpl::get_repoid(), OpenDDS::DCPS::WriterStats::get_stats(), OpenDDS::DCPS::DomainParticipantImpl::id_to_handle(), OpenDDS::DCPS::TransportQueueElement::MatchOnPubId::matches(), operator>>(), OpenDDS::DCPS::TransportControlElement::publication_id(), OpenDDS::DCPS::OwnershipManager::remove_owner(), OpenDDS::DCPS::CoherentChangeControl::reset(), OpenDDS::DCPS::WriterInfo::reset_coherent_info(), OpenDDS::DCPS::InstanceState::reset_ownership(), OpenDDS::DCPS::OwnershipManager::select_owner(), OpenDDS::DCPS::RtpsUdpSendStrategy::send_bytes_i(), OpenDDS::DCPS::DataLink::send_control(), OpenDDS::DCPS::RtpsUdpDataLink::send_nack_replies(), OpenDDS::RTPS::Sedp::Writer::set_header_fields(), OpenDDS::RTPS::Sedp::signal_liveliness(), OpenDDS::DCPS::TransportSendElement::subscription_id(), OpenDDS::DCPS::TransportQueueElement::subscription_id(), OpenDDS::DCPS::TransportCustomizedElement::subscription_id(), OpenDDS::DCPS::ReplayerImpl::write(), OpenDDS::RTPS::Sedp::Writer::write_control_msg(), and OpenDDS::RTPS::Sedp::Writer::write_sample().

const ACE_TCHAR OpenDDS::DCPS::REPO_SECTION_NAME[] = ACE_TEXT("repository") [static]

Definition at line 770 of file InfoRepoDiscovery.cpp.

Referenced by OpenDDS::DCPS::InfoRepoDiscovery::Config::discovery_config(), OpenDDS::DCPS::Service_Participant::load_configuration(), and OpenDDS::DCPS::Service_Participant::set_repo_ior().

InfoRepoDiscovery::StaticInitializer OpenDDS::DCPS::initialize_inforepodisco [static]

Definition at line 278 of file InfoRepoDiscovery.h.

int const OpenDDS::DCPS::INVALID_ENUM_VALUE = 999

Definition at line 15 of file Marked_Default_Qos.cpp.

Referenced by OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataReader_Use_TopicQos(), OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataReaderQos(), OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataWriter_Use_TopicQos(), OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataWriterQos(), OpenDDS::DCPS::Marked_Default_Qos::marked_default_PublisherQos(), OpenDDS::DCPS::Marked_Default_Qos::marked_default_SubscriberQos(), and OpenDDS::DCPS::Marked_Default_Qos::marked_default_TopicQos().

int OpenDDS::DCPS::OpenDDS_Requires_MonitorFactory_Initializer [static]

Initial value:

Definition at line 93 of file MonitorFactory.h.

const int OpenDDS::DCPS::MAX_READERS_TO_RESEND = 5

Definition at line 26 of file SendStateDataSampleList.h.

const size_t OpenDDS::DCPS::DEFAULT_NUM_CHUNKS = 20

Definition at line 98 of file Service_Participant.cpp.

const size_t OpenDDS::DCPS::DEFAULT_CHUNK_MULTIPLIER = 10

Definition at line 100 of file Service_Participant.cpp.

const int OpenDDS::DCPS::DEFAULT_FEDERATION_RECOVERY_DURATION = 900

Definition at line 102 of file Service_Participant.cpp.

const int OpenDDS::DCPS::DEFAULT_FEDERATION_INITIAL_BACKOFF_SECONDS = 1

Definition at line 103 of file Service_Participant.cpp.

const int OpenDDS::DCPS::DEFAULT_FEDERATION_BACKOFF_MULTIPLIER = 2

Definition at line 104 of file Service_Participant.cpp.

const int OpenDDS::DCPS::DEFAULT_FEDERATION_LIVELINESS = 60

Definition at line 105 of file Service_Participant.cpp.

const int OpenDDS::DCPS::BIT_LOOKUP_DURATION_MSEC = 2000

Definition at line 107 of file Service_Participant.cpp.

const ACE_TCHAR OpenDDS::DCPS::DEFAULT_REPO_IOR[] = ACE_TEXT("file://repo.ior") [static]

Definition at line 111 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::get_discovery().

const ACE_CString OpenDDS::DCPS::DEFAULT_PERSISTENT_DATA_DIR = "OpenDDS-durable-data-dir" [static]

Definition at line 113 of file Service_Participant.cpp.

const ACE_TCHAR OpenDDS::DCPS::COMMON_SECTION_NAME[] = ACE_TEXT("common") [static]

Definition at line 115 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration().

const ACE_TCHAR OpenDDS::DCPS::DOMAIN_SECTION_NAME[] = ACE_TEXT("domain") [static]

Definition at line 116 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_domain_configuration().

const ACE_TCHAR OpenDDS::DCPS::REPO_SECTION_NAME[] = ACE_TEXT("repository") [static]

Definition at line 117 of file Service_Participant.cpp.

const ACE_TCHAR OpenDDS::DCPS::RTPS_SECTION_NAME[] = ACE_TEXT("rtps_discovery") [static]

Definition at line 118 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::get_discovery(), and OpenDDS::DCPS::Service_Participant::load_configuration().

bool OpenDDS::DCPS::got_debug_level = false [static]

Definition at line 120 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_use_rti_serialization = false [static]

Definition at line 121 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_info = false [static]

Definition at line 122 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), OpenDDS::DCPS::Service_Participant::parse_args(), and OpenDDS::DCPS::Service_Participant::set_repo_ior().

bool OpenDDS::DCPS::got_chunks = false [static]

Definition at line 123 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), OpenDDS::DCPS::Service_Participant::n_chunks(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_chunk_association_multiplier = false [static]

Definition at line 124 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::association_chunk_multiplier(), OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_liveliness_factor = false [static]

Definition at line 125 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::liveliness_factor(), OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_bit_transport_port = false [static]

Definition at line 126 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::bit_transport_port(), OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_bit_transport_ip = false [static]

Definition at line 127 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_bit_lookup_duration_msec = false [static]

Definition at line 128 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::bit_lookup_duration_msec(), OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_global_transport_config = false [static]

Definition at line 129 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_bit_flag = false [static]

Definition at line 130 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_publisher_content_filter = false [static]

Definition at line 131 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_transport_debug_level = false [static]

Definition at line 132 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_pending_timeout = false [static]

Definition at line 133 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_persistent_data_dir = false [static]

Definition at line 135 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_default_discovery = false [static]

Definition at line 137 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_log_fname = false [static]

Definition at line 145 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_log_verbose = false [static]

Definition at line 146 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

bool OpenDDS::DCPS::got_default_address = false [static]

Definition at line 147 of file Service_Participant.cpp.

Referenced by OpenDDS::DCPS::Service_Participant::load_common_configuration(), and OpenDDS::DCPS::Service_Participant::parse_args().

const char OpenDDS::DCPS::DEFAULT_ORB_NAME[] = "OpenDDS_DCPS"

Definition at line 44 of file Service_Participant.h.

Referenced by OpenDDS::DCPS::InfoRepoDiscovery::get_dcps_info().

const ACE_TCHAR OpenDDS::DCPS::TOPIC_SECTION_NAME[] = ACE_TEXT("topic") [static]

Definition at line 693 of file StaticDiscovery.cpp.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_topics().

const ACE_TCHAR OpenDDS::DCPS::DATAWRITERQOS_SECTION_NAME[] = ACE_TEXT("datawriterqos") [static]

Definition at line 694 of file StaticDiscovery.cpp.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_datawriterqos().

const ACE_TCHAR OpenDDS::DCPS::DATAREADERQOS_SECTION_NAME[] = ACE_TEXT("datareaderqos") [static]

Definition at line 695 of file StaticDiscovery.cpp.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_datareaderqos().

const ACE_TCHAR OpenDDS::DCPS::PUBLISHERQOS_SECTION_NAME[] = ACE_TEXT("publisherqos") [static]

Definition at line 696 of file StaticDiscovery.cpp.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_publisherqos().

const ACE_TCHAR OpenDDS::DCPS::SUBSCRIBERQOS_SECTION_NAME[] = ACE_TEXT("subscriberqos") [static]

Definition at line 697 of file StaticDiscovery.cpp.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_subscriberqos().

const ACE_TCHAR OpenDDS::DCPS::ENDPOINT_SECTION_NAME[] = ACE_TEXT("endpoint") [static]

Definition at line 698 of file StaticDiscovery.cpp.

Referenced by OpenDDS::DCPS::StaticDiscovery::parse_endpoints().

OpenDDS_Dcps_Export unsigned int OpenDDS::DCPS::Transport_debug_level = 0

Transport Logging verbosity level.

Definition at line 12 of file TransportDebug.cpp.

Referenced by OpenDDS::DCPS::TransportSendStrategy::add_delayed_notification(), OpenDDS::DCPS::SingleSendBuffer::check_capacity(), OpenDDS::DCPS::TransportImpl::configure(), FACE::TS::create_opendds_entities(), OpenDDS::DCPS::RtpsUdpDataLink::customize_queue_element(), OpenDDS::DCPS::DataLink::data_received_i(), OpenDDS::DCPS::DataLinkSet::DataLinkSet(), OpenDDS::DCPS::RtpsUdpDataLink::deliver_held_data(), OpenDDS::DCPS::ReliableSession::deliver_held_data(), OpenDDS::DCPS::RtpsUdpReceiveStrategy::deliver_sample(), OpenDDS::DCPS::TransportSendStrategy::direct_send(), OpenDDS::DCPS::TransportSendStrategy::do_send_packet(), OpenDDS::DCPS::RtpsUdpDataLink::end_historic_samples(), EntryExit::EntryExit(), OpenDDS::DCPS::TransportReceiveStrategy< TH, DSH >::handle_dds_input(), OpenDDS::DCPS::SingleSendBuffer::insert(), OpenDDS::DCPS::RtpsUdpDataLink::MultiSendBuffer::insert(), OpenDDS::DCPS::SingleSendBuffer::insert_fragment(), OpenDDS::DCPS::RtpsSampleHeader::into_received_data_sample(), OpenDDS::DCPS::Service_Participant::load_common_configuration(), OpenDDS::DCPS::RtpsUdpDataLink::marshal_gaps(), OpenDDS::DCPS::DataLink::notify(), OpenDDS::DCPS::Service_Participant::parse_args(), OpenDDS::DCPS::RtpsUdpDataLink::process_data_i(), OpenDDS::DCPS::RtpsUdpDataLink::process_gap_i(), OpenDDS::DCPS::ReliableSession::ready_to_deliver(), OpenDDS::DCPS::TransportReassembly::reassemble_i(), OpenDDS::DCPS::RtpsUdpDataLink::received(), OpenDDS::DCPS::SingleSendBuffer::release(), OpenDDS::DCPS::SingleSendBuffer::release_acked(), OpenDDS::DCPS::DataLink::remove_listener(), OpenDDS::DCPS::SingleSendBuffer::resend_i(), OpenDDS::DCPS::SingleSendBuffer::retain_all(), OpenDDS::DCPS::TransportSendStrategy::send(), OpenDDS::DCPS::RtpsUdpDataLink::send_ack_nacks(), OpenDDS::DCPS::RtpsUdpDataLink::send_heartbeats(), OpenDDS::DCPS::RtpsUdpDataLink::send_nack_replies(), OpenDDS::DCPS::RtpsSampleHeader::split(), OpenDDS::DCPS::UdpReceiveStrategy::start_i(), OpenDDS::DCPS::TransportReceiveStrategy< TH, DSH >::TransportReceiveStrategy(), OpenDDS::DCPS::TransportSendStrategy::TransportSendStrategy(), EntryExit::~EntryExit(), OpenDDS::DCPS::TcpConnection::~TcpConnection(), and OpenDDS::DCPS::TransportClient::~TransportClient().

const ACE_TCHAR OpenDDS::DCPS::TRANSPORT_SECTION_NAME[] = ACE_TEXT("transport") [static]

Definition at line 164 of file TransportDefs.h.

Referenced by OpenDDS::DCPS::TransportRegistry::load_transport_configuration().

const ACE_TCHAR OpenDDS::DCPS::CONFIG_SECTION_NAME[] = ACE_TEXT("config") [static]

Definition at line 165 of file TransportDefs.h.

Referenced by OpenDDS::DCPS::TransportRegistry::load_transport_configuration().

const size_t OpenDDS::DCPS::MIN_FRAG = 68 [static]

Arbitrary small constant that represents the minimum amount of payload data we'll have in one fragment. In this case "payload data" includes the content-filtering GUID sequence, so this is chosen to be 4 + (16 * N).

Definition at line 48 of file TransportSendStrategy.cpp.

Referenced by OpenDDS::DCPS::TransportSendStrategy::send().

MulticastInitializer OpenDDS::DCPS::multicast_init [static]

Definition at line 21 of file Multicast.h.

const size_t OpenDDS::DCPS::FRAG_START_OFFSET = 24 [static]

Definition at line 593 of file RtpsSampleHeader.cpp.

Referenced by OpenDDS::DCPS::RtpsSampleHeader::split().

const size_t OpenDDS::DCPS::FRAG_SAMPLE_SIZE_OFFSET = 32 [static]

Definition at line 593 of file RtpsSampleHeader.cpp.

Referenced by OpenDDS::DCPS::RtpsSampleHeader::split().

RtpsUdpInitializer OpenDDS::DCPS::rtps_udp_init [static]

Definition at line 21 of file RtpsUdp.h.

ShmemInitializer OpenDDS::DCPS::shmem_init [static]

Definition at line 21 of file Shmem.h.

Tcp_Initializer OpenDDS::DCPS::tcp_initializer [static]

Definition at line 30 of file Tcp.h.

UdpInitializer OpenDDS::DCPS::udp_init [static]

Definition at line 21 of file Udp.h.

const octet OpenDDS::DCPS::ENTITYKIND_BUILTIN_UNKNOWN = 0xc0

Definition at line 30 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_BUILTIN_PARTICIPANT = 0xc1

Definition at line 31 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_BUILTIN_WRITER_WITH_KEY = 0xc2

Definition at line 32 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_BUILTIN_WRITER_NO_KEY = 0xc3

Definition at line 33 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_BUILTIN_READER_NO_KEY = 0xc4

Definition at line 34 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_BUILTIN_READER_WITH_KEY = 0xc7

Definition at line 35 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_USER_UNKNOWN = 0x00

Definition at line 37 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind(), and OpenDDS::DCPS::GuidBuilder::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_USER_WRITER_WITH_KEY = 0x02

Definition at line 38 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::StaticEndpointManager::assign_publication_key(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::assign_publication_key(), OpenDDS::FaceTSS::config::build_id(), OpenDDS::DCPS::GuidConverter::entityKind(), OpenDDS::DCPS::GuidBuilder::entityKind(), OpenDDS::DCPS::StaticDiscovery::parse_endpoints(), and OpenDDS::DCPS::StaticDiscovery::pre_writer().

const octet OpenDDS::DCPS::ENTITYKIND_USER_WRITER_NO_KEY = 0x03

Definition at line 39 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::assign_publication_key(), and OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_USER_READER_NO_KEY = 0x04

Definition at line 40 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::assign_subscription_key(), and OpenDDS::DCPS::GuidConverter::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_USER_READER_WITH_KEY = 0x07

Definition at line 41 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::StaticEndpointManager::assign_subscription_key(), OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::assign_subscription_key(), OpenDDS::FaceTSS::config::build_id(), OpenDDS::DCPS::GuidConverter::entityKind(), OpenDDS::DCPS::GuidBuilder::entityKind(), OpenDDS::DCPS::StaticDiscovery::parse_endpoints(), and OpenDDS::DCPS::StaticDiscovery::pre_reader().

const octet OpenDDS::DCPS::ENTITYKIND_OPENDDS_SUBSCRIBER = 0x41

Definition at line 44 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind(), and OpenDDS::DCPS::GuidBuilder::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_OPENDDS_PUBLISHER = 0x42

Definition at line 45 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind(), and OpenDDS::DCPS::GuidBuilder::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_OPENDDS_TOPIC = 0x45

Definition at line 47 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind(), OpenDDS::DCPS::GuidBuilder::entityKind(), and OpenDDS::DCPS::EndpointManager< OpenDDS::DCPS::StaticDiscoveredParticipantData >::make_topic_guid().

const octet OpenDDS::DCPS::ENTITYKIND_OPENDDS_USER = 0x4a

Definition at line 48 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::GuidConverter::entityKind(), and OpenDDS::DCPS::GuidBuilder::entityKind().

const octet OpenDDS::DCPS::ENTITYKIND_OPENDDS_NIL_WRITER = 0x4e

Definition at line 51 of file DdsDcpsGuid.idl.

Referenced by OpenDDS::DCPS::DataReaderImpl::data_received(), and OpenDDS::DCPS::GuidConverter::entityKind().

const DDS::StatusMask OpenDDS::DCPS::ALL_STATUS_MASK = 0xffffffff

Definition at line 328 of file DdsDcpsInfrastructure.idl.

Referenced by OpenDDS::DCPS::MultiTopicDataReaderBase::init().

const DDS::StatusMask OpenDDS::DCPS::NO_STATUS_MASK = 0x00000000

Definition at line 329 of file DdsDcpsInfrastructure.idl.

const DDS::StatusMask OpenDDS::DCPS::DEFAULT_STATUS_MASK = ALL_STATUS_MASK

Definition at line 330 of file DdsDcpsInfrastructure.idl.

Referenced by OpenDDS::DCPS::Discovery::create_bit_topics(), OpenDDS::DCPS::MonitorFactoryImpl::create_data_writer(), OpenDDS::DCPS::DomainParticipantImpl::find_topic(), OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), OpenDDS::DCPS::PeerDiscovery< OpenDDS::DCPS::StaticParticipant >::init_bit(), DCPS_IR_Domain::init_built_in_topics(), DCPS_IR_Domain::init_built_in_topics_datawriters(), DCPS_IR_Domain::init_built_in_topics_topics(), DCPS_IR_Domain::init_built_in_topics_transport(), OpenDDS::DCPS::MonitorFactoryImpl::initialize(), and OpenDDS::Federator::ManagerImpl::initialize().

const long OpenDDS::DCPS::MONITOR_DOMAIN_ID = -999

Definition at line 10 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::create_dp_monitor(), and OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const long OpenDDS::DCPS::MONITOR_TRANSPORT_ID = 999

Definition at line 11 of file monitor.idl.

const string OpenDDS::DCPS::SERVICE_PARTICIPANT_MONITOR_TOPIC = "Service Participant Monitor"

Definition at line 12 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::DOMAIN_PARTICIPANT_MONITOR_TOPIC = "Domain Participant Monitor"

Definition at line 13 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::TOPIC_MONITOR_TOPIC = "Topic Monitor"

Definition at line 14 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::PUBLISHER_MONITOR_TOPIC = "Publisher Monitor"

Definition at line 15 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::SUBSCRIBER_MONITOR_TOPIC = "Subscriber Monitor"

Definition at line 16 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::DATA_WRITER_MONITOR_TOPIC = "Data Writer Monitor"

Definition at line 17 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::DATA_WRITER_PERIODIC_MONITOR_TOPIC = "Data Writer Periodic Monitor"

Definition at line 18 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::DATA_READER_MONITOR_TOPIC = "Data Reader Monitor"

Definition at line 19 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::DATA_READER_PERIODIC_MONITOR_TOPIC = "Data Reader Periodic Monitor"

Definition at line 20 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

const string OpenDDS::DCPS::TRANSPORT_MONITOR_TOPIC = "Transport Monitor"

Definition at line 21 of file monitor.idl.

Referenced by OpenDDS::DCPS::MonitorFactoryImpl::initialize().

int OpenDDS::DCPS::OpenDDS_Requires_MonitorFactoryImpl_Initializer [static]

Initial value:

Definition at line 95 of file MonitorFactoryImpl.h.


Generated on Fri Feb 12 20:06:10 2016 for OpenDDS by  doxygen 1.4.7