MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Public Types | Public Member Functions | Public Attributes | List of all members
mip::commands_3dm::GetEventTriggerStatus::Status Struct Reference

#include <commands_3dm.hpp>

Inheritance diagram for mip::commands_3dm::GetEventTriggerStatus::Status:
mip::Bitfield< Status >

Public Types

enum  _enumType : uint8_t {
  NONE = 0x00, ACTIVE = 0x01, ENABLED = 0x02, TEST = 0x04,
  ALL = 0x07
}
 
typedef uint8_t Type
 

Public Member Functions

 Status ()
 
 Status (int val)
 
 operator uint8_t () const
 
Statusoperator= (uint8_t val)
 
Statusoperator= (int val)
 
Statusoperator|= (uint8_t val)
 
Statusoperator&= (uint8_t val)
 
bool active () const
 
void active (bool val)
 
bool enabled () const
 
void enabled (bool val)
 
bool test () const
 
void test (bool val)
 
bool allSet () const
 
void setAll ()
 

Public Attributes

uint8_t value = NONE
 

Member Typedef Documentation

◆ Type

Member Enumeration Documentation

◆ _enumType

Enumerator
NONE 
ACTIVE 

True if the trigger is currently active (either due to its logic or being in test mode).

ENABLED 

True if the trigger is enabled.

TEST 

True if the trigger is in test mode.

ALL 

Constructor & Destructor Documentation

◆ Status() [1/2]

mip::commands_3dm::GetEventTriggerStatus::Status::Status ( )
inline

◆ Status() [2/2]

mip::commands_3dm::GetEventTriggerStatus::Status::Status ( int  val)
inline

Member Function Documentation

◆ active() [1/2]

bool mip::commands_3dm::GetEventTriggerStatus::Status::active ( ) const
inline

◆ active() [2/2]

void mip::commands_3dm::GetEventTriggerStatus::Status::active ( bool  val)
inline

◆ allSet()

bool mip::commands_3dm::GetEventTriggerStatus::Status::allSet ( ) const
inline

◆ enabled() [1/2]

bool mip::commands_3dm::GetEventTriggerStatus::Status::enabled ( ) const
inline

◆ enabled() [2/2]

void mip::commands_3dm::GetEventTriggerStatus::Status::enabled ( bool  val)
inline

◆ operator uint8_t()

mip::commands_3dm::GetEventTriggerStatus::Status::operator uint8_t ( ) const
inline

◆ operator&=()

Status& mip::commands_3dm::GetEventTriggerStatus::Status::operator&= ( uint8_t  val)
inline

◆ operator=() [1/2]

Status& mip::commands_3dm::GetEventTriggerStatus::Status::operator= ( int  val)
inline

◆ operator=() [2/2]

Status& mip::commands_3dm::GetEventTriggerStatus::Status::operator= ( uint8_t  val)
inline

◆ operator|=()

Status& mip::commands_3dm::GetEventTriggerStatus::Status::operator|= ( uint8_t  val)
inline

◆ setAll()

void mip::commands_3dm::GetEventTriggerStatus::Status::setAll ( )
inline

◆ test() [1/2]

bool mip::commands_3dm::GetEventTriggerStatus::Status::test ( ) const
inline

◆ test() [2/2]

void mip::commands_3dm::GetEventTriggerStatus::Status::test ( bool  val)
inline

Member Data Documentation

◆ value

uint8_t mip::commands_3dm::GetEventTriggerStatus::Status::value = NONE

The documentation for this struct was generated from the following file: