39 #ifndef _PLT_ACTION_H_
40 #define _PLT_ACTION_H_
77 return m_ArgumentDescs;
84 const NPT_String&
GetName()
const {
return m_Name;}
97 NPT_Result
GetSCPDXML(NPT_XmlElementNode* node);
108 NPT_Array<PLT_ArgumentDesc*> m_ArgumentDescs;
219 NPT_Result
SetError(
unsigned int code,
const char* description);
226 const char*
GetError(
unsigned int* code = NULL);
254 NPT_OutputStream& stream);
264 PLT_Arguments m_Arguments;
265 unsigned int m_ErrorCode;
266 NPT_String m_ErrorDescription;
270 PLT_DeviceDataReference m_RootDevice;
273 typedef NPT_Reference<PLT_Action> PLT_ActionReference;
289 NPT_Result operator()(T*
const & data)
const {
290 return data->GetSCPDXML(m_Node);
294 NPT_XmlElementNode* m_Node;
312 bool operator()(
const PLT_ActionDesc*
const & action_desc)
const {
313 return action_desc->
GetName().Compare(m_Name,
true) ?
false :
true;