Go to the documentation of this file.
63 const std::string& fu,
const std::string& port,
unsigned int encoding,
65 :
PortCode(fu, encoding, extraBits, 0), port_(port), opName_(
"") {
91 const std::string& fu,
const std::string& port,
92 const std::string& operation,
unsigned int encoding,
unsigned int extraBits,
94 :
PortCode(fu, encoding, extraBits, 0), port_(port), opName_(operation) {
115 :
PortCode(state), port_(
""), opName_(
"") {
116 const string procName =
"FUPortCode::FUPortCode";
162 const string procName =
"FUPortCode::operationName";
bool hasAttribute(const std::string &name) const
std::string operationName() const
std::string stringAttribute(const std::string &name) const
FUPortCode(const std::string &fu, const std::string &port, unsigned int encoding, unsigned int extraBits, SocketCodeTable &parent)
static const std::string OSNAME_FU_PORT_CODE
ObjectState name for FU port code.
void setName(const std::string &name)
static const std::string OSKEY_OPERATION_NAME
ObjectState attribute key for the name of the operation.
std::string port_
Name of the port.
virtual ObjectState * saveState() const
void setParent(SocketCodeTable *parent)
std::string opName_
Name of the operation.
void addFUPortCode(FUPortCode &code)
bool hasOperation() const
SocketCodeTable * parent() const
static const std::string OSKEY_PORT_NAME
ObjectState attribute key for the name of the port.
virtual ObjectState * saveState() const
void setAttribute(const std::string &name, const std::string &value)
std::string portName() const
void removeFUPortCode(FUPortCode &code)