Monado OpenXR Runtime
Loading...
Searching...
No Matches
ipcproto.common.HandleType Class Reference

Public Member Functions

 __init__ (self, config_dict)
 
 __str__ (self)
 
 arg_name (self)
 
 count_arg_name (self)
 
 count_arg_type (self)
 
 arg_names (self)
 
 arg_decls (self)
 
 const_arg_decls (self)
 
 handler_arg_names (self)
 
 handler_arg_decls (self)
 

Data Fields

 typename
 
 stem
 
 argstem
 
 arg_name
 
 count_arg_name
 
 arg_names
 
 arg_decls
 
 handler_arg_names
 

Static Public Attributes

 HANDLE_RE = re.compile(r"xrt_([a-z_]+)_handle_t")
 

Detailed Description

A native handle type requiring special treatment.

Constructor & Destructor Documentation

◆ __init__()

ipcproto.common.HandleType.__init__ (   self,
  config_dict 
)
Construct from dict, originating in JSON.

References ipcproto.common.HandleType.argstem, ipcproto.common.HandleType.HANDLE_RE, ipcproto.common.HandleType.stem, ipcproto.common.Arg.typename, and ipcproto.common.HandleType.typename.

Member Function Documentation

◆ __str__()

ipcproto.common.HandleType.__str__ (   self)
Convert to string by returning the type name.

References ipcproto.common.Arg.typename, and ipcproto.common.HandleType.typename.

◆ arg_decls()

ipcproto.common.HandleType.arg_decls (   self)
Get the argument declarations for the client proxy.

References ipcproto.common.HandleType.arg_names(), ipcproto.common.HandleType.arg_names, ipcproto.common.HandleType.count_arg_type(), ipcproto.common.Arg.typename, and ipcproto.common.HandleType.typename.

Referenced by ipcproto.common.HandleType.const_arg_decls().

◆ arg_name()

ipcproto.common.HandleType.arg_name (   self)
Get the argument name.

References ipcproto.common.HandleType.argstem.

Referenced by ipcproto.common.HandleType.arg_names(), and ipcproto.common.HandleType.handler_arg_names().

◆ arg_names()

ipcproto.common.HandleType.arg_names (   self)
Get the argument names for the client proxy.

References ipcproto.common.HandleType.arg_name(), ipcproto.common.HandleType.arg_name, ipcproto.common.HandleType.count_arg_name(), and ipcproto.common.HandleType.count_arg_name.

Referenced by ipcproto.common.HandleType.arg_decls().

◆ const_arg_decls()

ipcproto.common.HandleType.const_arg_decls (   self)
Get the const argument declarations for the client proxy.

References ipcproto.common.HandleType.arg_decls(), and ipcproto.common.HandleType.arg_decls.

◆ count_arg_name()

ipcproto.common.HandleType.count_arg_name (   self)
Get the name of the count argument.

References ipcproto.common.HandleType.argstem.

Referenced by ipcproto.common.HandleType.arg_names(), and ipcproto.common.HandleType.handler_arg_names().

◆ count_arg_type()

ipcproto.common.HandleType.count_arg_type (   self)
Get the type of the count argument.

Referenced by ipcproto.common.HandleType.arg_decls(), and ipcproto.common.HandleType.handler_arg_decls().

◆ handler_arg_decls()

ipcproto.common.HandleType.handler_arg_decls (   self)
Get the argument declarations for the server handler.

References ipcproto.common.HandleType.count_arg_type(), ipcproto.common.HandleType.handler_arg_names(), ipcproto.common.HandleType.handler_arg_names, ipcproto.common.Arg.typename, and ipcproto.common.HandleType.typename.

◆ handler_arg_names()

ipcproto.common.HandleType.handler_arg_names (   self)
Get the argument names for the server handler.

References ipcproto.common.HandleType.arg_name(), ipcproto.common.HandleType.arg_name, ipcproto.common.HandleType.count_arg_name(), and ipcproto.common.HandleType.count_arg_name.

Referenced by ipcproto.common.HandleType.handler_arg_decls().


The documentation for this class was generated from the following file: