const std::string& getName() const;
+ /// return the federate this interaction class belongs to
+ const SGWeakPtr<HLAFederate>& getFederate() const;
+
HLASubscriptionType getSubscriptionType() const;
void setSubscriptionType(HLASubscriptionType subscriptionType);
const HLADataType* getParameterDataType(unsigned index) const;
void setParameterDataType(unsigned index, const SGSharedPtr<const HLADataType>& dataType);
- HLADataElement::IndexPathPair getIndexPathPair(const HLADataElement::StringPathPair& stringPathPair) const;
- HLADataElement::IndexPathPair getIndexPathPair(const std::string& path) const;
+ /// Get the attribute data element index for the given path, return true if successful
+ bool getDataElementIndex(HLADataElementIndex& dataElementIndex, const std::string& path) const;
+ HLADataElementIndex getDataElementIndex(const std::string& path) const;
virtual bool subscribe();
virtual bool unsubscribe();