capture_op.cpp 433 B

12345678910111213141516171819202122232425
  1. #include <stdint.h>
  2. #include "../common/comm.h"
  3. #include "capture_op.h"
  4. CaptureOp::CaptureOp(RenderPosition type,int32_t index):_type(type),_index(index)
  5. {
  6. _forward=true;
  7. }
  8. RenderPosition CaptureOp::GetType()
  9. {
  10. return _type;
  11. }
  12. int32_t CaptureOp::GetIndex()
  13. {
  14. printf("index:%d \n",_index);
  15. return _index;
  16. }
  17. bool CaptureOp::IsForward()
  18. {
  19. return _forward;
  20. }
  21. void CaptureOp::SetForward(bool b)
  22. {
  23. _forward=b;
  24. }