ConOpSys V2970
P004.07
ANVILEX control operating system
|
Functional block parameter class. More...
#include <Block_Parameter_Connector.h>
Public Member Functions | |
TBlock_Parameter_Connector () | |
Class constructor method. More... | |
~TBlock_Parameter_Connector () | |
Class destructor method. More... | |
__fastcall | ~TBlock_Parameter_Connector () |
Class destructor method. More... | |
VOID | Set_Type (TBlock_Connector_Type enum_Connector_Type) |
BOOL | Is_Connected () |
BOOL | Connect (TBlock_Output_Connector *object_Output_Connector) |
BOOL | Connect (BOOL *bool_Variable) |
BOOL | Connect (F32 *f32_Variable) |
VOID | operator= (TBlock_Output_Connector &object_Connector) |
Connect to the output connector. More... | |
VOID | operator= (TParameter_Base &object_Parameter) |
Connect to the parameter. More... | |
VOID | operator= (BOOL *bool_Variable) |
Connect to the BOOL variable. More... | |
VOID | operator= (BOOL bool_Value) |
Connect to the immediate BOOL value. More... | |
VOID | operator= (U8 *u8_Variable) |
Connect to the U8 variable. More... | |
VOID | operator= (U8 u8_Value) |
Connect to the immediate U8 value. More... | |
VOID | operator= (I8 *i8_Variable) |
Connect to the I8 variable. More... | |
VOID | operator= (I8 i8_Value) |
Connect to the immediate I8 value. More... | |
VOID | operator= (U16 *u16_Variable) |
Connect to the U16 variable. More... | |
VOID | operator= (U16 u16_Value) |
Connect to the immediate U16 value. More... | |
VOID | operator= (I16 *i16_Variable) |
Connect to the I16 variable. More... | |
VOID | operator= (I16 i16_Value) |
Connect to the immediate I16 value. More... | |
VOID | operator= (U32 *u32_Variable) |
Connect to the U32 variable. More... | |
VOID | operator= (U32 u32_Value) |
Connect to the immediate U32 value. More... | |
VOID | operator= (I32 *i32_Variable) |
Connect to the I32 variable. More... | |
VOID | operator= (I32 i32_Value) |
Connect to the immediate I32 value. More... | |
VOID | operator= (U64 *u64_Variable) |
Connect to the U64 variable. More... | |
VOID | operator= (U64 u64_Value) |
Connect to the immediate U64 value. More... | |
VOID | operator= (I64 *i64_Variable) |
Connect to the I64 variable. More... | |
VOID | operator= (I64 i64_Value) |
Connect to the immediate I64 value. More... | |
VOID | operator= (F32 *f32_Variable) |
Connect to the F32 variable. More... | |
VOID | operator= (F32 f32_Value) |
Connect to the immediate F32 value. More... | |
VOID | operator= (F64 *f64_Variable) |
Connect to the F64 variable. More... | |
VOID | operator= (F64 f64_Value) |
Connect to the immediate F64 value. More... | |
Public Member Functions inherited from TBlock_Connector | |
TBlock_Connector () | |
Class constructor method. More... | |
TBlock_Connector (TBlock_Connector_Type enum_Connector_Type) | |
Class constructor method. More... | |
~TBlock_Connector () | |
Class desrtuctor method. More... | |
VOID | Set_Type (TBlock_Connector_Type enum_Connector_Type) |
Set specified data type of the input connector. More... | |
VOID | Set_Type_BOOL (BOOL bool_Value) |
Set data type of the input connector to BOOL and initialise by specifiet value. More... | |
VOID | Set_Type_U8 (U8 u8_Value) |
Set data type of the input connector to U8 and initialise by specifiet value. More... | |
VOID | Set_Type_I8 (I8 i8_Value) |
Set data type of the input connector to I8 and initialise by specifiet value. More... | |
VOID | Set_Type_U16 (U16 u16_Value) |
Set data type of the input connector to U16 and initialise by specifiet value. More... | |
VOID | Set_Type_I16 (I16 i16_Value) |
Set data type of the input connector to I16 and initialise by specifiet value. More... | |
VOID | Set_Type_U32 (U32 u32_Value) |
Set data type of the input connector to U32 and initialise by specifiet value. More... | |
VOID | Set_Type_I32 (I32 i32_Value) |
Set data type of the input connector to I32 and initialise by specifiet value. More... | |
VOID | Set_Type_U64 (U64 u64_Value) |
Set data type of the input connector to U64 and initialise by specifiet value. More... | |
VOID | Set_Type_I64 (I64 i64_Value) |
Set data type of the input connector to I64 and initialise by specifiet value. More... | |
VOID | Set_Type_F32 (F32 f32_Value) |
Set data type of the input connector to F32 and initialise by specifiet value. More... | |
VOID | Set_Type_F64 (F64 f64_Value) |
Set data type of the input connector to F64 and initialise by specifiet value. More... | |
TBlock_Connector_Type | Get_Type () |
Get connector data type. More... | |
TConOpSys_Variant_Data_Type | Get_Variant_Type () |
Get connector underlaying variant data type. More... | |
__fastcall | TBlock_Connector (TComponent *Owner, TList *Storage, bool Mode) |
__fastcall | ~TBlock_Connector () |
VOID __fastcall | Create_Signal (TComponent *Owner, TBlock_Connector *OutputConnector) |
VOID __fastcall | Destroy_Signal (TBlock_Connector *OutputConnector) |
VOID __fastcall | Assign_Signal (TBlock_Connector_Signal *Signal) |
VOID __fastcall | Unassign_Signal (TBlock_Connector_Signal *Signal) |
BOOL __fastcall | Signal_Exists (TBlock_Connector_Signal *Signal) |
BOOL __fastcall | Is_Unconnected () |
VOID __fastcall | Resolve_Address (TBlock_Connector_Address *ConnectorAddress) |
Public Attributes | |
TConOpSys_Variant | object_Pointer |
Pointer to the input signal external data storage. More... | |
Public Attributes inherited from TBlock_Connector | |
TConOpSys_Variant | object_Storage |
Connector local data storage. More... | |
TList * | StorageOfConnectors |
TList * | StorageOfSignals |
bool | Locked_Mode |
int | Locked_X |
int | Locked_Y |
TBlock_Signal_Position | Signal_Position |
TLabel * | Label |
bool | MultiSignal |
TBlock_Connector_Address | OutputConnectorAddress |
__property BOOL | Selected = { read = FSelected, write = SetSelectedFlag } |
__property BOOL | Flipped = { read = FFlipped, write = SetFlippedFlag } |
__property TResolveConnectorAddressEvent | OnResolveConnectorAddress = { read = FOnResolveConnectorAddress, write = FOnResolveConnectorAddress } |
Private Attributes | |
BOOL | bool_Initialized = (BOOL)false |
Connector initialised flag. More... | |
BOOL | bool_Initialization_Error = (BOOL)false |
Connector initialisation error flag. More... | |
BOOL | bool_Connected = (BOOL)false |
Connector connected to signal source flag. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TBlock_Connector | |
TConOpSys_Variant_Data_Type | Resolve_Variant_Type (TBlock_Connector_Type enum_Connector_Type) |
Resolve correcponding variant data type. More... | |
TConOpSys_Variant_Data_Type | Resolve_Pointer_Type (TBlock_Connector_Type enum_Connector_Type) |
Resolve correcpondung variant pointer data type. More... | |
Functional block parameter class.
TBlock_Parameter_Connector::TBlock_Parameter_Connector | ( | ) |
Class constructor method.
__fastcall TBlock_Parameter_Connector::~TBlock_Parameter_Connector | ( | ) |
Class destructor method.
__fastcall TBlock_Parameter_Connector::~TBlock_Parameter_Connector | ( | ) |
Class destructor method.
References bool_Connected, bool_Initialization_Error, enum_BOOL, TConOpSys_Variant::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pbool_Value, and TConOpSys_Variant::struct_Data.
References bool_Connected, bool_Initialization_Error, enum_F32, TConOpSys_Variant::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pf32_Value, and TConOpSys_Variant::struct_Data.
BOOL TBlock_Parameter_Connector::Connect | ( | TBlock_Output_Connector * | object_Output_Connector | ) |
References bool_Connected, and bool_Initialization_Error.
BOOL TBlock_Parameter_Connector::Is_Connected | ( | ) |
References bool_Connected.
Connect to the BOOL variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_BOOL, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pbool_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate BOOL value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, TConOpSys_Variant_Data::bool_Value, enum_BOOL, TBlock_Connector::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pbool_Value, and TConOpSys_Variant::struct_Data.
Connect to the F32 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_F32, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pf32_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate F32 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_F32, TConOpSys_Variant_Data::f32_Value, TBlock_Connector::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pf32_Value, and TConOpSys_Variant::struct_Data.
Connect to the F64 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_F64, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pf64_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate F64 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_F64, TConOpSys_Variant_Data::f64_Value, TBlock_Connector::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pf64_Value, and TConOpSys_Variant::struct_Data.
Connect to the I16 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_I16, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pi16_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate I16 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_I16, TBlock_Connector::Get_Type(), TConOpSys_Variant_Data::i16_Value, object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pi16_Value, and TConOpSys_Variant::struct_Data.
Connect to the I32 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_I32, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pi32_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate I32 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_I32, TBlock_Connector::Get_Type(), TConOpSys_Variant_Data::i32_Value, object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pi32_Value, and TConOpSys_Variant::struct_Data.
Connect to the I8 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_I8, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pi8_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate I8 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_I8, TBlock_Connector::Get_Type(), TConOpSys_Variant_Data::i8_Value, object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pi8_Value, and TConOpSys_Variant::struct_Data.
VOID TBlock_Parameter_Connector::operator= | ( | TBlock_Output_Connector & | object_Connector | ) |
Connect to the output connector.
Operator =.
References bool_Connected, bool_Initialization_Error, bool_Initialized, TConOpSys_Variant_Data::bool_Value, enum_BOOL, enum_F32, enum_F64, enum_F80, enum_I16, enum_I32, enum_I64, enum_I8, enum_U16, enum_U32, enum_U64, enum_U8, TConOpSys_Variant_Data::f32_Value, TConOpSys_Variant_Data::f64_Value, TConOpSys_Variant_Data::f80_Value, TBlock_Connector::Get_Type(), TConOpSys_Variant_Data::i16_Value, TConOpSys_Variant_Data::i32_Value, TConOpSys_Variant_Data::i64_Value, TConOpSys_Variant_Data::i8_Value, object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pbool_Value, TConOpSys_Variant_Data::pf32_Value, TConOpSys_Variant_Data::pf64_Value, TConOpSys_Variant_Data::pf80_Value, TConOpSys_Variant_Data::pi16_Value, TConOpSys_Variant_Data::pi32_Value, TConOpSys_Variant_Data::pi64_Value, TConOpSys_Variant_Data::pi8_Value, TConOpSys_Variant_Data::pu16_Value, TConOpSys_Variant_Data::pu32_Value, TConOpSys_Variant_Data::pu64_Value, TConOpSys_Variant_Data::pu8_Value, TConOpSys_Variant::struct_Data, TConOpSys_Variant_Data::u16_Value, TConOpSys_Variant_Data::u32_Value, TConOpSys_Variant_Data::u64_Value, and TConOpSys_Variant_Data::u8_Value.
VOID TBlock_Parameter_Connector::operator= | ( | TParameter_Base & | object_Parameter | ) |
Connect to the parameter.
References bool_Connected, bool_Initialization_Error, bool_Initialized, TConOpSys_Variant_Data::bool_Value, enum_BOOL, enum_F32, enum_F64, enum_F80, enum_I16, enum_I32, enum_I8, enum_U16, enum_U32, enum_U8, TConOpSys_Variant_Data::f32_Value, TConOpSys_Variant_Data::f64_Value, TConOpSys_Variant_Data::f80_Value, TBlock_Connector::Get_Type(), TConOpSys_Variant_Data::i16_Value, TConOpSys_Variant_Data::i32_Value, TConOpSys_Variant_Data::i8_Value, object_Pointer, TConOpSys_Variant_Data::pbool_Value, TConOpSys_Variant_Data::pf32_Value, TConOpSys_Variant_Data::pf64_Value, TConOpSys_Variant_Data::pf80_Value, TConOpSys_Variant_Data::pi16_Value, TConOpSys_Variant_Data::pi32_Value, TConOpSys_Variant_Data::pi8_Value, TConOpSys_Variant_Data::pu16_Value, TConOpSys_Variant_Data::pu32_Value, TConOpSys_Variant_Data::pu8_Value, TConOpSys_Variant::struct_Data, TParameter_Base::struct_Value, TConOpSys_Variant_Data::u16_Value, TConOpSys_Variant_Data::u32_Value, and TConOpSys_Variant_Data::u8_Value.
Connect to the U16 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_U16, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pu16_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate U16 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_U16, TBlock_Connector::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pu16_Value, TConOpSys_Variant::struct_Data, and TConOpSys_Variant_Data::u16_Value.
Connect to the U32 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_U32, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pu32_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate U32 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_U32, TBlock_Connector::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pu32_Value, TConOpSys_Variant::struct_Data, and TConOpSys_Variant_Data::u32_Value.
Connect to the U8 variable.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_U8, TBlock_Connector::Get_Type(), object_Pointer, TConOpSys_Variant_Data::pu8_Value, and TConOpSys_Variant::struct_Data.
Connect to the immediate U8 value.
References bool_Connected, bool_Initialization_Error, bool_Initialized, enum_U8, TBlock_Connector::Get_Type(), object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pu8_Value, TConOpSys_Variant::struct_Data, and TConOpSys_Variant_Data::u8_Value.
VOID TBlock_Parameter_Connector::Set_Type | ( | TBlock_Connector_Type | enum_Connector_Type | ) |
References object_Pointer, TBlock_Connector::Resolve_Variant_Type(), TBlock_Connector::Set_Type(), and TConOpSys_Variant::Set_Type().
Connector connected to signal source flag.
Referenced by Connect(), Is_Connected(), and operator=().
Connector initialisation error flag.
Referenced by Connect(), and operator=().
Connector initialised flag.
Referenced by operator=().
TConOpSys_Variant TBlock_Parameter_Connector::object_Pointer |
Pointer to the input signal external data storage.
Referenced by Connect(), operator=(), and Set_Type().