capture_op.cpp 420 B

123456789101112131415161718192021222324
  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. bool CaptureOp::IsForward()
  13. {
  14. return _forward;
  15. }
  16. void CaptureOp::SetForward(bool b)
  17. {
  18. _forward=b;
  19. }
  20. int32_t CaptureOp::GetIndex()
  21. {
  22. return _index;
  23. }