File System.h¶
File List > include > System.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 FLIR_SPINNAKER_SYSTEM_H
#define FLIR_SPINNAKER_SYSTEM_H
#include "Interface/ISystem.h"
namespace Spinnaker
{
// Forward declaration of implementation class
class ProducerImpl;
class SystemPtr;
class LoggingEventHandler;
class ISystemImpl;
// Define macros for getting Spinnaker library version
#define FLIR_SPINNAKER_VERSION_MAJOR 4
#define FLIR_SPINNAKER_VERSION_MINOR 4
#define FLIR_SPINNAKER_VERSION_TYPE 0
#define FLIR_SPINNAKER_VERSION_BUILD 246
class SPINNAKER_API System : public ISystem
{
public:
static SystemPtr GetInstance();
virtual ~System();
virtual void ReleaseInstance();
virtual ProducerList GetProducers(bool updateProducers = true);
virtual bool UpdateProducers(GenICam::gcstring ctiPath = "");
virtual InterfaceList GetInterfaces(bool updateInterface = true);
virtual void UpdateInterfaceList();
virtual CameraList GetCameras(bool updateInterfaces = true, bool updateCameras = true);
virtual bool UpdateCameras(bool updateInterfaces = true);
void RegisterEventHandler(EventHandler& evtHandlerToRegister, bool updateInterface = false);
void UnregisterEventHandler(EventHandler& evtHandlerToUnregister);
virtual void RegisterLoggingEventHandler(LoggingEventHandler& handler);
virtual void UnregisterAllLoggingEventHandlers();
virtual void UnregisterLoggingEventHandler(LoggingEventHandler& handler);
virtual void SetLoggingEventPriorityLevel(SpinnakerLogLevel level);
virtual SpinnakerLogLevel GetLoggingEventPriorityLevel();
virtual bool IsInUse();
virtual void SendActionCommand(
unsigned int deviceKey,
unsigned int groupKey,
unsigned int groupMask,
unsigned long long actionTime = 0,
bool requestAck = false,
unsigned int* pResultSize = 0,
ActionCommandResult results[] = NULL);
virtual const LibraryVersion GetLibraryVersion();
virtual GenApi::INodeMap& GetTLNodeMap() const;
protected:
System();
private:
System(const System&);
System& operator=(const System&);
ISystemImpl* m_pSystemImpl;
};
} // namespace Spinnaker
#endif // FLIR_SPINNAKER_SYSTEM_H