File ISystem.h¶
File List > include > Interface > ISystem.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_ISYSTEM_H
#define FLIR_SPINNAKER_ISYSTEM_H
#include "SpinnakerPlatform.h"
#include "SpinnakerDefs.h"
#include "ProducerList.h"
#include "InterfaceList.h"
#include "CameraList.h"
#include "TransportLayerSystem.h"
#include "LoggingEventHandler.h"
#include "EventHandler.h"
namespace Spinnaker
{
// Forward declaration of implementation class
class LoggingEventHandler;
class SPINNAKER_API ISystem
{
public:
virtual ~ISystem(){};
virtual void ReleaseInstance() = 0;
virtual ProducerList GetProducers(bool updateProducers = true) = 0;
virtual bool UpdateProducers(GenICam::gcstring ctiPath = "") = 0;
virtual InterfaceList GetInterfaces(bool updateInterface = true) = 0;
virtual void UpdateInterfaceList() = 0;
virtual CameraList GetCameras(bool updateInterfaces = true, bool updateCameras = true) = 0;
virtual bool UpdateCameras(bool updateInterfaces = true) = 0;
virtual void RegisterEventHandler(EventHandler& evtHandlerToRegister, bool updateInterface = false) = 0;
virtual void UnregisterEventHandler(EventHandler& evtHandlerToUnregister) = 0;
virtual void RegisterLoggingEventHandler(LoggingEventHandler& handler) = 0;
virtual void UnregisterAllLoggingEventHandlers() = 0;
virtual void UnregisterLoggingEventHandler(LoggingEventHandler& handler) = 0;
virtual void SetLoggingEventPriorityLevel(SpinnakerLogLevel level) = 0;
virtual SpinnakerLogLevel GetLoggingEventPriorityLevel() = 0;
virtual bool IsInUse() = 0;
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) = 0;
virtual const LibraryVersion GetLibraryVersion() = 0;
virtual GenApi::INodeMap& GetTLNodeMap() const = 0;
// Gets vital Spinnaker producer information without connecting to the XML through transport layer specific
// bootstrap registers.
TransportLayerSystem TLSystem;
protected:
friend class SystemPtrInternal;
ISystem(){};
ISystem(const ISystem&){};
ISystem& operator=(const ISystem&);
};
} // namespace Spinnaker
#endif // FLIR_SPINNAKER_ISYSTEM_H