content: {-# LANGUAGE OverloadedStrings #-}
  {-# LANGUAGE DeriveDataTypeable #-}
  {-# LANGUAGE DeriveGeneric #-}
  {-# LANGUAGE TemplateHaskell #-}
  module Ros.Std_srvs.SetBoolResponse where
  import qualified Prelude as P
  import Prelude ((.), (+), (*))
  import qualified Data.Typeable as T
  import Control.Applicative
  import Ros.Internal.RosBinary
  import Ros.Internal.Msg.MsgInfo
  import qualified GHC.Generics as G
  import qualified Data.Default.Generics as D
  import Ros.Internal.Msg.SrvInfo
  import qualified Data.Word as Word
  import Lens.Family.TH (makeLenses)
  import Lens.Family (view, set)
  
  data SetBoolResponse = SetBoolResponse { _success :: P.Bool
                                         , _message :: P.String
                                         } deriving (P.Show, P.Eq, P.Ord, T.Typeable, G.Generic)
  
  $(makeLenses ''SetBoolResponse)
  
  instance RosBinary SetBoolResponse where
    put obj' = put (_success obj') *> put (_message obj')
    get = SetBoolResponse <$> get <*> get
  
  instance MsgInfo SetBoolResponse where
    sourceMD5 _ = "937c9679a518e3a18d831e57125ea522"
    msgTypeName _ = "std_srvs/SetBoolResponse"
  
  instance D.Default SetBoolResponse
  
  instance SrvInfo SetBoolResponse where
    srvMD5 _ = "09fb03525b03e7ea1fd3992bafd87e16"
    srvTypeName _ = "std_srvs/SetBool"
  
  