Skip to content

Commit

Permalink
1.0.2 renamed Signals and Units (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myron Franze authored Jun 22, 2020
1 parent 1c26780 commit b0610d5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
19 changes: 0 additions & 19 deletions interface/icontrolbus.h

This file was deleted.

17 changes: 13 additions & 4 deletions interface/ihw.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,27 @@
namespace siguni::interface
{

class IInputHwBoardVersion : public siguni::interface::IUnitInput
class IControlbus
{
public:
virtual ~IControlbus() = default;

virtual int WriteData( const std::string & attMessage ) = 0;
virtual int ReadData( std::string & attMessage ) = 0;
};

class IUnitInputGetHwBoardVersion : public siguni::interface::IUnitInput
{
public:
virtual ~IInputHwBoardVersion() = default;
virtual ~IUnitInputGetHwBoardVersion() = default;

void Get( std::string & attGetInput ) override = 0;
};

class IInputDriverVersion : public siguni::interface::IUnitInput
class IUnitInputGetDriverVersion : public siguni::interface::IUnitInput
{
public:
virtual ~IInputDriverVersion() = default;
virtual ~IUnitInputGetDriverVersion() = default;

void Get( std::string & attGetInput ) override = 0;
};
Expand Down
2 changes: 1 addition & 1 deletion protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include "interface/icontrolbus.h"
#include "interface/ihw.h"

namespace siguni
{
Expand Down

0 comments on commit b0610d5

Please sign in to comment.