add api usage examples for cpp and python binding
This commit is contained in:
committed by
Eberhard Graether
parent
4517be935c
commit
1c07e5b4dc
@@ -0,0 +1,24 @@
|
||||
|
||||
/*
|
||||
* MyType
|
||||
*
|
||||
* This is a multiline comment
|
||||
*/
|
||||
|
||||
namespace api
|
||||
{
|
||||
|
||||
class MyType
|
||||
: public BaseType
|
||||
{
|
||||
public:
|
||||
void my_method(bool do_send_signal) const
|
||||
{
|
||||
if (do_send_signal)
|
||||
{
|
||||
Client::send_signal();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user