Martinet has two general meanings. Most commonly, it is used to describe a multistrand whipping device that is usually leather. It is used in BDSM.
The second general meaning is a person who demands complete obedience and adherence to strict rules of conduct. The dominant partner in a BDSM relationship is a martinet.