[installation] Change to nightly
This commit is contained in:
@ -42,7 +42,7 @@ class GenericMessage : public ::Seiscomp::Core::Message {
|
||||
// ----------------------------------------------------------------------
|
||||
public:
|
||||
using AttachmentType = T;
|
||||
using AttachmentList = std::list<typename Seiscomp::Core::SmartPointer<T>::Impl>;
|
||||
using AttachmentList = std::list<Seiscomp::Core::SmartPointer<T>>;
|
||||
typedef typename AttachmentList::iterator iterator;
|
||||
typedef typename AttachmentList::const_iterator const_iterator;
|
||||
|
||||
@ -70,8 +70,8 @@ class GenericMessage : public ::Seiscomp::Core::Message {
|
||||
* @retval true The operation was successfull and the object has been attached properly
|
||||
* @retval false The object is nullptr or the object has been attached already
|
||||
*/
|
||||
bool attach(AttachmentType* attachment);
|
||||
bool attach(typename Seiscomp::Core::SmartPointer<AttachmentType>::Impl& attachment);
|
||||
bool attach(AttachmentType *attachment);
|
||||
bool attach(typename Seiscomp::Core::SmartPointer<AttachmentType> &attachment);
|
||||
|
||||
/**
|
||||
* Detaches an already attached object from the message
|
||||
@ -79,8 +79,8 @@ class GenericMessage : public ::Seiscomp::Core::Message {
|
||||
* @retval true The object has been detached successfully
|
||||
* @retval false The object has not been attached before
|
||||
*/
|
||||
bool detach(AttachmentType* attachment);
|
||||
bool detach(typename Seiscomp::Core::SmartPointer<AttachmentType>::Impl& attachment);
|
||||
bool detach(AttachmentType *attachment);
|
||||
bool detach(typename Seiscomp::Core::SmartPointer<AttachmentType> &attachment);
|
||||
|
||||
/**
|
||||
* Detaches an object from the message
|
||||
@ -91,7 +91,7 @@ class GenericMessage : public ::Seiscomp::Core::Message {
|
||||
iterator detach(iterator it);
|
||||
|
||||
//! Removes all attachments from the message
|
||||
void clear();
|
||||
virtual void clear() override;
|
||||
|
||||
//! Returns the iterators for begin and end of
|
||||
//! the attachment list
|
||||
@ -102,19 +102,19 @@ class GenericMessage : public ::Seiscomp::Core::Message {
|
||||
const_iterator end() const;
|
||||
|
||||
//! Implemented from baseclass
|
||||
bool empty() const;
|
||||
bool empty() const override;
|
||||
|
||||
/**
|
||||
* @return Returns the number of objects attached to a message
|
||||
*/
|
||||
int size() const;
|
||||
int size() const override;
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Protected interface
|
||||
// ----------------------------------------------------------------------
|
||||
protected:
|
||||
MessageIterator::Impl* iterImpl() const;
|
||||
MessageIterator::Impl* iterImpl() const override;
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Implementation
|
||||
@ -132,7 +132,7 @@ class GenericMessage : public ::Seiscomp::Core::Message {
|
||||
class APIDef TYPENAME : public ::Seiscomp::Core::GenericMessage<CLASS> { \
|
||||
DECLARE_SC_CLASS(TYPENAME); \
|
||||
}; \
|
||||
typedef ::Seiscomp::Core::SmartPointer<TYPENAME>::Impl TYPENAME##Ptr
|
||||
using TYPENAME##Ptr = ::Seiscomp::Core::SmartPointer<TYPENAME>
|
||||
|
||||
#define IMPLEMENT_MESSAGE_FOR(CLASS, TYPENAME, NAME) \
|
||||
IMPLEMENT_SC_CLASS_DERIVED(TYPENAME, ::Seiscomp::Core::Message, NAME)
|
||||
|
||||
Reference in New Issue
Block a user