DataTypeDescriptor got name_

This commit is contained in:
Pavel Kirienko
2014-02-27 09:29:58 +04:00
parent bc54015265
commit d71ec29fcf
11 changed files with 87 additions and 40 deletions
@@ -32,7 +32,7 @@ class Dispatcher : Noncopyable
bool operator()(const TransferListenerBase* listener) const
{
assert(listener);
return id_ > listener->getDataTypeDescriptor().id;
return id_ > listener->getDataTypeDescriptor().getID();
}
};
@@ -95,7 +95,7 @@ class TransferListenerBase : public LinkedListNode<TransferListenerBase>
protected:
TransferListenerBase(const DataTypeDescriptor& data_type)
: data_type_(data_type)
, crc_base_(data_type.signature.toTransferCRC())
, crc_base_(data_type.getSignature().toTransferCRC())
{ }
virtual ~TransferListenerBase() { }
@@ -31,7 +31,7 @@ public:
: max_transfer_interval_(max_transfer_interval)
, data_type_(data_type)
, qos_(qos)
, crc_base_(data_type.signature.toTransferCRC())
, crc_base_(data_type.getSignature().toTransferCRC())
, dispatcher_(dispatcher)
{ }