mcx::ecat::Domain
2 minute read
mcx::ecat::Domain
Inherits from mcx::ecat::DomainBase
Public Functions
Name | |
---|---|
Domain(const std::string & name, const std::string & path, const std::string & filename) | |
Domain(const std::string & path, const std::string & filename) | |
Domain(const std::string & path, tinyxml2::XMLElement * domain_xml, std::string version) | |
Domain(const std::string & path, tinyxml2::XMLElement * domain_xml, std::string version, cmd_line::SystemMode mode) | |
virtual | ~Domain() |
const char * | getName() const |
const char * | getPath() const |
const char * | fileName() const |
const char * | getFullPath() const |
bool | load() |
bool | hasError() const |
double | getDtSec() const |
void | setDtSec(double sec) |
bool | simulationEnabled() const |
bool | addParameters(parameter_server::Parameter * local_branch, utils::SystemMode system_mode) |
bool | linkParameters(parameter_server::Parameter * root, utils::SystemMode system_mode) |
void | readSdo() |
std::tuple< parameter_server::DataType, size_t, size_t > | toParamDataType(DataTypeDesc data_type_desc) |
Public Attributes
Name | |
---|---|
std::string | version |
tinyxml2::XMLElement * | element |
bool | read |
bool | write |
bool | recover |
double | error_counter |
double | no_error_counter |
double | dt_sec |
double | error_timeout |
double | no_error_timeout |
Public Functions Documentation
function Domain
Domain(
const std::string & name,
const std::string & path,
const std::string & filename
)
function Domain
Domain(
const std::string & path,
const std::string & filename
)
function Domain
Domain(
const std::string & path,
tinyxml2::XMLElement * domain_xml,
std::string version
)
function Domain
Domain(
const std::string & path,
tinyxml2::XMLElement * domain_xml,
std::string version,
cmd_line::SystemMode mode
)
function ~Domain
virtual ~Domain()
function getName
const char * getName() const
function getPath
const char * getPath() const
function fileName
const char * fileName() const
function getFullPath
const char * getFullPath() const
function load
bool load()
function hasError
bool hasError() const
function getDtSec
double getDtSec() const
function setDtSec
void setDtSec(
double sec
)
function simulationEnabled
inline bool simulationEnabled() const
function addParameters
bool addParameters(
parameter_server::Parameter * local_branch,
utils::SystemMode system_mode
)
function linkParameters
bool linkParameters(
parameter_server::Parameter * root,
utils::SystemMode system_mode
)
function readSdo
void readSdo()
function toParamDataType
static std::tuple< parameter_server::DataType, size_t, size_t > toParamDataType(
DataTypeDesc data_type_desc
)
Public Attributes Documentation
variable version
std::string version;
variable element
tinyxml2::XMLElement * element {};
variable read
bool read;
variable write
bool write;
variable recover
bool recover;
variable error_counter
double error_counter;
variable no_error_counter
double no_error_counter;
variable dt_sec
double dt_sec;
variable error_timeout
double error_timeout;
variable no_error_timeout
double no_error_timeout;
Updated on 2022-04-05 at 16:21:27 +0200