Classes | Enumerations | Functions | Variables

FRIDGE Namespace Reference

Classes

struct  temperatureDataBlockEvent
interface  FridgeControl

Enumerations

enum  OnOffStates { ON, OFF }
enum  OpClStates { OPEN, CLOSE }
enum  TemperatureStatus { OVERREF, ATREF, BELOWREF }

Functions

 ACS_ENUM (OnOffStates)
 ACS_ENUM (OpClStates)

Variables

const string CHANNELNAME_FRIDGE = "fridge"

Enumeration Type Documentation

The fridge can be either on or off.

Enumerator:
ON 
OFF 

The fridge's door can be open or closed.

Enumerator:
OPEN 
CLOSE 

The actual temperature (i.e., currTemperature) of the fridge can be over/at/below the desired temperature (i.e., refTemperature). Since this enumeration will not be used with BACI properties, the ACS_ENUM macro need not be utilized.

Enumerator:
OVERREF 
ATREF 
BELOWREF 

Function Documentation

FRIDGE::ACS_ENUM ( OnOffStates   ) 
FRIDGE::ACS_ENUM ( OpClStates   ) 

Variable Documentation

const string FRIDGE::CHANNELNAME_FRIDGE = "fridge"

This defines the channel name for use with all event suppliers and consumers for the FridgeControl component.