DUECA/DUSIME
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dueca::MemberCall< C, T > Class Template Reference

Template specialisation of the GenericVarIO. More...

#include <MemberCall.hxx>

Inheritance diagram for dueca::MemberCall< C, T >:
Inheritance graph
[legend]
Collaboration diagram for dueca::MemberCall< C, T >:
Collaboration graph
[legend]

Public Member Functions

 MemberCall (bool(C ::*c)(const T &))
 Constructor.
 
bool poke (void *obj, const T &v) const
 Call the member function with data.
 
bool peek (void *obj, T &v) const
 Something that is not possible, and returns false.
 
- Public Member Functions inherited from dueca::GenericVarIO
 GenericVarIO ()
 constructor
 
virtual ~GenericVarIO ()
 destructor
 
ProbeType getType () const
 returns the argument type required
 
 DECLARE_IN_GENERICVAR_IO (int)
 Use handy macro to declare stuff for int.
 
 DECLARE_IN_GENERICVAR_IO (uint32_t)
 Use handy macro to declare stuff for int.
 
 DECLARE_IN_GENERICVAR_IO (uint16_t)
 Use handy macro to declare stuff for int.
 
 DECLARE_IN_GENERICVAR_IO (double)
 Use handy macro to declare stuff for double.
 
 DECLARE_IN_GENERICVAR_IO (float)
 Use handy macro to declare stuff for float.
 
 DECLARE_IN_GENERICVAR_IO (bool)
 Use handy macro to declare stuff for bool.
 
 DECLARE_IN_GENERICVAR_IO (TimeSpec)
 Use handy macro to declare stuff for TimeSpec.
 
 DECLARE_IN_GENERICVAR_IO (PeriodicTimeSpec)
 Use handy macro to declare stuff for PeriodicTimeSpec.
 
 DECLARE_IN_GENERICVAR_IO (PrioritySpec)
 Use handy macro to declare stuff for PrioritySpec.
 
 DECLARE_IN_GENERICVAR_IO (vstring)
 Use handy macro to declare stuff for vstring.
 
 DECLARE_IN_GENERICVAR_IO (SCM)
 Use handy macro to declare stuff for SCM.
 
 DECLARE_IN_GENERICVAR_IO (vector_int)
 Use handy macro to declare stuff for vector<int>
 
 DECLARE_IN_GENERICVAR_IO (vector_float)
 Use handy macro to declare stuff for vector<float>
 
 DECLARE_IN_GENERICVAR_IO (vector_double)
 Use handy macro to declare stuff for vector<double>
 
 DECLARE_IN_GENERICVAR_IO (vector_vstring)
 Use handy macro to declare stuff for vector<vstring>
 
 DECLARE_IN_GENERICVAR_IO (ScriptCreatable)
 Objects creatable from scripts.
 
 DECLARE_IN_GENERICVAR_IO (string8)
 Dstring8.
 
 DECLARE_IN_GENERICVAR_IO (string16)
 Dstring.
 
 DECLARE_IN_GENERICVAR_IO (string32)
 Dstring.
 
 DECLARE_IN_GENERICVAR_IO (string64)
 Dstring.
 
 DECLARE_IN_GENERICVAR_IO (string128)
 Dstring.
 

Additional Inherited Members

- Protected Attributes inherited from dueca::GenericVarIO
ProbeType ptype
 type of argument passed/inserted/read
 

Detailed Description

template<class C, class T>
class dueca::MemberCall< C, T >

Template specialisation of the GenericVarIO.

The MemberCall takes a pointer to a member function of simple shape, and with that information and a pointer to an object in that class it can call the member function.

Member Function Documentation

◆ peek()

template<class C , class T >
bool dueca::MemberCall< C, T >::peek ( void * obj,
T & v ) const

Something that is not possible, and returns false.

It is implemented to adhere to the GenericVarIO interface.


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