Skip to content

File LoggingEventData.h

File List > include > LoggingEventData.h

Go to the documentation of this file

//=============================================================================
// Copyright (c) 2026 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of FLIR
// Integrated Imaging Solutions, Inc. ("Confidential Information"). You
// shall not disclose such Confidential Information and shall use it only in
// accordance with the terms of the license agreement you entered into
// with FLIR Integrated Imaging Solutions, Inc. (FLIR).
//
// FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
// SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
// SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
// THIS SOFTWARE OR ITS DERIVATIVES.
//=============================================================================

#ifndef PGR_LOGGINGEVENTDATA_H
#define PGR_LOGGINGEVENTDATA_H

#include "Spinnaker.h"

namespace Spinnaker
{
    class SPINNAKER_API LoggingEventData
    {
      public:
        ~LoggingEventData();

        const char* GetCategoryName();

        const char* GetLogMessage();

        const char* GetNDC();

        const int GetPriority();

        const char* GetThreadName();

        const char* GetTimestamp();

        const char* GetPriorityName();

      protected:
        friend class SystemImpl;
        friend class ProducerImpl;
        friend class InterfaceImpl;
        friend class CameraBaseImpl;
        friend class Stream;
        friend class EventProcessor;

        LoggingEventData(void* data);

      private:
        struct LoggingEventDataInternal; // Forward declaration

        LoggingEventDataInternal* m_pLoggingEventData;
    };

} // namespace Spinnaker

#endif // PGR_LoggingEventData_H