You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.4 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __PROTOCOLGENERICTEST_H_INCL__
  2. #define __PROTOCOLGENERICTEST_H_INCL__
  3. #include "../../basic/basicCommunicationProtocol.h"
  4. /**
  5. * TODO: Add class description
  6. *
  7. * @author gagua
  8. */
  9. class protocolGenericTest: public basicCommunicationProtocol {
  10. public:
  11. // Constructor
  12. protocolGenericTest();
  13. // Destructor
  14. virtual ~protocolGenericTest();
  15. // Copy constructor
  16. // TODO: Uncomment the copy constructor when you need it.
  17. //protocolGenericTest(const protocolGenericTest& src);
  18. // Assignment operator
  19. // TODO: Uncomment the assignment operator when you need it.
  20. //protocolGenericTest& operator=(const protocolGenericTest& src);
  21. int probeData( unsigned char *Data, int DataSize );
  22. int parseData( unsigned char *Data, int DataSize );
  23. };
  24. // Constructor implementation
  25. inline protocolGenericTest::protocolGenericTest()
  26. {
  27. }
  28. // Destructor implementation
  29. inline protocolGenericTest::~protocolGenericTest()
  30. {
  31. }
  32. // TODO: Uncomment the copy constructor when you need it.
  33. //inline protocolGenericTest::protocolGenericTest(const protocolGenericTest& src)
  34. //{
  35. // // TODO: copy
  36. //}
  37. // TODO: Uncomment the assignment operator when you need it.
  38. //inline protocolGenericTest& protocolGenericTest::operator=(const protocolGenericTest& rhs)
  39. //{
  40. // if (this == &rhs) {
  41. // return *this;
  42. // }
  43. //
  44. // // TODO: assignment
  45. //
  46. // return *this;
  47. //}
  48. #endif // __PROTOCOLGENERICTEST_H_INCL__