/*---------------------------------------------------------------------------* Project: horizon File: hid_Gyroscope.h Copyright 2010 Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Rev: $ *---------------------------------------------------------------------------*/ /*! @file @brief Gyroscope クラス を定義します。 */ #ifndef NN_HID_CTR_GYROSCOPE_H_ #define NN_HID_CTR_GYROSCOPE_H_ #include #include #include #include namespace nn { namespace hid { namespace CTR { /*! @brief ジャイロセンサ のサンプリングデータを取得するのに必要なリソースを持つクラスです。有効なインスタンスを得るには @ref nn::hid::CTR::GetGyroscope( ) で参照を得てください。 WaitSampling( ) または WaitSamplingAny( ) でサンプリングのたびにシグナルされるイベントを待つことができます。 また、実際にサンプリングデータを得るには GyroscopeReader クラスを使用してください。 */ class Gyroscope : public HidBase { private: Gyroscope() {}; virtual ~Gyroscope() {}; friend class GyroscopeReader; friend class HidDevices; }; } // namespace CTR { } // namespace hid { } // namespace nn { #endif //NN_HID_CTR_GYROSCOPE_H_