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