LCOV - code coverage report
Current view: top level - vnsw/agent/oper - instance_manager_adapter.h (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 1 1 100.0 %
Date: 2026-08-03 02:19:58 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef __AGENT_OPER_INSTANCE_MANAGER_ADAPTER_H__
       2             : #define __AGENT_OPER_INSTANCE_MANAGER_ADAPTER_H__
       3             : 
       4             : #include <string>
       5             : #include <boost/uuid/uuid.hpp>
       6             : #include "oper/service_instance.h"
       7             : #include "oper/instance_task.h"
       8             : 
       9             : class InstanceManagerAdapter {
      10             :  public:
      11             :     enum CmdType {
      12             :         START = 1,
      13             :         STOP
      14             :     };
      15             : 
      16           6 :     virtual ~InstanceManagerAdapter() {}
      17             : 
      18             :     virtual InstanceTask* CreateStartTask(
      19             :         const ServiceInstance::Properties &props, bool update) = 0;
      20             :     virtual InstanceTask* CreateStopTask(
      21             :         const ServiceInstance::Properties &props) = 0;
      22             :     virtual bool isApplicable(const ServiceInstance::Properties &props) = 0;
      23             : };
      24             : 
      25             : #endif

Generated by: LCOV version 1.14