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.

56 lines
1.4 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. {
  11. public:
  12. // Constructor
  13. protocolGenericTest();
  14. // Destructor
  15. virtual ~protocolGenericTest();
  16. // Copy constructor
  17. // TODO: Uncomment the copy constructor when you need it.
  18. // protocolGenericTest(const protocolGenericTest& src);
  19. // Assignment operator
  20. // TODO: Uncomment the assignment operator when you need it.
  21. // protocolGenericTest& operator=(const protocolGenericTest& src);
  22. int probeData(unsigned char * Data, int DataSize);
  23. int parseData(unsigned char * Data, int DataSize);
  24. };
  25. // Constructor implementation
  26. inline protocolGenericTest::protocolGenericTest() {}
  27. // Destructor implementation
  28. inline protocolGenericTest::~protocolGenericTest() {}
  29. // TODO: Uncomment the copy constructor when you need it.
  30. // inline protocolGenericTest::protocolGenericTest(const protocolGenericTest& src)
  31. //{
  32. // // TODO: copy
  33. //}
  34. // TODO: Uncomment the assignment operator when you need it.
  35. // inline protocolGenericTest& protocolGenericTest::operator=(const protocolGenericTest& rhs)
  36. //{
  37. // if (this == &rhs) {
  38. // return *this;
  39. // }
  40. //
  41. // // TODO: assignment
  42. //
  43. // return *this;
  44. //}
  45. #endif // __PROTOCOLGENERICTEST_H_INCL__