INFM HIL Interface
Interface between Artery simulation and DuTs
|
Functions | |
template<class Archive > | |
void | serialize (Archive &ar, sim_interface::dut_connector::ConnectorConfig &config, const unsigned int version) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const sim_interface::dut_connector::ConnectorConfig *config, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, sim_interface::dut_connector::ConnectorConfig *instance, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, sim_interface::dut_connector::rest_dummy::RESTConnectorConfig &config, const unsigned int version) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const sim_interface::dut_connector::rest_dummy::RESTConnectorConfig *config, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, sim_interface::dut_connector::rest_dummy::RESTConnectorConfig *instance, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, sim_interface::dut_connector::v2x::V2XConnectorConfig &config, const unsigned int version) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const sim_interface::dut_connector::v2x::V2XConnectorConfig *config, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, sim_interface::dut_connector::v2x::V2XConnectorConfig *instance, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, sim_interface::dut_connector::can::CANConnectorConfig &config, const unsigned int version) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const sim_interface::dut_connector::can::CANConnectorConfig *config, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, sim_interface::dut_connector::can::CANConnectorConfig *instance, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, std::map< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > &config, unsigned) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const std::map< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > *config, unsigned) |
template<class Archive > | |
void | load_construct_data (Archive &ar, std::map< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > *config, unsigned) |
template<class Archive > | |
void | serialize (Archive &ar, std::pair< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > &p, unsigned) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const std::pair< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > *pair, const unsigned int file_version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, std::pair< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > *pair, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, sim_interface::dut_connector::can::CANConnectorSendOperation &config, unsigned) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const sim_interface::dut_connector::can::CANConnectorSendOperation *instance, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, bcm_timeval &config, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, sim_interface::dut_connector::can::CANConnectorSendOperation *instance, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, sim_interface::dut_connector::can::CANConnectorReceiveOperation &config, const unsigned int version) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const sim_interface::dut_connector::can::CANConnectorReceiveOperation *config, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, sim_interface::dut_connector::can::CANConnectorReceiveOperation *instance, const unsigned int file_version) |
template<class Archive > | |
void | serialize (Archive &ar, std::map< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > &config, unsigned) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const std::map< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > *config, unsigned) |
template<class Archive > | |
void | load_construct_data (Archive &ar, std::map< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > *config, unsigned) |
template<class Archive > | |
void | serialize (Archive &ar, std::pair< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > &p, unsigned) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const std::pair< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > *pair, const unsigned int file_version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, std::pair< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > *pair, const unsigned int file_version) |
namespace boost::serialization: overwrite the boost:serialization methods
ConfigSerializerCanConnector: These methods are for de-/ serializing the CANConnectorConfig namespace boost::serialization: overwrite the boost:serialization methods
|
inline |
method: load_construct_data --> deserialize CANConnectorConfig
ar | address of an archive to deserialize |
instance | pointer of a CANConnectorConfig object to deserialize |
file_version | constant unsigned int --> unused |
_interfaceName,_codecName,_operations,*_frameToOperationPointer,*_operationToFramePointer,_periodicOperations,_periodicTimerEnabled | create helping attributes for deserializing deserialize now the helping attributes of the CANConnectorConfig object overwrite the current object from class with the helping variables |
|
inline |
method: load_construct_data --> deserialize CANConnectorReceiveOperation
ar | address of an archive to deserialize |
instance | pointer of a CANConnectorReceiveOperation object to deserialize |
file_version | constant unsigned int --> unused |
_operation,_isCANFD,_hasMask,_maskLength,_mask | create helping attributes for serializing deserialize now the helping attributes of the CANConnectorReceiveOperation object overwrite the current object from class with the helping variables |
|
inline |
method: load_construct_data --> deserialize CANConnectorSendOperation
ar | address of an archive to deserialize |
instance | pointer of a CANConnectorSendOperation object to deserialize |
file_version | constant unsigned int --> unused |
_canID,_isCANFD,_isCyclic,_announce,_countIval1,_ival1,_ival2 | create helping attributes for deserializing deserialize now the helping attributes of the CANConnectorSendOperation object |
if the attribute _canID is an hex-value
ss | stringstream for handling hex-values convert the string into hex value and put it into the stringstream put stringstream into _canID else |
ss | stringstream to put it into _canID write the string into the stringstream put stringstream into _canID |
overwrite the current object from class with the helping variables
|
inline |
method: load_construct_data --> deserialize ConnectorConfig
ar | address of an archive to deserialize |
instance | pointer of a ConnectorConfig object to deserialized |
file_version | constant unsigned int --> unused |
_operations,_periodicOperations,_periodicTimerEnabled | create helping attributes for deserializing deserialize now the helping attributes of the ConnectorConfig object overwrite the current object from class with the helping variables |
|
inline |
method: load_construct_data --> deserialize RESTConnectorConfig
ar | address of an archive to deserialize |
instance | pointer of a RESTConnectorConfig object to sdeerialize |
file_version | constant unsigned int --> unused |
_baseUrlDuT,_baseCallbackUrl,_port,_operations,_periodicOperations,_periodicTimerEnabled | create helping attributes for deserializing deserialize now the helping attributes of the RESTConnectorConfig object overwrite the current object from class with the helping variables |
|
inline |
method: load_construct_data --> deserialize V2XConnectorConfig
ar | address of an archive to deserialize |
instance | pointer of a V2XConnectorConfig object to deserialize |
file_version | constant unsigned int --> unused |
_ifname,_ethernetFrameType | create helping attributes for serializing and creating a new xml-file for checking deserialize now the helping attributes of the V2XConnectorConfig object |
_helper | String for handling hex-values |
if the attribute ethernetFrameType is an hex-value
ss | Stringstream for handling hex-values convert the string into hex value and put it into the stringstream put stringstream into _ethernetFrameType else |
ss | Stringstream to put it into _ethernetFrameType write the string into the stringstream put stringstream into _ethernetFrameType |
overwrite the current object from class with the helping variables
void boost::serialization::load_construct_data | ( | Archive & | ar, |
std::map< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > * | config, | ||
unsigned | |||
) |
method: load_construct_data --> deserialize the map with canid_t and CANConnectorReceiveOperation
ar | address of an archive to deserialize |
config | pointer of the map with canid_t and CANConnectorReceiveOperation to deserialize |
unsigned | unsigned int --> unused |
_pair,_count,_map | create helping attributes for deserializing deserialize count for loop: deserialize every element in the pair insert the pair into helping map |
overwrite the current map from class with the helping variables
void boost::serialization::load_construct_data | ( | Archive & | ar, |
std::map< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > * | config, | ||
unsigned | |||
) |
method: load_construct_data --> deserialize the map with string and CANConnectorSendOperation
ar | address of an archive to deserialize |
config | address of the map with string and CANConnectorSendOperation to deserialize |
unsigned | unsigned int --> unused |
_pair,_count,_map | create helping attributes for deserializing deserialize count for loop: deserialize every element in the pair insert the pair into helping map |
overwrite the current map with the helping variables
|
inline |
method: load_construct_data --> deserialize the pair with canid_t and CANConnectorReceiveOperation
ar | address of an archive to deserialize |
pair | address of the pair with canid_t and CANConnectorReceiveOperation to deserialize |
file_version | unsigned int --> unused |
_key,*_value | create helping attributes for deserializing deserialize _key:canid deserialize _value:CANConnectorReceiveOperation |
if the attribute canid is an hex-value
ss | Stringstream for handling hex-values convert the string into hex value and put it into the stringstream put stringstream into canid else |
ss | Stringstream to put it into canid write the string into the stringstream put stringstream into canid overwrite the pair with the helping variables |
|
inline |
method: load_construct_data --> deserialize the map with string and CANConnectorSendOperation
ar | address of an archive to deserialize |
pair | address of the pair with string and CANConnectorSendOperation to deserialize |
file_version | unsigned int --> unused |
_key,*_value | create helping attributes for serializing and creating a new xml-file for checking deserialize _key:operation deserialize _value:CANConnectorSendOperation overwrite the current pair with the helping variables |
|
inline |
method: save_construct_data --> serialize CANConnectorConfig
ar | address of an archive to serialize |
config | pointer of a CANConnectorConfig object to serialize |
version | constant unsigned int --> unused serialize now the attributes of the CANConnectorConfig object: |
interfaceName,codecName,operations,*frameToOperationPointer,*operationToFramePointer,periodicOperations,periodicTimerEnabled | find tag in the serialized xml and get the same attribute via pointer |
|
inline |
method: save_construct_data --> serialize CANConnectorReceiveOperation
ar | address of an archive to deserialize |
instance | pointer of a CANConnectorReceiveOperation object to serialize |
version | constant unsigned int --> unused serialize now the attributes of the CANConnectorReceiveOperation object: |
operation,isCANFD,hasMask,maskLength,mask | find tag in the serialized xml and get the same attribute via pointer |
|
inline |
method: save_construct_data --> serialize CANConnectorSendOperation
ar | address of an archive to serialize |
instance | pointer of a CANConnectorSendOperation object to serialize |
version | constant unsigned int --> unused |
serialize now the attributes of the CANConnectorSendOperation object:
canID,isCANFD,isCyclic,announce,countIval1,ival1,ival2 | find tag in the serialized xml and get the same attribute via pointer |
|
inline |
method: save_construct_data --> serialize ConnectorConfig
ar | address of an archive to serialize |
config | pointer of a ConnectorConfig object to serialized |
version | constant unsigned int --> unused |
serialize now the attributes of the ConnectorConfig object:
operations,periodicOperations,periodicTimerEnabled | find tag in the serialized xml and get the same attribute via pointer |
|
inline |
method: save_construct_data --> serialize RESTConnectorConfig
ar | address of an archive to serialize |
config | pointer of a RESTConnectorConfig object to serialize |
version | constant unsigned int --> unused |
serialize now the attributes of the RESTConnectorConfig object:
baseUrlDuT,baseCallbackUrl,port,operations,periodicOperations,periodicTimerEnabled | find tag in the serialized xml and get the same attribute via pointer |
|
inline |
method: save_construct_data --> serialize V2XConnectorConfig
ar | address of an archive to serialize |
config | pointer of a V2XConnectorConfig object to serialize |
version | constant unsigned int --> unused |
serialize now the attributes of the V2XConnectorConfig object:
ifname,ethernetFrameType | find tag in the serialized xml and get the same attribute via pointer |
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const std::map< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > * | config, | ||
unsigned | |||
) |
method: save_construct_data --> serialize the map with canid_t and CANConnectorReceiveOperation
ar | address of an archive to serialize |
config | pointer of the map with canid_t and CANConnectorReceiveOperation to serialize |
unsigned | --> unused |
count | contains the length of the config pointer(size of the map) serialize count for each loop: run through each address in the config pointer (map) |
pointer | const auto *pointer = make a pointer to a pair with the map and cast it serialize every element in the map |
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const std::map< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > * | config, | ||
unsigned | |||
) |
Archive | Templates for any class, so that the following methods can be used by them method: save_construct_data --> serialize the map with string and CANConnectorSendOperation |
ar | address of an archive to serialize |
config | address of the map with string and CANConnectorSendOperation to serialize |
unsigned | --> unused |
count | contains the length of the config pointer(size of the map) serialize count |
for each loop: run through each address in the config pointer (map)
pointer | const auto *pointer = make a pointer to a pair with the map and cast it serialize every element in the map |
|
inline |
method: save_construct_data --> serialize the pair with canid_t and CANConnectorReceiveOperation
ar | address of an archive to serialize |
pair | address of the pair with canid_t and CANConnectorSendOperation to serialize |
file_version | --> unused |
pointer | *pointer form type CANConnectorReceiveOperation and save CANConnectorReceiveOperation via *pair |
serialize operation and CANConnectorSendOperation
|
inline |
method: save_construct_data --> serialize the pair with string and CANConnectorSendOperation
ar | address of an archive to serialize |
pair | address of the pair with string and CANConnectorSendOperation to serialize |
file_version | --> unused |
pointer | *pointer form type CANConnectorSendOperation and save the second values of CANConnectorSendOperation via pair serialize operation and CANConnectorSendOperation |
void boost::serialization::serialize | ( | Archive & | ar, |
bcm_timeval & | config, | ||
const unsigned int | version | ||
) |
method: serialize
ar | address of an archive |
config | address of bcm_timeval for seconds and microseconds |
version | const unsigned int --> unused serialize now the seconds and microseconds of bcm_timeval |
void boost::serialization::serialize | ( | Archive & | ar, |
sim_interface::dut_connector::can::CANConnectorConfig & | config, | ||
const unsigned int | version | ||
) |
Implementation the boost serialization for CANConnectorConfig
Archive | Templates for any class, so that the following methods can be used by them |
method: serialize
ar | address of an archive |
config | address of a CANConnectorConfig object |
version | constant unsigned int --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
sim_interface::dut_connector::can::CANConnectorReceiveOperation & | config, | ||
const unsigned int | version | ||
) |
Implementation the boost serialization for CANConnectorReceiveOperation
Archive | Templates for any class, so that the following methods can be used by them method: serialize |
ar | address of an archive |
config | address of a CANConnectorReceiveOperation object |
version | const unsigned int--> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
sim_interface::dut_connector::can::CANConnectorSendOperation & | config, | ||
unsigned | |||
) |
Implementation the boost serialization for CANConnectorSendOperation
Archive | Templates for any class, so that the following methods can be used by them |
method: serialize
ar | address of an archive |
config | address of a CANConnectorSendOperation object |
unsigned | unsigned --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
sim_interface::dut_connector::ConnectorConfig & | config, | ||
const unsigned int | version | ||
) |
Implementation the boost serialization for ConnectorConfig
Archive | Templates for any class, so that the following methods can be used by them method: serialize |
ar | address of an archive |
config | address of a ConnectorConfig object |
version | constant unsigned int --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
sim_interface::dut_connector::rest_dummy::RESTConnectorConfig & | config, | ||
const unsigned int | version | ||
) |
Implementation the boost serialization for RESTConnectorConfig
Archive | Templates for any class, so that the following methods can be used by them method: serialize |
ar | address of an archive |
config | address of a RESTConnectorConfig object |
version | constant unsigned int --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
sim_interface::dut_connector::v2x::V2XConnectorConfig & | config, | ||
const unsigned int | version | ||
) |
Implementation the boost serialization for V2XConnectorConfig
Archive | Templates for any class, so that the following methods can be used by them method: serialize |
ar | address of an archive |
config | address of a V2XConnectorConfig object |
version | constant unsigned int --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
std::map< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > & | config, | ||
unsigned | |||
) |
Implementation the boost serialization for the map with canid_t and CANConnectorReceiveOperation
Archive | Templates for any class, so that the following methods can be used by them |
method: serialize
ar | address of an archive |
config | address of the map with canid_t and CANConnectorReceiveOperation |
unsigned | --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
std::map< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > & | config, | ||
unsigned | |||
) |
Implementation the boost serialization for the map with string and CANConnectorSendOperation
Archive | Templates for any class, so that the following methods can be used by them method: serialize |
ar | address of an archive |
p | address of the pair with string and CANConnectorSendOperation |
unsigned | --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
std::pair< canid_t, sim_interface::dut_connector::can::CANConnectorReceiveOperation > & | p, | ||
unsigned | |||
) |
Archive | Templates for any class, so that the following methods can be used by them |
Implementation the boost serialization for the pair with canid_t and CANConnectorReceiveOperation
method: serialize
ar | address of an archive |
p | address of the pair with canid_t and CANConnectorReceiveOperation |
unsigned | --> unused --> method is empty |
void boost::serialization::serialize | ( | Archive & | ar, |
std::pair< std::string, sim_interface::dut_connector::can::CANConnectorSendOperation > & | p, | ||
unsigned | |||
) |
Implementation the boost serialization for the map with string and CANConnectorSendOperation
Archive | Templates for any class, so that the following methods can be used by them method: serialize |
ar | address of an archive |
p | address of the pair with string and CANConnectorSendOperation |
unsigned | --> unused --> method is empty |